Lines Matching refs:fmt
177 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf() argument
192 for (str = buf; *fmt; ++fmt) { in vsprintf()
193 if (*fmt != '%') { in vsprintf()
194 *str++ = *fmt; in vsprintf()
201 ++fmt; /* this also skips first '%' */ in vsprintf()
202 switch (*fmt) { in vsprintf()
222 if (isdigit(*fmt)) in vsprintf()
223 field_width = skip_atoi(&fmt); in vsprintf()
224 else if (*fmt == '*') { in vsprintf()
225 ++fmt; in vsprintf()
236 if (*fmt == '.') { in vsprintf()
237 ++fmt; in vsprintf()
238 if (isdigit(*fmt)) in vsprintf()
239 precision = skip_atoi(&fmt); in vsprintf()
240 else if (*fmt == '*') { in vsprintf()
241 ++fmt; in vsprintf()
251 if (*fmt == 'h' || *fmt == 'l' || *fmt == 'L') { in vsprintf()
252 qualifier = *fmt; in vsprintf()
253 ++fmt; in vsprintf()
259 switch (*fmt) { in vsprintf()
325 if (*fmt) in vsprintf()
326 *str++ = *fmt; in vsprintf()
328 --fmt; in vsprintf()
348 int sprintf(char *buf, const char *fmt, ...)
353 va_start(args, fmt);
354 i = vsprintf(buf, fmt, args);
360 int vprintf(const char *fmt, va_list args) in vprintf() argument
365 printed = vsprintf(printf_buf, fmt, args); in vprintf()
370 int printf(const char *fmt, ...) in printf() argument
375 va_start(args, fmt); in printf()
376 printed = vprintf(fmt, args); in printf()
384 void __attribute__ ((noreturn)) die(const char *fmt, ...) in die() argument
388 va_start(ap, fmt); in die()
389 vprintf(fmt, ap); in die()