Lines Matching refs:len

201 …v_substr(smart_str *pretval, const char *str, size_t nbytes, int offset, int len, const char *enc);
356 int len; in php_iconv_output_handler() local
360len = spprintf(&content_type, 0, "Content-Type:%.*s; charset=%.*s", mimetype_len ? mimetype_len : … in php_iconv_output_handler()
362len = spprintf(&content_type, 0, "Content-Type:%.*s; charset=%s", mimetype_len ? mimetype_len : (i… in php_iconv_output_handler()
364 if (content_type && SUCCESS == sapi_add_header(content_type, len, 0)) { in php_iconv_output_handler()
399 out_p = (d)->c + (d)->len; in _php_iconv_appendl()
425 (d)->len += (buf_growth - out_left); in _php_iconv_appendl()
436 out_p = (d)->c + (d)->len; in _php_iconv_appendl()
439 (d)->len += (buf_growth - out_left); in _php_iconv_appendl()
452 (d)->len += (buf_growth - out_left); in _php_iconv_appendl()
756 const char *str, size_t nbytes, int offset, int len, const char *enc) in _php_iconv_substr() argument
778 if (len < 0) { in _php_iconv_substr()
779 if ((len += (total_len - offset)) < 0) { in _php_iconv_substr()
790 if(len > total_len) { in _php_iconv_substr()
791 len = total_len; in _php_iconv_substr()
799 if ((offset + len) > total_len ) { in _php_iconv_substr()
801 len = total_len - offset; in _php_iconv_substr()
804 if (len == 0) { in _php_iconv_substr()
827 for (in_p = str, in_left = nbytes, cnt = 0; in_left > 0 && len > 0; ++cnt) { in _php_iconv_substr()
862 --len; in _php_iconv_substr()
2052 RETURN_STRINGL(retval.c, retval.len, 0); in PHP_FUNCTION()
2254 RETVAL_STRINGL(retval.c, retval.len, 0); in PHP_FUNCTION()
2299 RETVAL_STRINGL(retval.c, retval.len, 0); in PHP_FUNCTION()
2353 limit = decoded_header.c + decoded_header.len; in PHP_FUNCTION()