Lines Matching refs:fmt

192 static void xbuf_format_converter(void *xbuf, zend_bool is_char, const char *fmt, va_list ap) /* {{…  in xbuf_format_converter()  argument
231 while (*fmt) { in xbuf_format_converter()
232 if (*fmt != '%') { in xbuf_format_converter()
233 INS_CHAR(xbuf, *fmt, is_char); in xbuf_format_converter()
244 fmt++; in xbuf_format_converter()
249 if (isascii((int)*fmt) && !islower((int)*fmt)) { in xbuf_format_converter()
253 for (;; fmt++) { in xbuf_format_converter()
254 if (*fmt == '-') in xbuf_format_converter()
256 else if (*fmt == '+') in xbuf_format_converter()
258 else if (*fmt == '#') in xbuf_format_converter()
260 else if (*fmt == ' ') in xbuf_format_converter()
262 else if (*fmt == '0') in xbuf_format_converter()
271 if (isdigit((int)*fmt)) { in xbuf_format_converter()
272 STR_TO_DEC(fmt, min_width); in xbuf_format_converter()
274 } else if (*fmt == '*') { in xbuf_format_converter()
276 fmt++; in xbuf_format_converter()
288 if (*fmt == '.') { in xbuf_format_converter()
290 fmt++; in xbuf_format_converter()
291 if (isdigit((int)*fmt)) { in xbuf_format_converter()
292 STR_TO_DEC(fmt, precision); in xbuf_format_converter()
293 } else if (*fmt == '*') { in xbuf_format_converter()
295 fmt++; in xbuf_format_converter()
312 switch (*fmt) { in xbuf_format_converter()
314 fmt++; in xbuf_format_converter()
318 fmt++; in xbuf_format_converter()
320 if (*fmt == '6' && *(fmt+1) == '4') { in xbuf_format_converter()
321 fmt += 2; in xbuf_format_converter()
325 if (*fmt == '3' && *(fmt+1) == '2') { in xbuf_format_converter()
326 fmt += 2; in xbuf_format_converter()
337 fmt++; in xbuf_format_converter()
339 if (*fmt == 'l') { in xbuf_format_converter()
340 fmt++; in xbuf_format_converter()
347 fmt++; in xbuf_format_converter()
351 fmt++; in xbuf_format_converter()
359 fmt++; in xbuf_format_converter()
367 char __next = *(fmt+1); in xbuf_format_converter()
369 fmt++; in xbuf_format_converter()
377 fmt++; in xbuf_format_converter()
378 if (*fmt == 'h') { in xbuf_format_converter()
379 fmt++; in xbuf_format_converter()
398 switch (*fmt) { in xbuf_format_converter()
453 if ((*fmt) != 'u') { in xbuf_format_converter()
490 s = ap_php_conv_10(i_num, (*fmt) == 'u', &is_negative, in xbuf_format_converter()
494 if (*fmt != 'u') { in xbuf_format_converter()
537 s = ap_php_conv_p2(ui_num, 3, *fmt, in xbuf_format_converter()
580 s = ap_php_conv_p2(ui_num, 4, *fmt, in xbuf_format_converter()
584 *--s = *fmt; /* 'x' or 'X' */ in xbuf_format_converter()
637 s = php_conv_fp((*fmt == 'f')?'F':*fmt, fp_num, alternate_form, in xbuf_format_converter()
639 (*fmt == 'f')?LCONV_DECIMAL_POINT:'.', in xbuf_format_converter()
695 …s = php_gcvt(fp_num, precision, (*fmt=='H' || *fmt == 'k') ? '.' : LCONV_DECIMAL_POINT, (*fmt == '… in xbuf_format_converter()
765 php_error(E_ERROR, "Illegal length modifier specified '%c' in s[np]printf call", *fmt); in xbuf_format_converter()
778 char_buf[1] = *fmt; in xbuf_format_converter()
812 fmt++; in xbuf_format_converter()