Lines Matching refs:fmt
28 void printk(char *fmt, ...);
421 int sprintf(char * buf, const char *fmt, ...);
423 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf() argument
441 for (str=buf ; *fmt ; ++fmt) { in vsprintf()
442 if (*fmt != '%') { in vsprintf()
443 *str++ = *fmt; in vsprintf()
450 ++fmt; /* this also skips first '%' */ in vsprintf()
451 switch (*fmt) { in vsprintf()
461 if (isdigit(*fmt)) in vsprintf()
462 field_width = skip_atoi(&fmt); in vsprintf()
463 else if (*fmt == '*') { in vsprintf()
464 ++fmt; in vsprintf()
475 if (*fmt == '.') { in vsprintf()
476 ++fmt; in vsprintf()
477 if (isdigit(*fmt)) in vsprintf()
478 precision = skip_atoi(&fmt); in vsprintf()
479 else if (*fmt == '*') { in vsprintf()
480 ++fmt; in vsprintf()
490 if (*fmt == 'h' || *fmt == 'l' || *fmt == 'L' || *fmt =='Z') { in vsprintf()
491 qualifier = *fmt; in vsprintf()
492 ++fmt; in vsprintf()
498 switch (*fmt) { in vsprintf()
571 if (*fmt) in vsprintf()
572 *str++ = *fmt; in vsprintf()
574 --fmt; in vsprintf()
600 int sprintf(char * buf, const char *fmt, ...) in sprintf() argument
605 va_start(args, fmt); in sprintf()
606 i=vsprintf(buf,fmt,args); in sprintf()
614 printk(char *fmt, ...) in printk() argument
619 va_start(args, fmt); in printk()
620 n = vsprintf(sprint_buf, fmt, args); in printk()
626 printf(char *fmt, ...) in printf() argument
631 va_start(args, fmt); in printf()
632 n = vsprintf(sprint_buf, fmt, args); in printf()