Home
last modified time | relevance | path

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

/PHP-8.0/ext/dba/
H A Ddba_cdb.c149 char *new_entry = NULL; in DBA_FETCH_FUNC() local
162 new_entry = safe_emalloc(len, 1, 1); in DBA_FETCH_FUNC()
164 if (php_cdb_read(&cdb->c, new_entry, len, cdb_datapos(&cdb->c)) == -1) { in DBA_FETCH_FUNC()
165 efree(new_entry); in DBA_FETCH_FUNC()
168 new_entry[len] = 0; in DBA_FETCH_FUNC()
173 return new_entry; in DBA_FETCH_FUNC()
/PHP-8.0/ext/opcache/
H A Dzend_accelerator_util_funcs.c177 zend_op_array *new_entry; in zend_hash_clone_methods() local
193 new_entry = Z_PTR(p->val); in zend_hash_clone_methods()
194 if (IN_ARENA(new_entry)) { in zend_hash_clone_methods()
195 new_entry = ARENA_REALLOC(new_entry); in zend_hash_clone_methods()
196 Z_PTR(p->val) = new_entry; in zend_hash_clone_methods()
198 if (IN_ARENA(new_entry->scope)) { in zend_hash_clone_methods()
199 new_entry->scope = ARENA_REALLOC(new_entry->scope); in zend_hash_clone_methods()
202 if (IN_ARENA(new_entry->prototype)) { in zend_hash_clone_methods()
203 new_entry->prototype = ARENA_REALLOC(new_entry->prototype); in zend_hash_clone_methods()
207 …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-8.0/sapi/apache2handler/
H A Dapache_config.c162 zval *new_entry; in merge_php_config() local
167 new_entry = zend_hash_add(&n->config, key, data); in merge_php_config()
169 config_entry_ctor(new_entry); in merge_php_config()
/PHP-8.0/Zend/
H A Dzend_ini.c142 zend_ini_entry *new_entry = pemalloc(sizeof(zend_ini_entry), 1); in copy_ini_entry() local
144 Z_PTR_P(zv) = new_entry; in copy_ini_entry()
145 memcpy(new_entry, old_entry, sizeof(zend_ini_entry)); in copy_ini_entry()
147 new_entry->name = zend_string_dup(old_entry->name, 1); in copy_ini_entry()
150 new_entry->value = zend_string_dup(old_entry->value, 1); in copy_ini_entry()
153 new_entry->orig_value = zend_string_dup(old_entry->orig_value, 1); in copy_ini_entry()
H A Dzend_hash.c1937 zval *new_entry, *data; in zend_hash_copy() local
1956 new_entry = zend_hash_update(target, p->key, data); in zend_hash_copy()
1958 new_entry = zend_hash_index_update(target, p->h, data); in zend_hash_copy()
1961 pCopyConstructor(new_entry); in zend_hash_copy()
/PHP-8.0/ext/pcre/
H A Dphp_pcre.c624 pcre_cache_entry new_entry; in pcre_get_compiled_regex_cache_ex() local
858 new_entry.re = re; in pcre_get_compiled_regex_cache_ex()
859 new_entry.preg_options = poptions; in pcre_get_compiled_regex_cache_ex()
860 new_entry.compile_options = coptions; in pcre_get_compiled_regex_cache_ex()
861 new_entry.refcount = 0; in pcre_get_compiled_regex_cache_ex()
863 rc = pcre2_pattern_info(re, PCRE2_INFO_CAPTURECOUNT, &new_entry.capture_count); in pcre_get_compiled_regex_cache_ex()
873 rc = pcre2_pattern_info(re, PCRE2_INFO_NAMECOUNT, &new_entry.name_count); in pcre_get_compiled_regex_cache_ex()
895 ret = zend_hash_add_new_mem(&PCRE_G(pcre_cache), str, &new_entry, sizeof(pcre_cache_entry)); in pcre_get_compiled_regex_cache_ex()
898 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-8.0/main/
H A Dphp_variables.c41 zval new_entry; in php_register_variable_safe() local
44 ZVAL_STRINGL_FAST(&new_entry, strval, str_len); in php_register_variable_safe()
46 php_register_variable_ex(var, &new_entry, track_vars_array); in php_register_variable_safe()
/PHP-8.0/sapi/cgi/
H A Dcgi_main.c782 user_config_cache_entry *new_entry, *entry; local
787 new_entry = pemalloc(sizeof(user_config_cache_entry), 1);
788 new_entry->expires = 0;
789 new_entry->user_config = (HashTable *) pemalloc(sizeof(HashTable), 1);
790 zend_hash_init(new_entry->user_config, 8, NULL, (dtor_func_t) config_zval_dtor, 1);
791 entry = zend_hash_str_update_ptr(&CGIG(user_config_cache), path, path_len, new_entry);

Completed in 43 milliseconds