Lines Matching refs:fmt

587 static int format_converter(register buffy * odp, const char *fmt, va_list ap) /* {{{ */  in format_converter()  argument
635 while (*fmt) { in format_converter()
636 if (*fmt != '%') { in format_converter()
637 INS_CHAR(*fmt, sp, bep, cc); in format_converter()
648 fmt++; in format_converter()
653 if (isascii((int)*fmt) && !islower((int)*fmt)) { in format_converter()
657 for (;; fmt++) { in format_converter()
658 if (*fmt == '-') in format_converter()
660 else if (*fmt == '+') in format_converter()
662 else if (*fmt == '#') in format_converter()
664 else if (*fmt == ' ') in format_converter()
666 else if (*fmt == '0') in format_converter()
675 if (isdigit((int)*fmt)) { in format_converter()
676 STR_TO_DEC(fmt, min_width); in format_converter()
678 } else if (*fmt == '*') { in format_converter()
680 fmt++; in format_converter()
692 if (*fmt == '.') { in format_converter()
694 fmt++; in format_converter()
695 if (isdigit((int)*fmt)) { in format_converter()
696 STR_TO_DEC(fmt, precision); in format_converter()
697 } else if (*fmt == '*') { in format_converter()
699 fmt++; in format_converter()
716 switch (*fmt) { in format_converter()
718 fmt++; in format_converter()
722 fmt++; in format_converter()
724 if (*fmt == '6' && *(fmt+1) == '4') { in format_converter()
725 fmt += 2; in format_converter()
729 if (*fmt == '3' && *(fmt+1) == '2') { in format_converter()
730 fmt += 2; in format_converter()
741 fmt++; in format_converter()
743 if (*fmt == 'l') { in format_converter()
744 fmt++; in format_converter()
751 fmt++; in format_converter()
755 fmt++; in format_converter()
763 fmt++; in format_converter()
771 fmt++; in format_converter()
772 if (*fmt == 'h') { in format_converter()
773 fmt++; in format_converter()
792 switch (*fmt) { in format_converter()
843 if ((*fmt) != 'u') { in format_converter()
877 s = ap_php_conv_10(i_num, (*fmt) == 'u', &is_negative, in format_converter()
881 if (*fmt != 'u') { in format_converter()
922 s = ap_php_conv_p2(ui_num, 3, *fmt, &num_buf[NUM_BUF_SIZE], &s_len); in format_converter()
961 s = ap_php_conv_p2(ui_num, 4, *fmt, &num_buf[NUM_BUF_SIZE], &s_len); in format_converter()
964 *--s = *fmt; /* 'x' or 'X' */ in format_converter()
1018 s = php_conv_fp((*fmt == 'f')?'F':*fmt, fp_num, alternate_form, in format_converter()
1020 (*fmt == 'f')?LCONV_DECIMAL_POINT:'.', in format_converter()
1079 …s = php_gcvt(fp_num, precision, (*fmt=='H' || *fmt == 'k') ? '.' : LCONV_DECIMAL_POINT, (*fmt == '… in format_converter()
1151 php_error(E_ERROR, "Illegal length modifier specified '%c' in s[np]printf call", *fmt); in format_converter()
1164 char_buf[1] = *fmt; in format_converter()
1199 fmt++; in format_converter()