Lines Matching refs:fmt
582 static int format_converter(register buffy * odp, const char *fmt, va_list ap) /* {{{ */ in format_converter() argument
626 while (*fmt) { in format_converter()
627 if (*fmt != '%') { in format_converter()
628 INS_CHAR(*fmt, sp, bep, cc); in format_converter()
639 fmt++; in format_converter()
644 if (isascii((int)*fmt) && !islower((int)*fmt)) { in format_converter()
648 for (;; fmt++) { in format_converter()
649 if (*fmt == '-') in format_converter()
651 else if (*fmt == '+') in format_converter()
653 else if (*fmt == '#') in format_converter()
655 else if (*fmt == ' ') in format_converter()
657 else if (*fmt == '0') in format_converter()
666 if (isdigit((int)*fmt)) { in format_converter()
667 STR_TO_DEC(fmt, min_width); in format_converter()
669 } else if (*fmt == '*') { in format_converter()
671 fmt++; in format_converter()
683 if (*fmt == '.') { in format_converter()
685 fmt++; in format_converter()
686 if (isdigit((int)*fmt)) { in format_converter()
687 STR_TO_DEC(fmt, precision); in format_converter()
688 } else if (*fmt == '*') { in format_converter()
690 fmt++; in format_converter()
707 switch (*fmt) { in format_converter()
709 fmt++; in format_converter()
713 fmt++; in format_converter()
715 if (*fmt == '6' && *(fmt+1) == '4') { in format_converter()
716 fmt += 2; in format_converter()
720 if (*fmt == '3' && *(fmt+1) == '2') { in format_converter()
721 fmt += 2; in format_converter()
732 fmt++; in format_converter()
734 if (*fmt == 'l') { in format_converter()
735 fmt++; in format_converter()
742 fmt++; in format_converter()
746 fmt++; in format_converter()
754 fmt++; in format_converter()
762 fmt++; in format_converter()
763 if (*fmt == 'h') { in format_converter()
764 fmt++; in format_converter()
783 switch (*fmt) { in format_converter()
834 if ((*fmt) != 'u') { in format_converter()
868 s = ap_php_conv_10(i_num, (*fmt) == 'u', &is_negative, in format_converter()
872 if (*fmt != 'u') { in format_converter()
913 s = ap_php_conv_p2(ui_num, 3, *fmt, &num_buf[NUM_BUF_SIZE], &s_len); in format_converter()
952 s = ap_php_conv_p2(ui_num, 4, *fmt, &num_buf[NUM_BUF_SIZE], &s_len); in format_converter()
955 *--s = *fmt; /* 'x' or 'X' */ in format_converter()
1005 s = php_conv_fp((*fmt == 'f')?'F':*fmt, fp_num, alternate_form, in format_converter()
1007 (*fmt == 'f')?LCONV_DECIMAL_POINT:'.', in format_converter()
1062 …s = php_gcvt(fp_num, precision, (*fmt=='H' || *fmt == 'k') ? '.' : LCONV_DECIMAL_POINT, (*fmt == '… in format_converter()
1134 php_error(E_ERROR, "Illegal length modifier specified '%c' in s[np]printf call", *fmt); in format_converter()
1147 char_buf[1] = *fmt; in format_converter()
1182 fmt++; in format_converter()