Namespaces | |
test_rosclean | |
Classes | |
struct | out_fct_wrap_type |
Typedefs | |
typedef void(* | out_fct_type) (char character, void *buffer, size_t idx, size_t maxlen) |
Functions | |
static unsigned int | _atoi (const char **str) |
static size_t | _etoa (out_fct_type out, char *buffer, size_t idx, size_t maxlen, double value, unsigned int prec, unsigned int width, unsigned int flags) |
static size_t | _ftoa (out_fct_type out, char *buffer, size_t idx, size_t maxlen, double value, unsigned int prec, unsigned int width, unsigned int flags) |
static bool | _is_digit (char ch) |
static size_t | _ntoa_format (out_fct_type out, char *buffer, size_t idx, size_t maxlen, char *buf, size_t len, bool negative, unsigned int base, unsigned int prec, unsigned int width, unsigned int flags) |
static size_t | _ntoa_long (out_fct_type out, char *buffer, size_t idx, size_t maxlen, unsigned long value, bool negative, unsigned long base, unsigned int prec, unsigned int width, unsigned int flags) |
static size_t | _ntoa_long_long (out_fct_type out, char *buffer, size_t idx, size_t maxlen, unsigned long long value, bool negative, unsigned long long base, unsigned int prec, unsigned int width, unsigned int flags) |
static void | _out_buffer (char character, void *buffer, size_t idx, size_t maxlen) |
static void | _out_char (char character, void *buffer, size_t idx, size_t maxlen) |
static void | _out_fct (char character, void *buffer, size_t idx, size_t maxlen) |
static void | _out_null (char character, void *buffer, size_t idx, size_t maxlen) |
static size_t | _out_rev (out_fct_type out, char *buffer, size_t idx, size_t maxlen, const char *buf, size_t len, unsigned int width, unsigned int flags) |
void | _putchar (char character) |
static unsigned int | _strnlen_s (const char *str, size_t maxsize) |
static int | _vsnprintf (out_fct_type out, char *buffer, const size_t maxlen, const char *format, va_list va) |
int | fctprintf (void(*out)(char character, void *arg), void *arg, const char *format,...) |
int | printf_ (const char *format,...) |
int | snprintf_ (char *buffer, size_t count, const char *format,...) |
int | sprintf_ (char *buffer, const char *format,...) |
int | vprintf_ (const char *format, va_list va) |
int | vsnprintf_ (char *buffer, size_t count, const char *format, va_list va) |
typedef void(* test::out_fct_type) (char character, void *buffer, size_t idx, size_t maxlen) |
Definition at line 122 of file test_suite.cpp.
|
static |
Definition at line 188 of file test_suite.cpp.
|
static |
Definition at line 467 of file test_suite.cpp.
|
static |
Definition at line 339 of file test_suite.cpp.
|
inlinestatic |
Definition at line 181 of file test_suite.cpp.
|
static |
Definition at line 227 of file test_suite.cpp.
|
static |
Definition at line 281 of file test_suite.cpp.
|
static |
Definition at line 306 of file test_suite.cpp.
|
inlinestatic |
Definition at line 133 of file test_suite.cpp.
|
inlinestatic |
Definition at line 149 of file test_suite.cpp.
|
inlinestatic |
Definition at line 159 of file test_suite.cpp.
|
inlinestatic |
Definition at line 142 of file test_suite.cpp.
|
static |
Definition at line 199 of file test_suite.cpp.
void test::_putchar | ( | char | character | ) |
Output a character to a custom device like UART, used by the printf() function This function is declared here only. You have to write your custom implementation somewhere
character | Character to output |
Definition at line 49 of file test_suite.cpp.
|
inlinestatic |
Definition at line 171 of file test_suite.cpp.
|
static |
Definition at line 577 of file test_suite.cpp.
int test::fctprintf | ( | void(*)(char character, void *arg) | out, |
void * | arg, | ||
const char * | format, | ||
... | |||
) |
printf with output function You may use this as dynamic alternative to printf() with its fixed _putchar() output
out | An output function which takes one character and an argument pointer |
arg | An argument pointer for user data passed to output function |
format | A string that specifies the format of the output |
Definition at line 906 of file test_suite.cpp.
int test::printf_ | ( | const char * | format, |
... | |||
) |
Definition at line 862 of file test_suite.cpp.
int test::snprintf_ | ( | char * | buffer, |
size_t | count, | ||
const char * | format, | ||
... | |||
) |
Definition at line 883 of file test_suite.cpp.
int test::sprintf_ | ( | char * | buffer, |
const char * | format, | ||
... | |||
) |
Definition at line 873 of file test_suite.cpp.
int test::vprintf_ | ( | const char * | format, |
va_list | va | ||
) |
Definition at line 893 of file test_suite.cpp.
int test::vsnprintf_ | ( | char * | buffer, |
size_t | count, | ||
const char * | format, | ||
va_list | va | ||
) |
Definition at line 900 of file test_suite.cpp.