B2BITS FIX Antenna HFT  1.0.13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
printf.h File Reference
#include "b2b_platform.h"
#include <stdarg.h>
+ Include dependency graph for printf.h:
+ This graph shows which files directly or indirectly include this file:

Functions

static int a2d (char ch) throw ()
 
template<int base>
static char a2i (char ch, char **src, int *nump) throw ()
 
int fast_format (char *buf, int bufSize, const char *fmt, va_list va) throw ()
 
void fast_printf (const char *fmt,...) __attribute__((format(printf throw ()
 
int fast_snprintf (char *s, int bufSize, const char *fmt,...) __attribute__((format(printf throw ()
 
void fast_sprintf (char *s, const char *fmt,...) __attribute__((format(printf throw ()
 
template<unsigned int base, bool upper_case>
static int float2a (double num, char *bf) FLATTEN throw ()
 
static int float_to_a (double n, char s[], int size) throw ()
 
static int i2a (int num, char *bf) FLATTEN throw ()
 
static int li2a (long num, char *bf) FLATTEN throw ()
 
static int lli2a (long long num, char *bf) FLATTEN throw ()
 
void printf_unit_test (void)
 
static void reverse (char s[], int end) throw ()
 
template<unsigned int base, bool upper_case>
static int ui2a (unsigned int num, char *bf) throw ()
 
static int uint32toa (uint32_t n, char s[]) FLATTEN throw ()
 
static int uint64toa (uint64_t n, char s[]) FLATTEN throw ()
 
template<unsigned int base, bool upper_case>
static int uli2a (unsigned long int num, char *bf) throw ()
 
template<unsigned int base, bool upper_case>
static int ulli2a (unsigned long long int num, char *bf) throw ()
 

Variables

void FLATTEN
 

Function Documentation

static int a2d ( char  ch)
throw (
)
inlinestatic

Referenced by a2i().

template<int base>
static char a2i ( char  ch,
char **  src,
int *  nump 
)
throw (
)
inlinestatic

References a2d().

int fast_format ( char *  buf,
int  bufSize,
const char *  fmt,
va_list  va 
)
throw (
)
void fast_printf ( const char *  fmt,
  ... 
)
throw (
)
int fast_snprintf ( char *  s,
int  bufSize,
const char *  fmt,
  ... 
)
throw (
)
void fast_sprintf ( char *  s,
const char *  fmt,
  ... 
)
throw (
)
template<unsigned int base, bool upper_case>
static int float2a ( double  num,
char *  bf 
)
throw (
)
inlinestatic
static int float_to_a ( double  n,
char  s[],
int  size 
)
throw (
)
inlinestatic
static int i2a ( int  num,
char *  bf 
)
throw (
)
inlinestatic
static int li2a ( long  num,
char *  bf 
)
throw (
)
inlinestatic
static int lli2a ( long long  num,
char *  bf 
)
throw (
)
inlinestatic
void printf_unit_test ( void  )
static void reverse ( char  s[],
int  end 
)
throw (
)
inlinestatic
template<unsigned int base, bool upper_case>
static int ui2a ( unsigned int  num,
char *  bf 
)
throw (
)
inlinestatic
static int uint32toa ( uint32_t  n,
char  s[] 
)
throw (
)
inlinestatic
static int uint64toa ( uint64_t  n,
char  s[] 
)
throw (
)
inlinestatic
template<unsigned int base, bool upper_case>
static int uli2a ( unsigned long int  num,
char *  bf 
)
throw (
)
inlinestatic
template<unsigned int base, bool upper_case>
static int ulli2a ( unsigned long long int  num,
char *  bf 
)
throw (
)
inlinestatic

Variable Documentation

int FLATTEN