Searched refs:write_num (Results 1 – 2 of 2) sorted by relevance
/DragonOS-0.1.8/user/libs/libc/src/ |
D | printf.c | 10 static char *write_num(char *str, uint64_t num, int base, int field_width, int precision, int flags… 270 str = write_num(str, va_arg(args, long long), 8, field_width, precision, flags); in vsprintf() 272 str = write_num(str, va_arg(args, int), 8, field_width, precision, flags); in vsprintf() 283 … str = write_num(str, (unsigned long)va_arg(args, void *), 16, field_width, precision, flags); in vsprintf() 293 str = write_num(str, va_arg(args, int64_t), 16, field_width, precision, flags); in vsprintf() 295 str = write_num(str, va_arg(args, int), 16, field_width, precision, flags); in vsprintf() 304 str = write_num(str, va_arg(args, long long), 10, field_width, precision, flags); in vsprintf() 306 str = write_num(str, va_arg(args, int), 10, field_width, precision, flags); in vsprintf() 312 … str = write_num(str, va_arg(args, unsigned long long), 10, field_width, precision, flags); in vsprintf() 314 str = write_num(str, va_arg(args, unsigned int), 10, field_width, precision, flags); in vsprintf() [all …]
|
/DragonOS-0.1.8/kernel/src/libs/ |
D | printk.c | 25 static char *write_num(char *str, ul num, int base, int field_width, int precision, int flags); 255 str = write_num(str, va_arg(args, long long), 8, field_width, precision, flags); in __do_vsprintf() 257 str = write_num(str, va_arg(args, int), 8, field_width, precision, flags); in __do_vsprintf() 268 … str = write_num(str, (unsigned long)va_arg(args, void *), 16, field_width, precision, flags); in __do_vsprintf() 278 str = write_num(str, va_arg(args, ll), 16, field_width, precision, flags); in __do_vsprintf() 280 str = write_num(str, va_arg(args, int), 16, field_width, precision, flags); in __do_vsprintf() 289 str = write_num(str, va_arg(args, long long), 10, field_width, precision, flags); in __do_vsprintf() 291 str = write_num(str, va_arg(args, int), 10, field_width, precision, flags); in __do_vsprintf() 297 … str = write_num(str, va_arg(args, unsigned long long), 10, field_width, precision, flags); in __do_vsprintf() 299 str = write_num(str, va_arg(args, unsigned int), 10, field_width, precision, flags); in __do_vsprintf() [all …]
|