Lines Matching refs:fmt

59 nxt_sprintf(u_char *buf, u_char *end, const char *fmt, ...)  in nxt_sprintf()  argument
64 va_start(args, fmt); in nxt_sprintf()
65 p = nxt_vsprintf(buf, end, fmt, args); in nxt_sprintf()
98 nxt_vsprintf(u_char *buf, u_char *end, const char *fmt, va_list args) in nxt_vsprintf() argument
123 while (*fmt != '\0' && buf < end) { in nxt_vsprintf()
130 if (*fmt != '%') { in nxt_vsprintf()
131 *buf++ = *fmt++; in nxt_vsprintf()
135 fmt++; in nxt_vsprintf()
139 switch (*fmt) { in nxt_vsprintf()
142 fmt++; in nxt_vsprintf()
154 fmt++; in nxt_vsprintf()
171 fmt++; in nxt_vsprintf()
173 if (*fmt == 's') { in nxt_vsprintf()
174 fmt++; in nxt_vsprintf()
190 spf.padding = (*fmt == '0') ? '0' : ' '; in nxt_vsprintf()
197 while (*fmt >= '0' && *fmt <= '9') { in nxt_vsprintf()
198 spf.width = spf.width * 10 + (*fmt++ - '0'); in nxt_vsprintf()
203 switch (*fmt) { in nxt_vsprintf()
207 fmt++; in nxt_vsprintf()
212 fmt++; in nxt_vsprintf()
218 fmt++; in nxt_vsprintf()
224 fmt++; in nxt_vsprintf()
228 fmt++; in nxt_vsprintf()
231 while (*fmt >= '0' && *fmt <= '9') { in nxt_vsprintf()
232 spf.frac_width = spf.frac_width * 10 + *fmt++ - '0'; in nxt_vsprintf()
245 switch (*fmt) { in nxt_vsprintf()
266 fmt++; in nxt_vsprintf()
373 fmt++; in nxt_vsprintf()
460 fmt++; in nxt_vsprintf()
465 fmt++; in nxt_vsprintf()
467 switch (*fmt) { in nxt_vsprintf()
483 fmt++; in nxt_vsprintf()
491 fmt++; in nxt_vsprintf()
493 switch (*fmt) { in nxt_vsprintf()
522 fmt++; in nxt_vsprintf()
527 fmt++; in nxt_vsprintf()
532 fmt++; in nxt_vsprintf()
536 *buf++ = *fmt++; in nxt_vsprintf()
554 fmt++; in nxt_vsprintf()