Macros | |
#define | PAD_RIGHT 1 |
#define | PAD_ZERO 2 |
#define | PRINT_BUF_LEN 12 |
#define | TEMP_BUFFER_SIZE 32 |
Functions | |
int | dsp16_sprintf (char *out, const char *format,...) |
int | dsp32_sprintf (char *out, const char *format,...) |
static int | dsp_sprint (char **out, int nb_bits, int q, int i) |
static int | dsp_sprint_after_radix (char **out, unsigned int num, unsigned int den, int nb_digits) |
static int | dsp_sprint_fct (char **out, char *str) |
static char * | dsp_sprint_ui (char *out, unsigned int n) |
static int | print (int size, char **out, const char *format, va_list args) |
static void | printchar (char **str, int c) |
static int | printi (char **out, int i, int b, int sg, int width, int pad, int letbase, int printlimit) |
static int | prints (char **out, const char *string, int width, int pad, int printlimit, bool IsNumber) |
#define PRINT_BUF_LEN 12 |
Referenced by printi().
#define TEMP_BUFFER_SIZE 32 |
Referenced by dsp_sprint(), and dsp_sprint_ui().
int dsp16_sprintf | ( | char * | out, |
const char * | format, | ||
... | |||
) |
References print().
int dsp32_sprintf | ( | char * | out, |
const char * | format, | ||
... | |||
) |
References print().
|
static |
References buffer, dsp_sprint_after_radix(), dsp_sprint_fct(), dsp_sprint_ui(), and TEMP_BUFFER_SIZE.
Referenced by print().
|
static |
References dsp_sprint_fct().
Referenced by dsp_sprint().
|
static |
Referenced by dsp_sprint(), and dsp_sprint_after_radix().
|
static |
References TEMP_BUFFER_SIZE.
Referenced by dsp_sprint().
|
static |
References DSP16_QA, DSP32_QA, dsp_sprint(), PAD_RIGHT, PAD_ZERO, printchar(), printi(), and prints().
Referenced by dsp16_sprintf(), dsp32_sprintf(), print_char_hex(), print_dbg(), print_hex(), print_short_hex(), and print_ulong().
|
static |
References PAD_ZERO, PRINT_BUF_LEN, printchar(), and prints().
Referenced by print().