Lines Matching refs:formatlen
235 size_t formatlen; in PHP_FUNCTION() local
243 Z_PARAM_STRING(format, formatlen) in PHP_FUNCTION()
248 formatcodes = safe_emalloc(formatlen, sizeof(*formatcodes), 0); in PHP_FUNCTION()
249 formatargs = safe_emalloc(formatlen, sizeof(*formatargs), 0); in PHP_FUNCTION()
253 for (i = 0; i < formatlen; formatcount++) { in PHP_FUNCTION()
258 if (i < formatlen) { in PHP_FUNCTION()
268 while (format[i] >= '0' && format[i] <= '9' && i < formatlen) { in PHP_FUNCTION()
727 zend_long formatlen, inputpos, inputlen; in PHP_FUNCTION() local
739 formatlen = ZSTR_LEN(formatarg); in PHP_FUNCTION()
754 while (formatlen-- > 0) { in PHP_FUNCTION()
763 if (formatlen > 0) { in PHP_FUNCTION()
769 while (formatlen > 0 && *format >= '0' && *format <= '9') { in PHP_FUNCTION()
771 formatlen--; in PHP_FUNCTION()
776 formatlen--; in PHP_FUNCTION()
784 while (formatlen > 0 && *format != '/') { in PHP_FUNCTION()
785 formatlen--; in PHP_FUNCTION()
1207 if (formatlen > 0) { in PHP_FUNCTION()
1208 formatlen--; /* Skip '/' separator, does no harm if inputlen == 0 */ in PHP_FUNCTION()