Lines Matching refs:fmt
591 static int format_converter(register buffy * odp, const char *fmt, va_list ap) /* {{{ */ in format_converter() argument
640 while (*fmt) { in format_converter()
641 if (*fmt != '%') { in format_converter()
642 INS_CHAR(*fmt, sp, bep, cc); in format_converter()
653 fmt++; in format_converter()
658 if (isascii((int)*fmt) && !islower((int)*fmt)) { in format_converter()
662 for (;; fmt++) { in format_converter()
663 if (*fmt == '-') in format_converter()
665 else if (*fmt == '+') in format_converter()
667 else if (*fmt == '#') in format_converter()
669 else if (*fmt == ' ') in format_converter()
671 else if (*fmt == '0') in format_converter()
680 if (isdigit((int)*fmt)) { in format_converter()
681 STR_TO_DEC(fmt, min_width); in format_converter()
683 } else if (*fmt == '*') { in format_converter()
685 fmt++; in format_converter()
697 if (*fmt == '.') { in format_converter()
699 fmt++; in format_converter()
700 if (isdigit((int)*fmt)) { in format_converter()
701 STR_TO_DEC(fmt, precision); in format_converter()
702 } else if (*fmt == '*') { in format_converter()
704 fmt++; in format_converter()
721 switch (*fmt) { in format_converter()
723 fmt++; in format_converter()
727 fmt++; in format_converter()
729 if (*fmt == '6' && *(fmt+1) == '4') { in format_converter()
730 fmt += 2; in format_converter()
734 if (*fmt == '3' && *(fmt+1) == '2') { in format_converter()
735 fmt += 2; in format_converter()
746 fmt++; in format_converter()
748 if (*fmt == 'l') { in format_converter()
749 fmt++; in format_converter()
756 fmt++; in format_converter()
760 fmt++; in format_converter()
768 fmt++; in format_converter()
776 fmt++; in format_converter()
780 fmt++; in format_converter()
781 if (*fmt == 'h') { in format_converter()
782 fmt++; in format_converter()
801 switch (*fmt) { in format_converter()
856 if ((*fmt) != 'u') { in format_converter()
893 s = ap_php_conv_10(i_num, (*fmt) == 'u', &is_negative, in format_converter()
897 if (*fmt != 'u') { in format_converter()
941 s = ap_php_conv_p2(ui_num, 3, *fmt, &num_buf[NUM_BUF_SIZE], &s_len); in format_converter()
983 s = ap_php_conv_p2(ui_num, 4, *fmt, &num_buf[NUM_BUF_SIZE], &s_len); in format_converter()
986 *--s = *fmt; /* 'x' or 'X' */ in format_converter()
1040 s = php_conv_fp((*fmt == 'f')?'F':*fmt, fp_num, alternate_form, in format_converter()
1042 (*fmt == 'f')?LCONV_DECIMAL_POINT:'.', in format_converter()
1101 …s = php_gcvt(fp_num, precision, (*fmt=='H' || *fmt == 'k') ? '.' : LCONV_DECIMAL_POINT, (*fmt == '… in format_converter()
1173 php_error(E_ERROR, "Illegal length modifier specified '%c' in s[np]printf call", *fmt); in format_converter()
1186 char_buf[1] = *fmt; in format_converter()
1221 fmt++; in format_converter()