Lines Matching refs:fmt
198 static void xbuf_format_converter(void *xbuf, zend_bool is_char, const char *fmt, va_list ap) /* {{… in xbuf_format_converter() argument
239 while (*fmt) { in xbuf_format_converter()
240 if (*fmt != '%') { in xbuf_format_converter()
241 INS_CHAR(xbuf, *fmt, is_char); in xbuf_format_converter()
252 fmt++; in xbuf_format_converter()
257 if (isascii((int)*fmt) && !islower((int)*fmt)) { in xbuf_format_converter()
261 for (;; fmt++) { in xbuf_format_converter()
262 if (*fmt == '-') in xbuf_format_converter()
264 else if (*fmt == '+') in xbuf_format_converter()
266 else if (*fmt == '#') in xbuf_format_converter()
268 else if (*fmt == ' ') in xbuf_format_converter()
270 else if (*fmt == '0') in xbuf_format_converter()
279 if (isdigit((int)*fmt)) { in xbuf_format_converter()
280 STR_TO_DEC(fmt, min_width); in xbuf_format_converter()
282 } else if (*fmt == '*') { in xbuf_format_converter()
284 fmt++; in xbuf_format_converter()
296 if (*fmt == '.') { in xbuf_format_converter()
298 fmt++; in xbuf_format_converter()
299 if (isdigit((int)*fmt)) { in xbuf_format_converter()
300 STR_TO_DEC(fmt, precision); in xbuf_format_converter()
301 } else if (*fmt == '*') { in xbuf_format_converter()
303 fmt++; in xbuf_format_converter()
320 switch (*fmt) { in xbuf_format_converter()
322 fmt++; in xbuf_format_converter()
326 fmt++; in xbuf_format_converter()
328 if (*fmt == '6' && *(fmt+1) == '4') { in xbuf_format_converter()
329 fmt += 2; in xbuf_format_converter()
333 if (*fmt == '3' && *(fmt+1) == '2') { in xbuf_format_converter()
334 fmt += 2; in xbuf_format_converter()
345 fmt++; in xbuf_format_converter()
347 if (*fmt == 'l') { in xbuf_format_converter()
348 fmt++; in xbuf_format_converter()
355 fmt++; in xbuf_format_converter()
359 fmt++; in xbuf_format_converter()
367 fmt++; in xbuf_format_converter()
375 char __next = *(fmt+1); in xbuf_format_converter()
377 fmt++; in xbuf_format_converter()
385 fmt++; in xbuf_format_converter()
386 if (*fmt == 'h') { in xbuf_format_converter()
387 fmt++; in xbuf_format_converter()
406 switch (*fmt) { in xbuf_format_converter()
461 if ((*fmt) != 'u') { in xbuf_format_converter()
498 s = ap_php_conv_10(i_num, (*fmt) == 'u', &is_negative, in xbuf_format_converter()
502 if (*fmt != 'u') { in xbuf_format_converter()
545 s = ap_php_conv_p2(ui_num, 3, *fmt, in xbuf_format_converter()
588 s = ap_php_conv_p2(ui_num, 4, *fmt, in xbuf_format_converter()
592 *--s = *fmt; /* 'x' or 'X' */ in xbuf_format_converter()
647 s = php_conv_fp((*fmt == 'f')?'F':*fmt, fp_num, alternate_form, in xbuf_format_converter()
649 (*fmt == 'f')?LCONV_DECIMAL_POINT:'.', in xbuf_format_converter()
707 …s = php_gcvt(fp_num, precision, (*fmt=='H' || *fmt == 'k') ? '.' : LCONV_DECIMAL_POINT, (*fmt == '… in xbuf_format_converter()
777 php_error(E_ERROR, "Illegal length modifier specified '%c' in s[np]printf call", *fmt); in xbuf_format_converter()
790 char_buf[1] = *fmt; in xbuf_format_converter()
824 fmt++; in xbuf_format_converter()