Lines Matching refs:str
43 static char *number(char *str, long num, int base, int size, int precision, in number() argument
92 *str++ = ' '; in number()
94 *str++ = sign; in number()
97 *str++ = '0'; in number()
99 *str++ = '0'; in number()
100 *str++ = ('X' | locase); in number()
105 *str++ = c; in number()
107 *str++ = '0'; in number()
109 *str++ = tmp[i]; in number()
111 *str++ = ' '; in number()
112 return str; in number()
120 char *str; in vsprintf() local
130 for (str = buf; *fmt; ++fmt) { in vsprintf()
132 *str++ = *fmt; in vsprintf()
201 *str++ = ' '; in vsprintf()
202 *str++ = (unsigned char)va_arg(args, int); in vsprintf()
204 *str++ = ' '; in vsprintf()
213 *str++ = ' '; in vsprintf()
215 *str++ = *s++; in vsprintf()
217 *str++ = ' '; in vsprintf()
225 str = number(str, in vsprintf()
233 *ip = (str - buf); in vsprintf()
236 *ip = (str - buf); in vsprintf()
241 *str++ = '%'; in vsprintf()
262 *str++ = '%'; in vsprintf()
264 *str++ = *fmt; in vsprintf()
279 str = number(str, num, base, field_width, precision, flags); in vsprintf()
281 *str = '\0'; in vsprintf()
282 return str - buf; in vsprintf()