Lines Matching refs:field_width
9 static char *write_num(char *str, uint64_t num, int base, int field_width, int precision, int flags…
10 static char *write_float_point_num(char *str, double num, int field_width, int precision, int flags…
82 int field_width; //区域宽度 in vsprintf() local
101 field_width = flags = 0; in vsprintf()
150 field_width = -1; in vsprintf()
153 field_width = va_arg(args, int); in vsprintf()
158 field_width = skip_and_atoi(&fmt); in vsprintf()
159 if (field_width < 0) in vsprintf()
161 field_width = -field_width; in vsprintf()
206 while (--field_width > 0) in vsprintf()
215 while (--field_width > 0) in vsprintf()
242 while (len < field_width--) in vsprintf()
255 while (len < field_width--) in vsprintf()
268 str = write_num(str, va_arg(args, long long), 8, field_width, precision, flags); in vsprintf()
270 str = write_num(str, va_arg(args, int), 8, field_width, precision, flags); in vsprintf()
275 if (field_width == 0) in vsprintf()
277 field_width = 2 * sizeof(void *); in vsprintf()
281 … str = write_num(str, (unsigned long)va_arg(args, void *), 16, field_width, precision, flags); in vsprintf()
291 str = write_num(str, va_arg(args, int64_t), 16, field_width, precision, flags); in vsprintf()
293 str = write_num(str, va_arg(args, int), 16, field_width, precision, flags); in vsprintf()
302 str = write_num(str, va_arg(args, long long), 10, field_width, precision, flags); in vsprintf()
304 str = write_num(str, va_arg(args, int), 10, field_width, precision, flags); in vsprintf()
310 … str = write_num(str, va_arg(args, unsigned long long), 10, field_width, precision, flags); in vsprintf()
312 str = write_num(str, va_arg(args, unsigned int), 10, field_width, precision, flags); in vsprintf()
330 str = write_float_point_num(str, va_arg(args, double), field_width, precision, flags); in vsprintf()
350 static char *write_num(char *str, uint64_t num, int base, int field_width, int precision, int flags) in write_num() argument
399 --field_width; in write_num()
403 field_width -= 2; in write_num()
405 --field_width; in write_num()
425 field_width -= precision; in write_num()
429 while (field_width-- > 0) in write_num()
443 while (field_width-- > 0) in write_num()
454 while (field_width-- > 0) in write_num()
460 static char *write_float_point_num(char *str, double num, int field_width, int precision, int flags) in write_float_point_num() argument
495 --field_width; in write_float_point_num()
519 field_width -= (precision + 1 + js_num_z); in write_float_point_num()
523 while (field_width-- > 0) in write_float_point_num()
550 while (field_width-- > 0) in write_float_point_num()