Lines Matching refs:formatlen
119 int formatlen; in PHP_FUNCTION() local
136 formatlen = Z_STRLEN_PP(argv[0]); in PHP_FUNCTION()
139 formatcodes = safe_emalloc(formatlen, sizeof(*formatcodes), 0); in PHP_FUNCTION()
140 formatargs = safe_emalloc(formatlen, sizeof(*formatargs), 0); in PHP_FUNCTION()
144 for (i = 0; i < formatlen; formatcount++) { in PHP_FUNCTION()
149 if (i < formatlen) { in PHP_FUNCTION()
159 while (format[i] >= '0' && format[i] <= '9' && i < formatlen) { in PHP_FUNCTION()
580 int formatlen, formatarg_len, inputarg_len; in PHP_FUNCTION() local
589 formatlen = formatarg_len; in PHP_FUNCTION()
596 while (formatlen-- > 0) { in PHP_FUNCTION()
605 if (formatlen > 0) { in PHP_FUNCTION()
611 while (formatlen > 0 && *format >= '0' && *format <= '9') { in PHP_FUNCTION()
613 formatlen--; in PHP_FUNCTION()
618 formatlen--; in PHP_FUNCTION()
626 while (formatlen > 0 && *format != '/') { in PHP_FUNCTION()
627 formatlen--; in PHP_FUNCTION()
1023 formatlen--; /* Skip '/' separator, does no harm if inputlen == 0 */ in PHP_FUNCTION()