Lines Matching refs:formatlen
112 int formatlen; in PHP_FUNCTION() local
129 formatlen = Z_STRLEN_PP(argv[0]); in PHP_FUNCTION()
132 formatcodes = safe_emalloc(formatlen, sizeof(*formatcodes), 0); in PHP_FUNCTION()
133 formatargs = safe_emalloc(formatlen, sizeof(*formatargs), 0); in PHP_FUNCTION()
137 for (i = 0; i < formatlen; formatcount++) { in PHP_FUNCTION()
142 if (i < formatlen) { in PHP_FUNCTION()
152 while (format[i] >= '0' && format[i] <= '9' && i < formatlen) { in PHP_FUNCTION()
521 int formatlen, formatarg_len, inputarg_len; in PHP_FUNCTION() local
530 formatlen = formatarg_len; in PHP_FUNCTION()
537 while (formatlen-- > 0) { in PHP_FUNCTION()
546 if (formatlen > 0) { in PHP_FUNCTION()
552 while (formatlen > 0 && *format >= '0' && *format <= '9') { in PHP_FUNCTION()
554 formatlen--; in PHP_FUNCTION()
559 formatlen--; in PHP_FUNCTION()
567 while (formatlen > 0 && *format != '/') { in PHP_FUNCTION()
568 formatlen--; in PHP_FUNCTION()
873 formatlen--; /* Skip '/' separator, does no harm if inputlen == 0 */ in PHP_FUNCTION()