Lines Matching refs:formatlen
239 size_t formatlen; in PHP_FUNCTION() local
247 Z_PARAM_STRING(format, formatlen) in PHP_FUNCTION()
252 formatcodes = safe_emalloc(formatlen, sizeof(*formatcodes), 0); in PHP_FUNCTION()
253 formatargs = safe_emalloc(formatlen, sizeof(*formatargs), 0); in PHP_FUNCTION()
257 for (i = 0; i < formatlen; formatcount++) { in PHP_FUNCTION()
262 if (i < formatlen) { in PHP_FUNCTION()
272 while (format[i] >= '0' && format[i] <= '9' && i < formatlen) { in PHP_FUNCTION()
712 zend_long formatlen, inputpos, inputlen; in PHP_FUNCTION() local
724 formatlen = ZSTR_LEN(formatarg); in PHP_FUNCTION()
740 while (formatlen-- > 0) { in PHP_FUNCTION()
749 if (formatlen > 0) { in PHP_FUNCTION()
764 while (formatlen > 0 && *format >= '0' && *format <= '9') { in PHP_FUNCTION()
766 formatlen--; in PHP_FUNCTION()
771 formatlen--; in PHP_FUNCTION()
779 while (formatlen > 0 && *format != '/') { in PHP_FUNCTION()
780 formatlen--; in PHP_FUNCTION()
1197 if (formatlen > 0) { in PHP_FUNCTION()
1198 formatlen--; /* Skip '/' separator, does no harm if inputlen == 0 */ in PHP_FUNCTION()