gem5  v20.1.0.0
Classes | Functions
cp Namespace Reference

Classes

struct  Format
 
struct  Print
 

Functions

template<typename T >
void _format_char (std::ostream &out, const T &data, Format &fmt)
 
template<typename T >
void _format_integer (std::ostream &out, const T &data, Format &fmt)
 
template<typename T >
void _format_float (std::ostream &out, const T &data, Format &fmt)
 
template<typename T >
void _format_string (std::ostream &out, const T &data, Format &fmt)
 
template<typename T >
void format_char (std::ostream &out, const T &data, Format &fmt)
 
void format_char (std::ostream &out, char data, Format &fmt)
 
void format_char (std::ostream &out, unsigned char data, Format &fmt)
 
void format_char (std::ostream &out, signed char data, Format &fmt)
 
void format_char (std::ostream &out, short data, Format &fmt)
 
void format_char (std::ostream &out, unsigned short data, Format &fmt)
 
void format_char (std::ostream &out, int data, Format &fmt)
 
void format_char (std::ostream &out, unsigned int data, Format &fmt)
 
void format_char (std::ostream &out, long data, Format &fmt)
 
void format_char (std::ostream &out, unsigned long data, Format &fmt)
 
void format_char (std::ostream &out, long long data, Format &fmt)
 
void format_char (std::ostream &out, unsigned long long data, Format &fmt)
 
template<typename T >
void format_integer (std::ostream &out, const T &data, Format &fmt)
 
void format_integer (std::ostream &out, char data, Format &fmt)
 
void format_integer (std::ostream &out, unsigned char data, Format &fmt)
 
void format_integer (std::ostream &out, signed char data, Format &fmt)
 
void format_integer (std::ostream &out, const unsigned char *data, Format &fmt)
 
void format_integer (std::ostream &out, const signed char *data, Format &fmt)
 
template<typename T >
void format_float (std::ostream &out, const T &data, Format &fmt)
 
void format_float (std::ostream &out, float data, Format &fmt)
 
void format_float (std::ostream &out, double data, Format &fmt)
 
template<typename T >
void format_string (std::ostream &out, const T &data, Format &fmt)
 

Function Documentation

◆ _format_char()

template<typename T >
void cp::_format_char ( std::ostream &  out,
const T &  data,
Format fmt 
)
inline

Definition at line 76 of file cprintf_formats.hh.

References data.

Referenced by format_char().

◆ _format_float()

template<typename T >
void cp::_format_float ( std::ostream &  out,
const T &  data,
Format fmt 
)
inline

◆ _format_integer()

template<typename T >
void cp::_format_integer ( std::ostream &  out,
const T &  data,
Format fmt 
)
inline

◆ _format_string()

template<typename T >
void cp::_format_string ( std::ostream &  out,
const T &  data,
Format fmt 
)
inline

Definition at line 205 of file cprintf_formats.hh.

References data, cp::Format::flush_left, GuestABI::foo(), and cp::Format::width.

Referenced by format_string().

◆ format_char() [1/12]

void cp::format_char ( std::ostream &  out,
char  data,
Format fmt 
)
inline

Definition at line 254 of file cprintf_formats.hh.

References _format_char(), and data.

◆ format_char() [2/12]

template<typename T >
void cp::format_char ( std::ostream &  out,
const T &  data,
Format fmt 
)
inline

Definition at line 250 of file cprintf_formats.hh.

Referenced by cp::Print::add_arg().

◆ format_char() [3/12]

void cp::format_char ( std::ostream &  out,
int  data,
Format fmt 
)
inline

Definition at line 274 of file cprintf_formats.hh.

References _format_char(), and data.

◆ format_char() [4/12]

void cp::format_char ( std::ostream &  out,
long  data,
Format fmt 
)
inline

Definition at line 282 of file cprintf_formats.hh.

References _format_char(), and data.

◆ format_char() [5/12]

void cp::format_char ( std::ostream &  out,
long long  data,
Format fmt 
)
inline

Definition at line 290 of file cprintf_formats.hh.

References _format_char(), and data.

◆ format_char() [6/12]

void cp::format_char ( std::ostream &  out,
short  data,
Format fmt 
)
inline

Definition at line 266 of file cprintf_formats.hh.

References _format_char(), and data.

◆ format_char() [7/12]

void cp::format_char ( std::ostream &  out,
signed char  data,
Format fmt 
)
inline

Definition at line 262 of file cprintf_formats.hh.

References _format_char(), and data.

◆ format_char() [8/12]

void cp::format_char ( std::ostream &  out,
unsigned char  data,
Format fmt 
)
inline

Definition at line 258 of file cprintf_formats.hh.

References _format_char(), and data.

◆ format_char() [9/12]

void cp::format_char ( std::ostream &  out,
unsigned int  data,
Format fmt 
)
inline

Definition at line 278 of file cprintf_formats.hh.

References _format_char(), and data.

◆ format_char() [10/12]

void cp::format_char ( std::ostream &  out,
unsigned long  data,
Format fmt 
)
inline

Definition at line 286 of file cprintf_formats.hh.

References _format_char(), and data.

◆ format_char() [11/12]

void cp::format_char ( std::ostream &  out,
unsigned long long  data,
Format fmt 
)
inline

Definition at line 294 of file cprintf_formats.hh.

References _format_char(), and data.

◆ format_char() [12/12]

void cp::format_char ( std::ostream &  out,
unsigned short  data,
Format fmt 
)
inline

Definition at line 270 of file cprintf_formats.hh.

References _format_char(), and data.

◆ format_float() [1/3]

template<typename T >
void cp::format_float ( std::ostream &  out,
const T &  data,
Format fmt 
)
inline

Definition at line 325 of file cprintf_formats.hh.

Referenced by cp::Print::add_arg().

◆ format_float() [2/3]

void cp::format_float ( std::ostream &  out,
double  data,
Format fmt 
)
inline

Definition at line 333 of file cprintf_formats.hh.

References _format_float(), and data.

◆ format_float() [3/3]

void cp::format_float ( std::ostream &  out,
float  data,
Format fmt 
)
inline

Definition at line 329 of file cprintf_formats.hh.

References _format_float(), and data.

◆ format_integer() [1/6]

void cp::format_integer ( std::ostream &  out,
char  data,
Format fmt 
)
inline

Definition at line 305 of file cprintf_formats.hh.

References _format_integer(), and data.

◆ format_integer() [2/6]

void cp::format_integer ( std::ostream &  out,
const signed char *  data,
Format fmt 
)
inline

Definition at line 317 of file cprintf_formats.hh.

References _format_integer(), and data.

◆ format_integer() [3/6]

template<typename T >
void cp::format_integer ( std::ostream &  out,
const T &  data,
Format fmt 
)
inline

Definition at line 302 of file cprintf_formats.hh.

References _format_integer(), and data.

Referenced by cp::Print::add_arg().

◆ format_integer() [4/6]

void cp::format_integer ( std::ostream &  out,
const unsigned char *  data,
Format fmt 
)
inline

Definition at line 314 of file cprintf_formats.hh.

References _format_integer(), and data.

◆ format_integer() [5/6]

void cp::format_integer ( std::ostream &  out,
signed char  data,
Format fmt 
)
inline

Definition at line 311 of file cprintf_formats.hh.

References _format_integer(), and data.

◆ format_integer() [6/6]

void cp::format_integer ( std::ostream &  out,
unsigned char  data,
Format fmt 
)
inline

Definition at line 308 of file cprintf_formats.hh.

References _format_integer(), and data.

◆ format_string()

template<typename T >
void cp::format_string ( std::ostream &  out,
const T &  data,
Format fmt 
)
inline

Definition at line 341 of file cprintf_formats.hh.

References _format_string(), and data.

Referenced by cp::Print::add_arg().


Generated on Wed Sep 30 2020 14:02:39 for gem5 by doxygen 1.8.17