Home
last modified time | relevance | path

Searched refs:new_len (Results 1 – 17 of 17) sorted by relevance

/PHP-7.4/Zend/
H A Dzend_smart_str.h77 size_t new_len = smart_str_alloc(dest, len, persistent); in smart_str_extend_ex() local
79 ZSTR_LEN(dest->s) = new_len; in smart_str_extend_ex()
114 size_t new_len = smart_str_alloc(dest, 1, persistent); in smart_str_appendc_ex() local
115 ZSTR_VAL(dest->s)[new_len - 1] = ch; in smart_str_appendc_ex()
116 ZSTR_LEN(dest->s) = new_len; in smart_str_appendc_ex()
120 size_t new_len = smart_str_alloc(dest, len, persistent); in smart_str_appendl_ex() local
122 ZSTR_LEN(dest->s) = new_len; in smart_str_appendl_ex()
H A Dzend_smart_string.h87 size_t new_len = smart_string_alloc(dest, len, persistent); in smart_string_appendl_ex() local
89 dest->len = new_len; in smart_string_appendl_ex()
/PHP-7.4/ext/xmlrpc/libxmlrpc/
H A Dencodings.c50 static char* convert(const char* src, int src_len, int *new_len, const char* from_enc, const char* … in convert() argument
90 if(new_len) { in convert()
91 *new_len = outbuf ? outlen : 0; in convert()
H A Dxml_element.c637 int new_len = 0; in _xmlrpc_charHandler() local
638 char* add_text = utf8_decode(s, len, &new_len, mydata->input_options->encoding); in _xmlrpc_charHandler()
640 len = new_len; in _xmlrpc_charHandler()
/PHP-7.4/ext/filter/
H A Dsanitizing_filters.c183 size_t new_len; in php_filter_string() local
209 new_len = php_strip_tags_ex(Z_STRVAL_P(value), Z_STRLEN_P(value), NULL, NULL, 0, 1); in php_filter_string()
210 Z_STRLEN_P(value) = new_len; in php_filter_string()
212 if (new_len == 0) { in php_filter_string()
/PHP-7.4/win32/
H A Dioutil.c603 …_normalization_result php_win32_ioutil_normalize_path_w(wchar_t **buf, size_t len, size_t *new_len) in php_win32_ioutil_normalize_path_w() argument
610 *new_len = 0; in php_win32_ioutil_normalize_path_w()
626 *new_len = len; in php_win32_ioutil_normalize_path_w()
636 *new_len = len; in php_win32_ioutil_normalize_path_w()
643 *new_len = ret_len; in php_win32_ioutil_normalize_path_w()
H A Dioutil.h173 …normalization_result php_win32_ioutil_normalize_path_w(wchar_t **buf, size_t len, size_t *new_len);
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_utils.c200 PHPDBG_API char *phpdbg_trim(const char *str, size_t len, size_t *new_len) /* {{{ */ in phpdbg_trim() argument
216 *new_len = 0; in phpdbg_trim()
221 if (new_len) { in phpdbg_trim()
222 *new_len = len; in phpdbg_trim()
/PHP-7.4/ext/pcre/
H A Dphp_pcre.c1621 size_t new_len; /* Length of needed storage */ in php_pcre_replace_impl() local
1702 new_len = result_len + offsets[0] - last_end_offset; /* part before the match */ in php_pcre_replace_impl()
1718 new_len += offsets[(backref<<1)+1] - offsets[backref<<1]; in php_pcre_replace_impl()
1722 new_len++; in php_pcre_replace_impl()
1727 if (new_len >= alloc_len) { in php_pcre_replace_impl()
1728 alloc_len = zend_safe_address_guarded(2, new_len, ZSTR_MAX_OVERHEAD) - ZSTR_MAX_OVERHEAD; in php_pcre_replace_impl()
1862 size_t new_len; /* Length of needed storage */ in php_pcre_replace_func_impl() local
1956 new_len = result_len + offsets[0] - last_end_offset; /* part before the match */ in php_pcre_replace_func_impl()
1964new_len = zend_safe_address_guarded(1, ZSTR_LEN(eval_result) + ZSTR_MAX_OVERHEAD, new_len) -ZSTR_M… in php_pcre_replace_func_impl()
1965 if (new_len >= alloc_len) { in php_pcre_replace_func_impl()
[all …]
/PHP-7.4/ext/pgsql/
H A Dpgsql.c816 size_t new_len; in php_pgsql_PQescapeInternal() local
822 strncpy(rp, tmp, new_len); in php_pgsql_PQescapeInternal()
824 rp += new_len; in php_pgsql_PQescapeInternal()
5531 size_t new_len; local
5574 if (new_len) {
5575 smart_str_appendl(&querystr, escaped, new_len);
5582 if (new_len) {
5583 smart_str_appendl(&querystr, escaped, new_len);
6660 size_t new_len; local
6665 smart_str_appendl(&querystr, tmp, new_len);
[all …]
/PHP-7.4/ext/standard/
H A Dfile.c2160 size_t new_len; in php_fgetcsv() local
2175 } else if ((new_buf = php_stream_get_line(stream, NULL, 0, &new_len)) == NULL) { in php_fgetcsv()
2187 temp_len += new_len; in php_fgetcsv()
2193 buf_len = new_len; in php_fgetcsv()
/PHP-7.4/ext/soap/
H A Dphp_encoding.c835 int new_len; in to_xml_string() local
843 new_len = Z_STRLEN_P(data); in to_xml_string()
847 new_len = ZSTR_LEN(tmp); in to_xml_string()
852 xmlBufferPtr in = xmlBufferCreateStatic(str, new_len); in to_xml_string()
859 new_len = n; in to_xml_string()
866 char *err = emalloc(new_len + 8); in to_xml_string()
870 memcpy(err, str, new_len+1); in to_xml_string()
906 text = xmlNewTextLen(BAD_CAST(str), new_len); in to_xml_string()
/PHP-7.4/ext/phar/
H A Dphar_internal.h545 char *phar_fix_filepath(char *path, size_t *new_len, int use_cwd);
H A Dphar.c2086 char *phar_fix_filepath(char *path, size_t *new_len, int use_cwd) /* {{{ */ in phar_fix_filepath() argument
2092 size_t ptr_length, path_length = *new_len; in phar_fix_filepath()
2121 *new_len = 1; in phar_fix_filepath()
2129 *new_len = 1; in phar_fix_filepath()
2182 *new_len = newpath_len; in phar_fix_filepath()
H A Dphar_object.c2021 size_t new_len, oldname_len, phar_ext_len; in phar_rename_archive() local
2145 new_len = spprintf(&newpath, 0, "%s%s", basepath, newname); in phar_rename_archive()
2146 phar->fname_len = new_len; in phar_rename_archive()
/PHP-7.4/ext/opcache/
H A Dzend_file_cache.c230 size_t new_len = info->str_size + len; local
233 ((_ZSTR_HEADER_SIZE + 1 + new_len + 4095) & ~0xfff) - (_ZSTR_HEADER_SIZE + 1),
/PHP-7.4/ext/mbstring/
H A Dmbstring.c3342 size_t new_len; in PHP_FUNCTION() local
3350 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "zs|z", &input, &arg_new, &new_len, &arg_old) == FAILUR… in PHP_FUNCTION()

Completed in 111 milliseconds