/php-src/Zend/ |
H A D | zend_smart_str.h | 58 size_t new_len = smart_str_alloc(dest, len, persistent); in smart_str_extend_ex() local 60 ZSTR_LEN(dest->s) = new_len; in smart_str_extend_ex() 124 size_t new_len = smart_str_alloc(dest, 1, persistent); in smart_str_appendc_ex() local 125 ZSTR_VAL(dest->s)[new_len - 1] = ch; in smart_str_appendc_ex() 126 ZSTR_LEN(dest->s) = new_len; in smart_str_appendc_ex() 130 size_t new_len = smart_str_alloc(dest, len, persistent); in smart_str_appendl_ex() local 132 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-src/ext/filter/ |
H A D | sanitizing_filters.c | 172 size_t new_len; in php_filter_string() local 198 new_len = php_strip_tags_ex(Z_STRVAL_P(value), Z_STRLEN_P(value), NULL, 0, 1); in php_filter_string() 199 Z_STRLEN_P(value) = new_len; in php_filter_string() 201 if (new_len == 0) { in php_filter_string()
|
/php-src/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-src/win32/ |
H A D | ioutil.c | 597 …_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 604 *new_len = 0; in php_win32_ioutil_normalize_path_w() 620 *new_len = len; in php_win32_ioutil_normalize_path_w() 630 *new_len = len; in php_win32_ioutil_normalize_path_w() 637 *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-src/ext/pcre/ |
H A D | php_pcre.c | 1616 size_t new_len; /* Length of needed storage */ in php_pcre_replace_impl() local 1698 new_len = result_len + offsets[0] - last_end_offset; /* part before the match */ in php_pcre_replace_impl() 1714 new_len += offsets[(backref<<1)+1] - offsets[backref<<1]; in php_pcre_replace_impl() 1718 new_len++; in php_pcre_replace_impl() 1723 if (new_len >= alloc_len) { in php_pcre_replace_impl() 1724 alloc_len = zend_safe_address_guarded(2, new_len, ZSTR_MAX_OVERHEAD) - ZSTR_MAX_OVERHEAD; in php_pcre_replace_impl() 1858 size_t new_len; /* Length of needed storage */ in php_pcre_replace_func_impl() local 1939 new_len = result_len + offsets[0] - last_end_offset; /* part before the match */ in php_pcre_replace_func_impl() 1947 …new_len = zend_safe_address_guarded(1, ZSTR_LEN(eval_result) + ZSTR_MAX_OVERHEAD, new_len) -ZSTR_M… in php_pcre_replace_func_impl() 1948 if (new_len >= alloc_len) { in php_pcre_replace_func_impl() [all …]
|
/php-src/ext/pgsql/ |
H A D | pgsql.c | 4520 size_t new_len, len; in php_pgsql_meta_data() local 4560 new_len = PQescapeStringConn(pg_link, escaped, tmp_name2, len, NULL); in php_pgsql_meta_data() 4561 if (new_len) { in php_pgsql_meta_data() 4562 smart_str_appendl(&querystr, escaped, new_len); in php_pgsql_meta_data() 4569 new_len = PQescapeStringConn(pg_link, escaped, tmp_name, len, NULL); in php_pgsql_meta_data() 4570 if (new_len) { in php_pgsql_meta_data() 4571 smart_str_appendl(&querystr, escaped, new_len); in php_pgsql_meta_data() 5575 size_t new_len; in php_pgsql_insert() local 5578 new_len = PQescapeStringConn(pg_link, tmp, Z_STRVAL_P(val), Z_STRLEN_P(val), NULL); in php_pgsql_insert() 5580 smart_str_appendl(&querystr, tmp, new_len); in php_pgsql_insert() [all …]
|
/php-src/ext/session/ |
H A D | php_session.h | 252 PHPAPI void session_adapt_url(const char *url, size_t url_len, char **new_url, size_t *new_len);
|
H A D | session.c | 1761 PHPAPI void session_adapt_url(const char *url, size_t url_len, char **new_url, size_t *new_len) /* … in session_adapt_url() argument 1764 …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-src/ext/standard/ |
H A D | file.c | 1990 size_t new_len; in php_fgetcsv() local 1991 char *new_buf = php_stream_get_line(stream, NULL, 0, &new_len); in php_fgetcsv() 2008 temp_len += new_len; in php_fgetcsv() 2014 buf_len = new_len; in php_fgetcsv()
|
/php-src/ext/phar/ |
H A D | phar_internal.h | 427 char *phar_fix_filepath(char *path, size_t *new_len, int use_cwd);
|
H A D | phar.c | 2127 char *phar_fix_filepath(char *path, size_t *new_len, int use_cwd) /* {{{ */ in phar_fix_filepath() argument 2133 size_t ptr_length, path_length = *new_len; in phar_fix_filepath() 2162 *new_len = 1; in phar_fix_filepath() 2170 *new_len = 1; in phar_fix_filepath() 2221 *new_len = newpath_len; in phar_fix_filepath()
|
H A D | phar_object.c | 1991 size_t new_len, oldname_len, phar_ext_len; in phar_rename_archive() local 2115 new_len = spprintf(&newpath, 0, "%s%s", basepath, newname); in phar_rename_archive() 2116 phar->fname_len = new_len; in phar_rename_archive()
|
/php-src/ext/soap/ |
H A D | php_encoding.c | 887 size_t new_len = ZSTR_LEN(serialization); in to_xml_string() local 890 xmlBufferPtr in = xmlBufferCreateStatic(str, new_len); in to_xml_string() 898 new_len = n; in to_xml_string() 905 char *err = emalloc(new_len + 8); in to_xml_string() 909 memcpy(err, str, new_len+1); in to_xml_string() 945 text = xmlNewTextLen(BAD_CAST(str), new_len); in to_xml_string()
|
/php-src/ext/opcache/ |
H A D | zend_file_cache.c | 263 size_t new_len = info->str_size + len; local 266 ((_ZSTR_HEADER_SIZE + 1 + new_len + 4095) & ~0xfff) - (_ZSTR_HEADER_SIZE + 1),
|