#include <arch/div.h>
#include <xtf/libc.h>
#include <xtf/compiler.h>
Go to the source code of this file.
|
static int | isdigit (int c) |
|
static int | fmt_int (const char **fmt) |
|
char * | fmt_number (char *str, char *end, long long val, unsigned int base, int width, int precision, unsigned int flags) |
|
char * | fmt_string (char *str, char *end, const char *val, int width, int precision, unsigned int flags) |
|
static char * | pointer (char *str, char *end, const char **fmt_ptr, const void *arg, int width, int precision, unsigned int flags) |
|
int | vsnprintf_internal (char *buf, size_t size, const char *fmt, va_list args, unsigned int caller_flags) |
|
◆ LEFT
◆ PLUS
◆ SPACE
◆ ALTERNATE
#define ALTERNATE (1u << 3) |
◆ ZERO
◆ UPPER
◆ SIGNED
◆ PUT
Value:
})
static unsigned int str(void)
Definition at line 53 of file vsnprintf.c.
◆ isdigit()
static int isdigit |
( |
int |
c | ) |
|
|
static |
◆ fmt_int()
static int fmt_int |
( |
const char ** |
fmt | ) |
|
|
static |
◆ fmt_number()
char * fmt_number |
( |
char * |
str, |
|
|
char * |
end, |
|
|
long long |
val, |
|
|
unsigned int |
base, |
|
|
int |
width, |
|
|
int |
precision, |
|
|
unsigned int |
flags |
|
) |
| |
◆ fmt_string()
char * fmt_string |
( |
char * |
str, |
|
|
char * |
end, |
|
|
const char * |
val, |
|
|
int |
width, |
|
|
int |
precision, |
|
|
unsigned int |
flags |
|
) |
| |
◆ pointer()
static char * pointer |
( |
char * |
str, |
|
|
char * |
end, |
|
|
const char ** |
fmt_ptr, |
|
|
const void * |
arg, |
|
|
int |
width, |
|
|
int |
precision, |
|
|
unsigned int |
flags |
|
) |
| |
|
static |
◆ vsnprintf_internal()
int vsnprintf_internal |
( |
char * |
buf, |
|
|
size_t |
size, |
|
|
const char * |
fmt, |
|
|
va_list |
args, |
|
|
unsigned int |
caller_flags |
|
) |
| |