Lines Matching refs:fmt
40 int printf(const char *fmt, ...) in printf() argument
45 va_start(args, fmt); in printf()
47 count = vsprintf(buf, fmt, args); in printf()
53 int sprintf(char *buf, const char *fmt, ...) in sprintf() argument
58 va_start(args, fmt); in sprintf()
59 count = vsprintf(buf, fmt, args); in sprintf()
72 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf() argument
88 for (; *fmt; ++fmt) in vsprintf()
91 if (*fmt != '%') in vsprintf()
93 *str = *fmt; in vsprintf()
106 ++fmt; in vsprintf()
109 switch (*fmt) in vsprintf()
120 ++fmt; in vsprintf()
125 ++fmt; in vsprintf()
129 ++fmt; in vsprintf()
134 ++fmt; in vsprintf()
139 ++fmt; in vsprintf()
151 if (*fmt == '*') in vsprintf()
154 ++fmt; in vsprintf()
156 else if (is_digit(*fmt)) in vsprintf()
158 field_width = skip_and_atoi(&fmt); in vsprintf()
168 if (*fmt == '.') in vsprintf()
170 ++fmt; in vsprintf()
171 if (*fmt == '*') in vsprintf()
174 ++fmt; in vsprintf()
176 else if is_digit (*fmt) in vsprintf()
178 precision = skip_and_atoi(&fmt); in vsprintf()
183 if (*fmt == 'h' || *fmt == 'l' || *fmt == 'L' || *fmt == 'Z') in vsprintf()
185 qualifier = *fmt; in vsprintf()
186 ++fmt; in vsprintf()
189 if (qualifier == 'l' && *fmt == 'l', *(fmt + 1) == 'd') in vsprintf()
190 ++fmt; in vsprintf()
194 switch (*fmt) in vsprintf()
337 if (*fmt) in vsprintf()
338 *str++ = *fmt; in vsprintf()
340 --fmt; in vsprintf()