Lines Matching refs:fmt

199 static void xbuf_format_converter(void *xbuf, zend_bool is_char, const char *fmt, va_list ap) /* {{…  in xbuf_format_converter()  argument
240 while (*fmt) { in xbuf_format_converter()
241 if (*fmt != '%') { in xbuf_format_converter()
242 INS_CHAR(xbuf, *fmt, is_char); in xbuf_format_converter()
253 fmt++; in xbuf_format_converter()
258 if (isascii((int)*fmt) && !islower((int)*fmt)) { in xbuf_format_converter()
262 for (;; fmt++) { in xbuf_format_converter()
263 if (*fmt == '-') in xbuf_format_converter()
265 else if (*fmt == '+') in xbuf_format_converter()
267 else if (*fmt == '#') in xbuf_format_converter()
269 else if (*fmt == ' ') in xbuf_format_converter()
271 else if (*fmt == '0') in xbuf_format_converter()
280 if (isdigit((int)*fmt)) { in xbuf_format_converter()
281 STR_TO_DEC(fmt, min_width); in xbuf_format_converter()
283 } else if (*fmt == '*') { in xbuf_format_converter()
285 fmt++; in xbuf_format_converter()
297 if (*fmt == '.') { in xbuf_format_converter()
299 fmt++; in xbuf_format_converter()
300 if (isdigit((int)*fmt)) { in xbuf_format_converter()
301 STR_TO_DEC(fmt, precision); in xbuf_format_converter()
302 } else if (*fmt == '*') { in xbuf_format_converter()
304 fmt++; in xbuf_format_converter()
321 switch (*fmt) { in xbuf_format_converter()
323 fmt++; in xbuf_format_converter()
327 fmt++; in xbuf_format_converter()
329 if (*fmt == '6' && *(fmt+1) == '4') { in xbuf_format_converter()
330 fmt += 2; in xbuf_format_converter()
334 if (*fmt == '3' && *(fmt+1) == '2') { in xbuf_format_converter()
335 fmt += 2; in xbuf_format_converter()
346 fmt++; in xbuf_format_converter()
348 if (*fmt == 'l') { in xbuf_format_converter()
349 fmt++; in xbuf_format_converter()
356 fmt++; in xbuf_format_converter()
360 fmt++; in xbuf_format_converter()
368 fmt++; in xbuf_format_converter()
376 char __next = *(fmt+1); in xbuf_format_converter()
378 fmt++; in xbuf_format_converter()
386 fmt++; in xbuf_format_converter()
387 if (*fmt == 'h') { in xbuf_format_converter()
388 fmt++; in xbuf_format_converter()
407 switch (*fmt) { in xbuf_format_converter()
462 if ((*fmt) != 'u') { in xbuf_format_converter()
499 s = ap_php_conv_10(i_num, (*fmt) == 'u', &is_negative, in xbuf_format_converter()
503 if (*fmt != 'u') { in xbuf_format_converter()
546 s = ap_php_conv_p2(ui_num, 3, *fmt, in xbuf_format_converter()
589 s = ap_php_conv_p2(ui_num, 4, *fmt, in xbuf_format_converter()
593 *--s = *fmt; /* 'x' or 'X' */ in xbuf_format_converter()
648 s = php_conv_fp((*fmt == 'f')?'F':*fmt, fp_num, alternate_form, in xbuf_format_converter()
650 (*fmt == 'f')?LCONV_DECIMAL_POINT:'.', in xbuf_format_converter()
708 …s = php_gcvt(fp_num, precision, (*fmt=='H' || *fmt == 'k') ? '.' : LCONV_DECIMAL_POINT, (*fmt == '… in xbuf_format_converter()
778 php_error(E_ERROR, "Illegal length modifier specified '%c' in s[np]printf call", *fmt); in xbuf_format_converter()
791 char_buf[1] = *fmt; in xbuf_format_converter()
825 fmt++; in xbuf_format_converter()