Lines Matching refs:fmt

181 static void xbuf_format_converter(void *xbuf, bool is_char, const char *fmt, va_list ap) /* {{{ */  in xbuf_format_converter()  argument
218 while (*fmt) { in xbuf_format_converter()
219 if (*fmt != '%') { in xbuf_format_converter()
220 INS_CHAR(xbuf, *fmt, is_char); in xbuf_format_converter()
231 fmt++; in xbuf_format_converter()
236 if (isascii((int)*fmt) && !islower((int)*fmt)) { in xbuf_format_converter()
240 for (;; fmt++) { in xbuf_format_converter()
241 if (*fmt == '-') in xbuf_format_converter()
243 else if (*fmt == '+') in xbuf_format_converter()
245 else if (*fmt == '#') in xbuf_format_converter()
247 else if (*fmt == ' ') in xbuf_format_converter()
249 else if (*fmt == '0') in xbuf_format_converter()
258 if (isdigit((int)*fmt)) { in xbuf_format_converter()
259 STR_TO_DEC(fmt, min_width); in xbuf_format_converter()
261 } else if (*fmt == '*') { in xbuf_format_converter()
263 fmt++; in xbuf_format_converter()
275 if (*fmt == '.') { in xbuf_format_converter()
277 fmt++; in xbuf_format_converter()
278 if (isdigit((int)*fmt)) { in xbuf_format_converter()
279 STR_TO_DEC(fmt, precision); in xbuf_format_converter()
280 } else if (*fmt == '*') { in xbuf_format_converter()
282 fmt++; in xbuf_format_converter()
295 switch (*fmt) { in xbuf_format_converter()
297 fmt++; in xbuf_format_converter()
301 fmt++; in xbuf_format_converter()
303 if (*fmt == 'l') { in xbuf_format_converter()
304 fmt++; in xbuf_format_converter()
311 fmt++; in xbuf_format_converter()
315 fmt++; in xbuf_format_converter()
323 fmt++; in xbuf_format_converter()
332 char __next = *(fmt+1); in xbuf_format_converter()
341 fmt++; in xbuf_format_converter()
342 if (*fmt == 'h') { in xbuf_format_converter()
343 fmt++; in xbuf_format_converter()
363 switch (*fmt) { in xbuf_format_converter()
422 if ((*fmt) != 'u') { in xbuf_format_converter()
456 s = ap_php_conv_10(i_num, (*fmt) == 'u', &is_negative, in xbuf_format_converter()
460 if (*fmt != 'u') { in xbuf_format_converter()
500 s = ap_php_conv_p2(ui_num, 3, *fmt, in xbuf_format_converter()
540 s = ap_php_conv_p2(ui_num, 4, *fmt, in xbuf_format_converter()
544 *--s = *fmt; /* 'x' or 'X' */ in xbuf_format_converter()
596 s = php_conv_fp((*fmt == 'f')?'F':*fmt, fp_num, alternate_form, in xbuf_format_converter()
598 (*fmt == 'f')?LCONV_DECIMAL_POINT:'.', in xbuf_format_converter()
654 …s = zend_gcvt(fp_num, precision, (*fmt=='H' || *fmt == 'k') ? '.' : LCONV_DECIMAL_POINT, (*fmt == … in xbuf_format_converter()
724 php_error(E_ERROR, "Illegal length modifier specified '%c' in s[np]printf call", *fmt); in xbuf_format_converter()
738 char_buf[1] = *fmt; in xbuf_format_converter()
770 fmt++; in xbuf_format_converter()