/PHP-8.2/Zend/ |
H A D | zend_smart_str.h | 57 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 D | zend_smart_string.h | 85 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.2/ext/filter/ |
H A D | sanitizing_filters.c | 170 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.2/sapi/phpdbg/ |
H A D | phpdbg_utils.c | 197 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.2/win32/ |
H A D | ioutil.c | 601 …_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 D | ioutil.h | 171 …normalization_result php_win32_ioutil_normalize_path_w(wchar_t **buf, size_t len, size_t *new_len);
|
/PHP-8.2/ext/pcre/ |
H A D | php_pcre.c | 1605 size_t new_len; /* Length of needed storage */ in php_pcre_replace_impl() local 1686 new_len = result_len + offsets[0] - last_end_offset; /* part before the match */ in php_pcre_replace_impl() 1702 new_len += offsets[(backref<<1)+1] - offsets[backref<<1]; in php_pcre_replace_impl() 1706 new_len++; in php_pcre_replace_impl() 1711 if (new_len >= alloc_len) { in php_pcre_replace_impl() 1712 alloc_len = zend_safe_address_guarded(2, new_len, ZSTR_MAX_OVERHEAD) - ZSTR_MAX_OVERHEAD; in php_pcre_replace_impl() 1846 size_t new_len; /* Length of needed storage */ in php_pcre_replace_func_impl() local 1940 new_len = result_len + offsets[0] - last_end_offset; /* part before the match */ in php_pcre_replace_func_impl() 1948 …new_len = zend_safe_address_guarded(1, ZSTR_LEN(eval_result) + ZSTR_MAX_OVERHEAD, new_len) -ZSTR_M… in php_pcre_replace_func_impl() 1949 if (new_len >= alloc_len) { in php_pcre_replace_func_impl() [all …]
|
/PHP-8.2/ext/pgsql/ |
H A D | pgsql.c | 4165 size_t new_len; in php_pgsql_meta_data() local 4205 new_len = PQescapeStringConn(pg_link, escaped, tmp_name2, strlen(tmp_name2), NULL); in php_pgsql_meta_data() 4206 if (new_len) { in php_pgsql_meta_data() 4207 smart_str_appendl(&querystr, escaped, new_len); in php_pgsql_meta_data() 4213 new_len = PQescapeStringConn(pg_link, escaped, tmp_name, strlen(tmp_name), NULL); in php_pgsql_meta_data() 4214 if (new_len) { in php_pgsql_meta_data() 4215 smart_str_appendl(&querystr, escaped, new_len); in php_pgsql_meta_data() 5267 size_t new_len; in php_pgsql_insert() local 5270 new_len = PQescapeStringConn(pg_link, tmp, Z_STRVAL_P(val), Z_STRLEN_P(val), NULL); in php_pgsql_insert() 5272 smart_str_appendl(&querystr, tmp, new_len); in php_pgsql_insert() [all …]
|
/PHP-8.2/ext/session/ |
H A D | php_session.h | 251 PHPAPI void session_adapt_url(const char *url, size_t url_len, char **new_url, size_t *new_len);
|
H A D | session.c | 1646 PHPAPI void session_adapt_url(const char *url, size_t url_len, char **new_url, size_t *new_len) /* … in session_adapt_url() argument 1649 …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.2/ext/standard/ |
H A D | file.c | 2024 size_t new_len; in php_fgetcsv() local 2025 char *new_buf = php_stream_get_line(stream, NULL, 0, &new_len); in php_fgetcsv() 2034 temp_len += new_len; in php_fgetcsv() 2040 buf_len = new_len; in php_fgetcsv()
|
/PHP-8.2/ext/soap/ |
H A D | php_encoding.c | 829 int new_len; in to_xml_string() local 837 new_len = Z_STRLEN_P(data); in to_xml_string() 841 new_len = ZSTR_LEN(tmp); in to_xml_string() 846 xmlBufferPtr in = xmlBufferCreateStatic(str, new_len); in to_xml_string() 853 new_len = n; in to_xml_string() 860 char *err = emalloc(new_len + 8); in to_xml_string() 864 memcpy(err, str, new_len+1); in to_xml_string() 900 text = xmlNewTextLen(BAD_CAST(str), new_len); in to_xml_string()
|
/PHP-8.2/ext/phar/ |
H A D | phar_internal.h | 551 char *phar_fix_filepath(char *path, size_t *new_len, int use_cwd);
|
H A D | phar.c | 2131 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 D | phar_object.c | 1971 size_t new_len, oldname_len, phar_ext_len; in phar_rename_archive() local 2095 new_len = spprintf(&newpath, 0, "%s%s", basepath, newname); in phar_rename_archive() 2096 phar->fname_len = new_len; in phar_rename_archive()
|
/PHP-8.2/ext/opcache/ |
H A D | zend_file_cache.c | 259 size_t new_len = info->str_size + len; local 262 ((_ZSTR_HEADER_SIZE + 1 + new_len + 4095) & ~0xfff) - (_ZSTR_HEADER_SIZE + 1),
|