Lines Matching refs:args
45 va_list args; in printf() local
46 va_start(args, fmt); in printf()
48 count = vsprintf(buf, fmt, args); in printf()
49 va_end(args); in printf()
58 va_list args; in sprintf() local
60 va_start(args, fmt); in sprintf()
61 count = vsprintf(buf, fmt, args); in sprintf()
62 va_end(args); in sprintf()
74 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf() argument
155 field_width = va_arg(args, int); in vsprintf()
175 precision = va_arg(args, int); in vsprintf()
215 *str++ = (unsigned char)va_arg(args, int); in vsprintf()
227 s = va_arg(args, char *); in vsprintf()
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()
321 ip = va_arg(args, long long *); in vsprintf()
323 ip = (int64_t *)va_arg(args, int *); in vsprintf()
332 str = write_float_point_num(str, va_arg(args, double), field_width, precision, flags); in vsprintf()