Home
last modified time | relevance | path

Searched refs:new_entry (Results 1 – 8 of 8) sorted by relevance

/PHP-7.4/ext/dba/
H A Ddba_cdb.c151 char *new_entry = NULL; in DBA_FETCH_FUNC() local
164 new_entry = safe_emalloc(len, 1, 1); in DBA_FETCH_FUNC()
166 if (php_cdb_read(&cdb->c, new_entry, len, cdb_datapos(&cdb->c)) == -1) { in DBA_FETCH_FUNC()
167 efree(new_entry); in DBA_FETCH_FUNC()
170 new_entry[len] = 0; in DBA_FETCH_FUNC()
175 return new_entry; in DBA_FETCH_FUNC()
/PHP-7.4/ext/opcache/
H A Dzend_accelerator_util_funcs.c173 zend_op_array *new_entry; in zend_hash_clone_methods() local
189 new_entry = Z_PTR(p->val); in zend_hash_clone_methods()
190 if (IN_ARENA(new_entry)) { in zend_hash_clone_methods()
191 new_entry = ARENA_REALLOC(new_entry); in zend_hash_clone_methods()
192 Z_PTR(p->val) = new_entry; in zend_hash_clone_methods()
194 if (IN_ARENA(new_entry->scope)) { in zend_hash_clone_methods()
195 new_entry->scope = ARENA_REALLOC(new_entry->scope); in zend_hash_clone_methods()
198 if (IN_ARENA(new_entry->prototype)) { in zend_hash_clone_methods()
199 new_entry->prototype = ARENA_REALLOC(new_entry->prototype); in zend_hash_clone_methods()
203 …ZEND_MAP_PTR_INIT(new_entry->run_time_cache, ARENA_REALLOC(ZEND_MAP_PTR(new_entry->run_time_cache)… in zend_hash_clone_methods()
[all …]
/PHP-7.4/sapi/apache2handler/
H A Dapache_config.c158 zval *new_entry; in merge_php_config() local
163 new_entry = zend_hash_add(&n->config, key, data); in merge_php_config()
165 config_entry_ctor(new_entry); in merge_php_config()
/PHP-7.4/Zend/
H A Dzend_ini.c146 zend_ini_entry *new_entry = pemalloc(sizeof(zend_ini_entry), 1); in copy_ini_entry() local
148 Z_PTR_P(zv) = new_entry; in copy_ini_entry()
149 memcpy(new_entry, old_entry, sizeof(zend_ini_entry)); in copy_ini_entry()
151 new_entry->name = zend_string_dup(old_entry->name, 1); in copy_ini_entry()
154 new_entry->value = zend_string_dup(old_entry->value, 1); in copy_ini_entry()
157 new_entry->orig_value = zend_string_dup(old_entry->orig_value, 1); in copy_ini_entry()
H A Dzend_hash.c1912 zval *new_entry, *data; in zend_hash_copy() local
1931 new_entry = zend_hash_update(target, p->key, data); in zend_hash_copy()
1933 new_entry = zend_hash_index_update(target, p->h, data); in zend_hash_copy()
1936 pCopyConstructor(new_entry); in zend_hash_copy()
/PHP-7.4/main/
H A Dphp_variables.c46 zval new_entry; in php_register_variable_safe() local
51 ZVAL_EMPTY_STRING(&new_entry); in php_register_variable_safe()
53 ZVAL_INTERNED_STR(&new_entry, ZSTR_CHAR((zend_uchar)*strval)); in php_register_variable_safe()
55 ZVAL_NEW_STR(&new_entry, zend_string_init(strval, str_len, 0)); in php_register_variable_safe()
57 php_register_variable_ex(var, &new_entry, track_vars_array); in php_register_variable_safe()
/PHP-7.4/ext/pcre/
H A Dphp_pcre.c597 pcre_cache_entry new_entry; in pcre_get_compiled_regex_cache_ex() local
842 new_entry.re = re; in pcre_get_compiled_regex_cache_ex()
843 new_entry.preg_options = poptions; in pcre_get_compiled_regex_cache_ex()
844 new_entry.compile_options = coptions; in pcre_get_compiled_regex_cache_ex()
845 new_entry.extra_compile_options = extra_coptions; in pcre_get_compiled_regex_cache_ex()
846 new_entry.refcount = 0; in pcre_get_compiled_regex_cache_ex()
848 rc = pcre2_pattern_info(re, PCRE2_INFO_CAPTURECOUNT, &new_entry.capture_count); in pcre_get_compiled_regex_cache_ex()
858 rc = pcre2_pattern_info(re, PCRE2_INFO_NAMECOUNT, &new_entry.name_count); in pcre_get_compiled_regex_cache_ex()
880 ret = zend_hash_add_new_mem(&PCRE_G(pcre_cache), str, &new_entry, sizeof(pcre_cache_entry)); in pcre_get_compiled_regex_cache_ex()
883 ret = zend_hash_add_new_mem(&PCRE_G(pcre_cache), key, &new_entry, sizeof(pcre_cache_entry)); in pcre_get_compiled_regex_cache_ex()
/PHP-7.4/sapi/cgi/
H A Dcgi_main.c787 user_config_cache_entry *new_entry, *entry; local
792 new_entry = pemalloc(sizeof(user_config_cache_entry), 1);
793 new_entry->expires = 0;
794 new_entry->user_config = (HashTable *) pemalloc(sizeof(HashTable), 1);
795 zend_hash_init(new_entry->user_config, 8, NULL, (dtor_func_t) config_zval_dtor, 1);
796 entry = zend_hash_str_update_ptr(&CGIG(user_config_cache), path, path_len, new_entry);

Completed in 38 milliseconds