Lines Matching refs:fmt
110 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf() argument
128 for (str = buf ; *fmt ; ++fmt) { in vsprintf()
129 if (*fmt != '%') { in vsprintf()
130 *str++ = *fmt; in vsprintf()
137 ++fmt; /* this also skips first '%' */ in vsprintf()
138 switch (*fmt) { in vsprintf()
148 if ('0' <= *fmt && *fmt <= '9') in vsprintf()
149 field_width = skip_atoi(&fmt); in vsprintf()
150 else if (*fmt == '*') { in vsprintf()
151 ++fmt; in vsprintf()
162 if (*fmt == '.') { in vsprintf()
163 ++fmt; in vsprintf()
164 if ('0' <= *fmt && *fmt <= '9') in vsprintf()
165 precision = skip_atoi(&fmt); in vsprintf()
166 else if (*fmt == '*') { in vsprintf()
167 ++fmt; in vsprintf()
177 if (*fmt == 'l' && *(fmt + 1) == 'l') { in vsprintf()
179 fmt += 2; in vsprintf()
180 } else if (*fmt == 'h' || *fmt == 'l' || *fmt == 'L' in vsprintf()
181 || *fmt == 'Z') { in vsprintf()
182 qualifier = *fmt; in vsprintf()
183 ++fmt; in vsprintf()
189 switch (*fmt) { in vsprintf()
262 if (*fmt) in vsprintf()
263 *str++ = *fmt; in vsprintf()
265 --fmt; in vsprintf()
293 int sprintf(char * buf, const char *fmt, ...) in sprintf() argument
298 va_start(args, fmt); in sprintf()
299 i = vsprintf(buf, fmt, args); in sprintf()