Home
last modified time | relevance | path

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

/PHP-8.3/Zend/
H A Dzend_smart_str.h57 size_t new_len = smart_str_alloc(dest, len, persistent); in smart_str_extend_ex() local
59 ZSTR_LEN(dest->s) = new_len; in smart_str_extend_ex()
123 size_t new_len = smart_str_alloc(dest, 1, persistent); in smart_str_appendc_ex() local
124 ZSTR_VAL(dest->s)[new_len - 1] = ch; in smart_str_appendc_ex()
125 ZSTR_LEN(dest->s) = new_len; in smart_str_appendc_ex()
129 size_t new_len = smart_str_alloc(dest, len, persistent); in smart_str_appendl_ex() local
131 ZSTR_LEN(dest->s) = new_len; in smart_str_appendl_ex()
H A Dzend_smart_string.h85 size_t new_len = smart_string_alloc(dest, len, persistent); in smart_string_appendl_ex() local
87 dest->len = new_len; in smart_string_appendl_ex()
/PHP-8.3/ext/filter/
H A Dsanitizing_filters.c170 size_t new_len; in php_filter_string() local
196 new_len = php_strip_tags_ex(Z_STRVAL_P(value), Z_STRLEN_P(value), NULL, 0, 1); in php_filter_string()
197 Z_STRLEN_P(value) = new_len; in php_filter_string()
199 if (new_len == 0) { in php_filter_string()
/PHP-8.3/sapi/phpdbg/
H A Dphpdbg_utils.c197 PHPDBG_API char *phpdbg_trim(const char *str, size_t len, size_t *new_len) /* {{{ */ in phpdbg_trim() argument
213 *new_len = 0; in phpdbg_trim()
218 if (new_len) { in phpdbg_trim()
219 *new_len = len; in phpdbg_trim()
/PHP-8.3/win32/
H A Dioutil.c601 …_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
608 *new_len = 0; in php_win32_ioutil_normalize_path_w()
624 *new_len = len; in php_win32_ioutil_normalize_path_w()
634 *new_len = len; in php_win32_ioutil_normalize_path_w()
641 *new_len = ret_len; in php_win32_ioutil_normalize_path_w()
H A Dioutil.h171 …normalization_result php_win32_ioutil_normalize_path_w(wchar_t **buf, size_t len, size_t *new_len);
/PHP-8.3/ext/pcre/
H A Dphp_pcre.c1586 size_t new_len; /* Length of needed storage */ in php_pcre_replace_impl() local
1667 new_len = result_len + offsets[0] - last_end_offset; /* part before the match */ in php_pcre_replace_impl()
1683 new_len += offsets[(backref<<1)+1] - offsets[backref<<1]; in php_pcre_replace_impl()
1687 new_len++; in php_pcre_replace_impl()
1692 if (new_len >= alloc_len) { in php_pcre_replace_impl()
1693 alloc_len = zend_safe_address_guarded(2, new_len, ZSTR_MAX_OVERHEAD) - ZSTR_MAX_OVERHEAD; in php_pcre_replace_impl()
1827 size_t new_len; /* Length of needed storage */ in php_pcre_replace_func_impl() local
1921 new_len = result_len + offsets[0] - last_end_offset; /* part before the match */ in php_pcre_replace_func_impl()
1929new_len = zend_safe_address_guarded(1, ZSTR_LEN(eval_result) + ZSTR_MAX_OVERHEAD, new_len) -ZSTR_M… in php_pcre_replace_func_impl()
1930 if (new_len >= alloc_len) { in php_pcre_replace_func_impl()
[all …]
/PHP-8.3/ext/pgsql/
H A Dpgsql.c4214 size_t new_len; in php_pgsql_meta_data() local
4253 new_len = PQescapeStringConn(pg_link, escaped, tmp_name2, strlen(tmp_name2), NULL); in php_pgsql_meta_data()
4254 if (new_len) { in php_pgsql_meta_data()
4255 smart_str_appendl(&querystr, escaped, new_len); in php_pgsql_meta_data()
4261 new_len = PQescapeStringConn(pg_link, escaped, tmp_name, strlen(tmp_name), NULL); in php_pgsql_meta_data()
4262 if (new_len) { in php_pgsql_meta_data()
4263 smart_str_appendl(&querystr, escaped, new_len); in php_pgsql_meta_data()
5318 size_t new_len; in php_pgsql_insert() local
5321 new_len = PQescapeStringConn(pg_link, tmp, Z_STRVAL_P(val), Z_STRLEN_P(val), NULL); in php_pgsql_insert()
5323 smart_str_appendl(&querystr, tmp, new_len); in php_pgsql_insert()
[all …]
/PHP-8.3/ext/session/
H A Dphp_session.h249 PHPAPI void session_adapt_url(const char *url, size_t url_len, char **new_url, size_t *new_len);
H A Dsession.c1668 PHPAPI void session_adapt_url(const char *url, size_t url_len, char **new_url, size_t *new_len) /* … in session_adapt_url() argument
1671 …l = php_url_scanner_adapt_single_url(url, url_len, PS(session_name), ZSTR_VAL(PS(id)), new_len, 1); in session_adapt_url()
/PHP-8.3/ext/standard/
H A Dfile.c2034 size_t new_len; in php_fgetcsv() local
2035 char *new_buf = php_stream_get_line(stream, NULL, 0, &new_len); in php_fgetcsv()
2052 temp_len += new_len; in php_fgetcsv()
2058 buf_len = new_len; in php_fgetcsv()
/PHP-8.3/ext/phar/
H A Dphar_internal.h551 char *phar_fix_filepath(char *path, size_t *new_len, int use_cwd);
H A Dphar.c2131 char *phar_fix_filepath(char *path, size_t *new_len, int use_cwd) /* {{{ */ in phar_fix_filepath() argument
2137 size_t ptr_length, path_length = *new_len; in phar_fix_filepath()
2166 *new_len = 1; in phar_fix_filepath()
2174 *new_len = 1; in phar_fix_filepath()
2227 *new_len = newpath_len; in phar_fix_filepath()
H A Dphar_object.c1983 size_t new_len, oldname_len, phar_ext_len; in phar_rename_archive() local
2107 new_len = spprintf(&newpath, 0, "%s%s", basepath, newname); in phar_rename_archive()
2108 phar->fname_len = new_len; in phar_rename_archive()
/PHP-8.3/ext/soap/
H A Dphp_encoding.c879 size_t new_len = ZSTR_LEN(serialization); in to_xml_string() local
882 xmlBufferPtr in = xmlBufferCreateStatic(str, new_len); in to_xml_string()
890 new_len = n; in to_xml_string()
897 char *err = emalloc(new_len + 8); in to_xml_string()
901 memcpy(err, str, new_len+1); in to_xml_string()
937 text = xmlNewTextLen(BAD_CAST(str), new_len); in to_xml_string()
/PHP-8.3/ext/opcache/
H A Dzend_file_cache.c260 size_t new_len = info->str_size + len; local
263 ((_ZSTR_HEADER_SIZE + 1 + new_len + 4095) & ~0xfff) - (_ZSTR_HEADER_SIZE + 1),

Completed in 106 milliseconds