Lines Matching refs:formatlen
225 size_t formatlen; in PHP_FUNCTION() local
233 Z_PARAM_STRING(format, formatlen) in PHP_FUNCTION()
238 formatcodes = safe_emalloc(formatlen, sizeof(*formatcodes), 0); in PHP_FUNCTION()
239 formatargs = safe_emalloc(formatlen, sizeof(*formatargs), 0); in PHP_FUNCTION()
243 for (i = 0; i < formatlen; formatcount++) { in PHP_FUNCTION()
248 if (i < formatlen) { in PHP_FUNCTION()
258 while (format[i] >= '0' && format[i] <= '9' && i < formatlen) { in PHP_FUNCTION()
715 zend_long formatlen, inputpos, inputlen; in PHP_FUNCTION() local
727 formatlen = ZSTR_LEN(formatarg); in PHP_FUNCTION()
743 while (formatlen-- > 0) { in PHP_FUNCTION()
752 if (formatlen > 0) { in PHP_FUNCTION()
758 while (formatlen > 0 && *format >= '0' && *format <= '9') { in PHP_FUNCTION()
760 formatlen--; in PHP_FUNCTION()
765 formatlen--; in PHP_FUNCTION()
773 while (formatlen > 0 && *format != '/') { in PHP_FUNCTION()
774 formatlen--; in PHP_FUNCTION()
1193 if (formatlen > 0) { in PHP_FUNCTION()
1194 formatlen--; /* Skip '/' separator, does no harm if inputlen == 0 */ in PHP_FUNCTION()