Lines Matching refs:fmt

196 static void xbuf_format_converter(void *xbuf, zend_bool is_char, const char *fmt, va_list ap) /* {{…  in xbuf_format_converter()  argument
237 while (*fmt) { in xbuf_format_converter()
238 if (*fmt != '%') { in xbuf_format_converter()
239 INS_CHAR(xbuf, *fmt, is_char); in xbuf_format_converter()
250 fmt++; in xbuf_format_converter()
255 if (isascii((int)*fmt) && !islower((int)*fmt)) { in xbuf_format_converter()
259 for (;; fmt++) { in xbuf_format_converter()
260 if (*fmt == '-') in xbuf_format_converter()
262 else 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 == '0') in xbuf_format_converter()
277 if (isdigit((int)*fmt)) { in xbuf_format_converter()
278 STR_TO_DEC(fmt, min_width); in xbuf_format_converter()
280 } else if (*fmt == '*') { in xbuf_format_converter()
282 fmt++; in xbuf_format_converter()
294 if (*fmt == '.') { in xbuf_format_converter()
296 fmt++; in xbuf_format_converter()
297 if (isdigit((int)*fmt)) { in xbuf_format_converter()
298 STR_TO_DEC(fmt, precision); in xbuf_format_converter()
299 } else if (*fmt == '*') { in xbuf_format_converter()
301 fmt++; in xbuf_format_converter()
318 switch (*fmt) { in xbuf_format_converter()
320 fmt++; in xbuf_format_converter()
324 fmt++; in xbuf_format_converter()
326 if (*fmt == '6' && *(fmt+1) == '4') { in xbuf_format_converter()
327 fmt += 2; in xbuf_format_converter()
331 if (*fmt == '3' && *(fmt+1) == '2') { in xbuf_format_converter()
332 fmt += 2; in xbuf_format_converter()
343 fmt++; in xbuf_format_converter()
345 if (*fmt == 'l') { in xbuf_format_converter()
346 fmt++; in xbuf_format_converter()
353 fmt++; in xbuf_format_converter()
357 fmt++; in xbuf_format_converter()
365 fmt++; in xbuf_format_converter()
373 char __next = *(fmt+1); in xbuf_format_converter()
375 fmt++; in xbuf_format_converter()
383 fmt++; in xbuf_format_converter()
384 if (*fmt == 'h') { in xbuf_format_converter()
385 fmt++; in xbuf_format_converter()
404 switch (*fmt) { in xbuf_format_converter()
459 if ((*fmt) != 'u') { in xbuf_format_converter()
496 s = ap_php_conv_10(i_num, (*fmt) == 'u', &is_negative, in xbuf_format_converter()
500 if (*fmt != 'u') { in xbuf_format_converter()
543 s = ap_php_conv_p2(ui_num, 3, *fmt, in xbuf_format_converter()
586 s = ap_php_conv_p2(ui_num, 4, *fmt, in xbuf_format_converter()
590 *--s = *fmt; /* 'x' or 'X' */ in xbuf_format_converter()
645 s = php_conv_fp((*fmt == 'f')?'F':*fmt, fp_num, alternate_form, in xbuf_format_converter()
647 (*fmt == 'f')?LCONV_DECIMAL_POINT:'.', in xbuf_format_converter()
705 …s = php_gcvt(fp_num, precision, (*fmt=='H' || *fmt == 'k') ? '.' : LCONV_DECIMAL_POINT, (*fmt == '… in xbuf_format_converter()
775 php_error(E_ERROR, "Illegal length modifier specified '%c' in s[np]printf call", *fmt); in xbuf_format_converter()
788 char_buf[1] = *fmt; in xbuf_format_converter()
822 fmt++; in xbuf_format_converter()