Lines Matching refs:fmt
41 int printf(const char *fmt, ...) in printf() argument
46 va_start(args, fmt); in printf()
48 count = vsprintf(buf, fmt, args); in printf()
55 int sprintf(char *buf, const char *fmt, ...) in sprintf() argument
60 va_start(args, fmt); in sprintf()
61 count = vsprintf(buf, fmt, args); in sprintf()
74 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf() argument
90 for (; *fmt; ++fmt) in vsprintf()
93 if (*fmt != '%') in vsprintf()
95 *str = *fmt; in vsprintf()
108 ++fmt; in vsprintf()
111 switch (*fmt) in vsprintf()
122 ++fmt; in vsprintf()
127 ++fmt; in vsprintf()
131 ++fmt; in vsprintf()
136 ++fmt; in vsprintf()
141 ++fmt; in vsprintf()
153 if (*fmt == '*') in vsprintf()
156 ++fmt; in vsprintf()
158 else if (is_digit(*fmt)) in vsprintf()
160 field_width = skip_and_atoi(&fmt); in vsprintf()
170 if (*fmt == '.') in vsprintf()
172 ++fmt; in vsprintf()
173 if (*fmt == '*') in vsprintf()
176 ++fmt; in vsprintf()
178 else if is_digit (*fmt) in vsprintf()
180 precision = skip_and_atoi(&fmt); in vsprintf()
185 if (*fmt == 'h' || *fmt == 'l' || *fmt == 'L' || *fmt == 'Z') in vsprintf()
187 qualifier = *fmt; in vsprintf()
188 ++fmt; in vsprintf()
191 if (qualifier == 'l' && *fmt == 'l', *(fmt + 1) == 'd') in vsprintf()
192 ++fmt; in vsprintf()
196 switch (*fmt) in vsprintf()
339 if (*fmt) in vsprintf()
340 *str++ = *fmt; in vsprintf()
342 --fmt; in vsprintf()