Home
last modified time | relevance | path

Searched refs:precision (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/user/libs/libc/src/
Dprintf.c10 static char *write_num(char *str, uint64_t num, int base, int field_width, int precision, int flags…
11 static char *write_float_point_num(char *str, double num, int field_width, int precision, int flags…
85 int precision; // 精度 in vsprintf() local
169 precision = -1; in vsprintf()
175 precision = va_arg(args, int); in vsprintf()
180 precision = skip_and_atoi(&fmt); in vsprintf()
231 if (precision < 0) in vsprintf()
234 precision = len; in vsprintf()
237 else if (len > precision) in vsprintf()
239 len = precision; in vsprintf()
[all …]
/DragonOS-0.1.8/kernel/src/libs/
Dprintk.c25 static char *write_num(char *str, ul num, int base, int field_width, int precision, int flags);
27 static char *write_float_point_num(char *str, double num, int field_width, int precision, int flags…
66 int precision; //精度 in __do_vsprintf() local
154 precision = -1; in __do_vsprintf()
160 precision = va_arg(args, int); in __do_vsprintf()
165 precision = skip_and_atoi(&fmt); in __do_vsprintf()
216 if (precision < 0) in __do_vsprintf()
219 precision = len; in __do_vsprintf()
222 else if (len > precision) in __do_vsprintf()
224 len = precision; in __do_vsprintf()
[all …]