Lines Matching refs:field_width
25 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…
65 int field_width; //区域宽度 in __do_vsprintf() local
88 field_width = flags = 0; in __do_vsprintf()
137 field_width = -1; in __do_vsprintf()
140 field_width = va_arg(args, int); in __do_vsprintf()
145 field_width = skip_and_atoi(&fmt); in __do_vsprintf()
146 if (field_width < 0) in __do_vsprintf()
148 field_width = -field_width; in __do_vsprintf()
193 while (--field_width > 0) in __do_vsprintf()
202 while (--field_width > 0) in __do_vsprintf()
229 while (len < field_width--) in __do_vsprintf()
242 while (len < field_width--) in __do_vsprintf()
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()
262 if (field_width == 0) in __do_vsprintf()
264 field_width = 2 * sizeof(void *); 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()
321 str = write_float_point_num(str, va_arg(args, double), field_width, precision, flags); in __do_vsprintf()
383 static char *write_num(char *str, ul num, int base, int field_width, int precision, int flags) in write_num() argument
432 --field_width; in write_num()
436 field_width -= 2; in write_num()
438 --field_width; in write_num()
458 field_width -= precision; in write_num()
462 while (field_width-- > 0) in write_num()
476 while (field_width-- > 0) in write_num()
487 while (field_width-- > 0) in write_num()
493 static char *write_float_point_num(char *str, double num, int field_width, int precision, int flags) in write_float_point_num() argument
528 --field_width; in write_float_point_num()
552 field_width -= (precision + 1 + js_num_z); in write_float_point_num()
556 while (field_width-- > 0) in write_float_point_num()
581 while (field_width-- > 0) in write_float_point_num()