MeterLogger
|
Go to the source code of this file.
Data Structures | |
struct | param |
struct | _vsnprintf_putcf_data |
struct | _vsprintf_putcf_data |
Macros | |
#define | PRINTF_LONG_SUPPORT |
#define | PRINTF_LONG_LONG_SUPPORT |
#define | PRINTF_SIZE_T_SUPPORT |
#define | PRINTF_LONG_SUPPORT |
#define | _TFP_GCC_NO_INLINE_ |
Functions | |
static ICACHE_FLASH_ATTR void _TFP_GCC_NO_INLINE_ | ulli2a (unsigned long long int num, struct param *p) |
static ICACHE_FLASH_ATTR void | lli2a (long long int num, struct param *p) |
static ICACHE_FLASH_ATTR void | uli2a (unsigned long int num, struct param *p) |
static ICACHE_FLASH_ATTR void | li2a (long num, struct param *p) |
static ICACHE_FLASH_ATTR void | ui2a (unsigned int num, struct param *p) |
static ICACHE_FLASH_ATTR void | i2a (int num, struct param *p) |
static ICACHE_FLASH_ATTR int | a2d (char ch) |
static ICACHE_FLASH_ATTR char | a2u (char ch, const char **src, int base, unsigned int *nump) |
static ICACHE_FLASH_ATTR void | putchw (void *putp, putcf putf, struct param *p) |
ICACHE_FLASH_ATTR void | tfp_format (void *putp, putcf putf, const char *fmt, va_list va) |
ICACHE_FLASH_ATTR void | init_printf (void *putp, putcf putf) |
ICACHE_FLASH_ATTR void | tfp_printf (char *fmt,...) |
static ICACHE_FLASH_ATTR void | _vsnprintf_putcf (void *p, char c) |
ICACHE_FLASH_ATTR int | tfp_vsnprintf (char *str, size_t size, const char *format, va_list ap) |
ICACHE_FLASH_ATTR int | tfp_snprintf (char *str, size_t size, const char *format,...) |
static ICACHE_FLASH_ATTR void | _vsprintf_putcf (void *p, char c) |
ICACHE_FLASH_ATTR int | tfp_vsprintf (char *str, const char *format, va_list ap) |
ICACHE_FLASH_ATTR int | tfp_sprintf (char *str, const char *format,...) |
Variables | |
static putcf | stdout_putf |
static void * | stdout_putp |
#define _TFP_GCC_NO_INLINE_ |
Definition at line 68 of file tinyprintf.c.
#define PRINTF_LONG_LONG_SUPPORT |
Definition at line 35 of file tinyprintf.c.
#define PRINTF_LONG_SUPPORT |
Definition at line 48 of file tinyprintf.c.
#define PRINTF_LONG_SUPPORT |
Definition at line 48 of file tinyprintf.c.
#define PRINTF_SIZE_T_SUPPORT |
Definition at line 38 of file tinyprintf.c.
|
static |
Definition at line 452 of file tinyprintf.c.
References _vsnprintf_putcf_data::dest, _vsnprintf_putcf_data::dest_capacity, and _vsnprintf_putcf_data::num_chars.
Referenced by tfp_vsnprintf().
|
static |
Definition at line 497 of file tinyprintf.c.
References _vsprintf_putcf_data::dest, and _vsprintf_putcf_data::num_chars.
Referenced by tfp_vsprintf().
|
static |
Definition at line 175 of file tinyprintf.c.
Referenced by a2u().
|
static |
Definition at line 187 of file tinyprintf.c.
References a2d().
Referenced by tfp_format().
|
static |
Definition at line 166 of file tinyprintf.c.
References param::sign, and ui2a().
Referenced by tfp_format().
ICACHE_FLASH_ATTR void init_printf | ( | void * | putp, |
putcf | putf | ||
) |
|
static |
Definition at line 137 of file tinyprintf.c.
References param::sign, and uli2a().
Referenced by tfp_format().
|
static |
Definition at line 107 of file tinyprintf.c.
References param::sign, and ulli2a().
Referenced by tfp_format().
|
static |
Definition at line 203 of file tinyprintf.c.
References param::align_left, param::alt, param::base, param::bf, param::lz, param::sign, param::uc, and param::width.
Referenced by tfp_format().
ICACHE_FLASH_ATTR void tfp_format | ( | void * | putp, |
putcf | putf, | ||
const char * | fmt, | ||
va_list | va | ||
) |
Definition at line 255 of file tinyprintf.c.
References a2u(), param::align_left, param::alt, param::base, param::bf, i2a(), li2a(), lli2a(), param::lz, putchw(), param::sign, param::uc, ui2a(), uli2a(), ulli2a(), and param::width.
Referenced by tfp_printf(), tfp_vsnprintf(), and tfp_vsprintf().
ICACHE_FLASH_ATTR void tfp_printf | ( | char * | fmt, |
... | |||
) |
Definition at line 435 of file tinyprintf.c.
References stdout_putf, stdout_putp, and tfp_format().
ICACHE_FLASH_ATTR int tfp_snprintf | ( | char * | str, |
size_t | size, | ||
const char * | format, | ||
... | |||
) |
Definition at line 480 of file tinyprintf.c.
References tfp_vsnprintf().
Referenced by cfg_load(), cgiWiFiScan(), cleanup_decimal_str(), divide_str_by_10(), divide_str_by_100(), en61107_received_task(), en61107_response_set_unit(), en61107_response_set_value(), httpdHeader(), httpdRedirect(), httpdStartResponse(), kmp_received_task(), kmp_request_send(), kmp_value_to_string(), kw_to_w_str(), parse_mc66cde_inst_values_frame(), parse_mc66cde_standard_data_1_frame(), tplSetup(), w_to_kw_str(), wifi_connect(), wifi_default(), wifi_fallback(), and wifi_softap_config().
ICACHE_FLASH_ATTR int tfp_sprintf | ( | char * | str, |
const char * | format, | ||
... | |||
) |
Definition at line 513 of file tinyprintf.c.
References tfp_vsprintf().
ICACHE_FLASH_ATTR int tfp_vsnprintf | ( | char * | str, |
size_t | size, | ||
const char * | format, | ||
va_list | ap | ||
) |
Definition at line 460 of file tinyprintf.c.
References _vsnprintf_putcf(), _vsnprintf_putcf_data::dest, _vsnprintf_putcf_data::dest_capacity, _vsnprintf_putcf_data::num_chars, and tfp_format().
Referenced by tfp_snprintf().
ICACHE_FLASH_ATTR int tfp_vsprintf | ( | char * | str, |
const char * | format, | ||
va_list | ap | ||
) |
Definition at line 503 of file tinyprintf.c.
References _vsprintf_putcf(), _vsprintf_putcf_data::dest, _vsprintf_putcf_data::num_chars, and tfp_format().
Referenced by tfp_sprintf().
|
static |
Definition at line 147 of file tinyprintf.c.
References param::base, param::bf, and param::uc.
Referenced by i2a(), and tfp_format().
|
static |
Definition at line 118 of file tinyprintf.c.
References param::base, param::bf, and param::uc.
Referenced by li2a(), and tfp_format().
|
static |
Definition at line 87 of file tinyprintf.c.
References param::base, param::bf, and param::uc.
Referenced by lli2a(), and tfp_format().
|
static |
Definition at line 426 of file tinyprintf.c.
Referenced by init_printf(), and tfp_printf().
|
static |
Definition at line 427 of file tinyprintf.c.
Referenced by init_printf(), and tfp_printf().