gem5  v21.0.1.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Functions
cp Namespace Reference

Classes

struct  Format
 
struct  Print
 

Functions

template<typename T >
static void _formatChar (std::ostream &out, const T &data, Format &fmt)
 
template<typename T >
static void _formatInteger (std::ostream &out, const T &data, Format &fmt)
 
template<typename T >
static void _formatFloat (std::ostream &out, const T &data, Format &fmt)
 
template<typename T >
static void _formatString (std::ostream &out, const T &data, Format &fmt)
 
template<typename T >
static void formatChar (std::ostream &out, const T &data, Format &fmt)
 
static void formatChar (std::ostream &out, char data, Format &fmt)
 
static void formatChar (std::ostream &out, unsigned char data, Format &fmt)
 
static void formatChar (std::ostream &out, signed char data, Format &fmt)
 
static void formatChar (std::ostream &out, short data, Format &fmt)
 
static void formatChar (std::ostream &out, unsigned short data, Format &fmt)
 
static void formatChar (std::ostream &out, int data, Format &fmt)
 
static void formatChar (std::ostream &out, unsigned int data, Format &fmt)
 
static void formatChar (std::ostream &out, long data, Format &fmt)
 
static void formatChar (std::ostream &out, unsigned long data, Format &fmt)
 
static void formatChar (std::ostream &out, long long data, Format &fmt)
 
static void formatChar (std::ostream &out, unsigned long long data, Format &fmt)
 
template<typename T >
static void formatInteger (std::ostream &out, const T &data, Format &fmt)
 
static void formatInteger (std::ostream &out, char data, Format &fmt)
 
static void formatInteger (std::ostream &out, unsigned char data, Format &fmt)
 
static void formatInteger (std::ostream &out, signed char data, Format &fmt)
 
static void formatInteger (std::ostream &out, const unsigned char *data, Format &fmt)
 
static void formatInteger (std::ostream &out, const signed char *data, Format &fmt)
 
template<typename T >
static void formatFloat (std::ostream &out, const T &data, Format &fmt)
 
static void formatFloat (std::ostream &out, float data, Format &fmt)
 
static void formatFloat (std::ostream &out, double data, Format &fmt)
 
template<typename T >
static void formatString (std::ostream &out, const T &data, Format &fmt)
 

Function Documentation

◆ _formatChar()

template<typename T >
static void cp::_formatChar ( std::ostream &  out,
const T &  data,
Format fmt 
)
inlinestatic

Definition at line 95 of file cprintf_formats.hh.

References data.

Referenced by formatChar().

◆ _formatFloat()

template<typename T >
static void cp::_formatFloat ( std::ostream &  out,
const T &  data,
Format fmt 
)
inlinestatic

◆ _formatInteger()

template<typename T >
static void cp::_formatInteger ( std::ostream &  out,
const T &  data,
Format fmt 
)
inlinestatic

◆ _formatString()

template<typename T >
static void cp::_formatString ( std::ostream &  out,
const T &  data,
Format fmt 
)
inlinestatic

Definition at line 218 of file cprintf_formats.hh.

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

Referenced by formatString().

◆ formatChar() [1/12]

static void cp::formatChar ( std::ostream &  out,
char  data,
Format fmt 
)
inlinestatic

Definition at line 258 of file cprintf_formats.hh.

References _formatChar(), and data.

◆ formatChar() [2/12]

template<typename T >
static void cp::formatChar ( std::ostream &  out,
const T &  data,
Format fmt 
)
inlinestatic

Definition at line 252 of file cprintf_formats.hh.

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

◆ formatChar() [3/12]

static void cp::formatChar ( std::ostream &  out,
int  data,
Format fmt 
)
inlinestatic

Definition at line 288 of file cprintf_formats.hh.

References _formatChar(), and data.

◆ formatChar() [4/12]

static void cp::formatChar ( std::ostream &  out,
long  data,
Format fmt 
)
inlinestatic

Definition at line 300 of file cprintf_formats.hh.

References _formatChar(), and data.

◆ formatChar() [5/12]

static void cp::formatChar ( std::ostream &  out,
long long  data,
Format fmt 
)
inlinestatic

Definition at line 312 of file cprintf_formats.hh.

References _formatChar(), and data.

◆ formatChar() [6/12]

static void cp::formatChar ( std::ostream &  out,
short  data,
Format fmt 
)
inlinestatic

Definition at line 276 of file cprintf_formats.hh.

References _formatChar(), and data.

◆ formatChar() [7/12]

static void cp::formatChar ( std::ostream &  out,
signed char  data,
Format fmt 
)
inlinestatic

Definition at line 270 of file cprintf_formats.hh.

References _formatChar(), and data.

◆ formatChar() [8/12]

static void cp::formatChar ( std::ostream &  out,
unsigned char  data,
Format fmt 
)
inlinestatic

Definition at line 264 of file cprintf_formats.hh.

References _formatChar(), and data.

◆ formatChar() [9/12]

static void cp::formatChar ( std::ostream &  out,
unsigned int  data,
Format fmt 
)
inlinestatic

Definition at line 294 of file cprintf_formats.hh.

References _formatChar(), and data.

◆ formatChar() [10/12]

static void cp::formatChar ( std::ostream &  out,
unsigned long  data,
Format fmt 
)
inlinestatic

Definition at line 306 of file cprintf_formats.hh.

References _formatChar(), and data.

◆ formatChar() [11/12]

static void cp::formatChar ( std::ostream &  out,
unsigned long long  data,
Format fmt 
)
inlinestatic

Definition at line 318 of file cprintf_formats.hh.

References _formatChar(), and data.

◆ formatChar() [12/12]

static void cp::formatChar ( std::ostream &  out,
unsigned short  data,
Format fmt 
)
inlinestatic

Definition at line 282 of file cprintf_formats.hh.

References _formatChar(), and data.

◆ formatFloat() [1/3]

template<typename T >
static void cp::formatFloat ( std::ostream &  out,
const T &  data,
Format fmt 
)
inlinestatic

Definition at line 363 of file cprintf_formats.hh.

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

◆ formatFloat() [2/3]

static void cp::formatFloat ( std::ostream &  out,
double  data,
Format fmt 
)
inlinestatic

Definition at line 375 of file cprintf_formats.hh.

References _formatFloat(), and data.

◆ formatFloat() [3/3]

static void cp::formatFloat ( std::ostream &  out,
float  data,
Format fmt 
)
inlinestatic

Definition at line 369 of file cprintf_formats.hh.

References _formatFloat(), and data.

◆ formatInteger() [1/6]

static void cp::formatInteger ( std::ostream &  out,
char  data,
Format fmt 
)
inlinestatic

Definition at line 333 of file cprintf_formats.hh.

References _formatInteger(), and data.

◆ formatInteger() [2/6]

static void cp::formatInteger ( std::ostream &  out,
const signed char *  data,
Format fmt 
)
inlinestatic

Definition at line 353 of file cprintf_formats.hh.

References _formatInteger(), and data.

◆ formatInteger() [3/6]

template<typename T >
static void cp::formatInteger ( std::ostream &  out,
const T &  data,
Format fmt 
)
inlinestatic

Definition at line 328 of file cprintf_formats.hh.

References _formatInteger(), and data.

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

◆ formatInteger() [4/6]

static void cp::formatInteger ( std::ostream &  out,
const unsigned char *  data,
Format fmt 
)
inlinestatic

Definition at line 348 of file cprintf_formats.hh.

References _formatInteger(), and data.

◆ formatInteger() [5/6]

static void cp::formatInteger ( std::ostream &  out,
signed char  data,
Format fmt 
)
inlinestatic

Definition at line 343 of file cprintf_formats.hh.

References _formatInteger(), and data.

◆ formatInteger() [6/6]

static void cp::formatInteger ( std::ostream &  out,
unsigned char  data,
Format fmt 
)
inlinestatic

Definition at line 338 of file cprintf_formats.hh.

References _formatInteger(), and data.

◆ formatString()

template<typename T >
static void cp::formatString ( std::ostream &  out,
const T &  data,
Format fmt 
)
inlinestatic

Definition at line 385 of file cprintf_formats.hh.

References _formatString(), and data.

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


Generated on Tue Jun 22 2021 15:28:50 for gem5 by doxygen 1.8.17