Lines Matching refs:fmt
188 static void xbuf_format_converter(void *xbuf, zend_bool is_char, const char *fmt, va_list ap) /* {{… in xbuf_format_converter() argument
227 while (*fmt) { in xbuf_format_converter()
228 if (*fmt != '%') { in xbuf_format_converter()
229 INS_CHAR(xbuf, *fmt, is_char); in xbuf_format_converter()
240 fmt++; in xbuf_format_converter()
245 if (isascii((int)*fmt) && !islower((int)*fmt)) { in xbuf_format_converter()
249 for (;; fmt++) { in xbuf_format_converter()
250 if (*fmt == '-') in xbuf_format_converter()
252 else if (*fmt == '+') in xbuf_format_converter()
254 else if (*fmt == '#') in xbuf_format_converter()
256 else if (*fmt == ' ') in xbuf_format_converter()
258 else if (*fmt == '0') in xbuf_format_converter()
267 if (isdigit((int)*fmt)) { in xbuf_format_converter()
268 STR_TO_DEC(fmt, min_width); in xbuf_format_converter()
270 } else if (*fmt == '*') { in xbuf_format_converter()
272 fmt++; in xbuf_format_converter()
284 if (*fmt == '.') { in xbuf_format_converter()
286 fmt++; in xbuf_format_converter()
287 if (isdigit((int)*fmt)) { in xbuf_format_converter()
288 STR_TO_DEC(fmt, precision); in xbuf_format_converter()
289 } else if (*fmt == '*') { in xbuf_format_converter()
291 fmt++; in xbuf_format_converter()
308 switch (*fmt) { in xbuf_format_converter()
310 fmt++; in xbuf_format_converter()
314 fmt++; in xbuf_format_converter()
316 if (*fmt == 'l') { in xbuf_format_converter()
317 fmt++; in xbuf_format_converter()
324 fmt++; in xbuf_format_converter()
328 fmt++; in xbuf_format_converter()
336 fmt++; in xbuf_format_converter()
344 char __next = *(fmt+1); in xbuf_format_converter()
346 fmt++; in xbuf_format_converter()
354 fmt++; in xbuf_format_converter()
355 if (*fmt == 'h') { in xbuf_format_converter()
356 fmt++; in xbuf_format_converter()
375 switch (*fmt) { in xbuf_format_converter()
430 if ((*fmt) != 'u') { in xbuf_format_converter()
467 s = ap_php_conv_10(i_num, (*fmt) == 'u', &is_negative, in xbuf_format_converter()
471 if (*fmt != 'u') { in xbuf_format_converter()
514 s = ap_php_conv_p2(ui_num, 3, *fmt, in xbuf_format_converter()
557 s = ap_php_conv_p2(ui_num, 4, *fmt, in xbuf_format_converter()
561 *--s = *fmt; /* 'x' or 'X' */ in xbuf_format_converter()
613 s = php_conv_fp((*fmt == 'f')?'F':*fmt, fp_num, alternate_form, in xbuf_format_converter()
615 (*fmt == 'f')?LCONV_DECIMAL_POINT:'.', in xbuf_format_converter()
671 …s = php_gcvt(fp_num, precision, (*fmt=='H' || *fmt == 'k') ? '.' : LCONV_DECIMAL_POINT, (*fmt == '… in xbuf_format_converter()
741 php_error(E_ERROR, "Illegal length modifier specified '%c' in s[np]printf call", *fmt); in xbuf_format_converter()
754 char_buf[1] = *fmt; in xbuf_format_converter()
788 fmt++; in xbuf_format_converter()