Searched refs:new_entry (Results 1 – 8 of 8) sorted by relevance
/PHP-7.3/ext/dba/ |
H A D | dba_cdb.c | 151 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.3/sapi/apache2handler/ |
H A D | apache_config.c | 158 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.3/Zend/ |
H A D | zend_ini.c | 153 zend_ini_entry *new_entry = pemalloc(sizeof(zend_ini_entry), 1); in copy_ini_entry() local 155 Z_PTR_P(zv) = new_entry; in copy_ini_entry() 156 memcpy(new_entry, old_entry, sizeof(zend_ini_entry)); in copy_ini_entry() 158 new_entry->name = zend_string_dup(old_entry->name, 1); in copy_ini_entry() 161 new_entry->value = zend_string_dup(old_entry->value, 1); in copy_ini_entry() 164 new_entry->orig_value = zend_string_dup(old_entry->orig_value, 1); in copy_ini_entry()
|
H A D | zend_hash.c | 1789 zval *new_entry, *data; in zend_hash_copy() local 1808 new_entry = zend_hash_update(target, p->key, data); in zend_hash_copy() 1810 new_entry = zend_hash_index_update(target, p->h, data); in zend_hash_copy() 1813 pCopyConstructor(new_entry); in zend_hash_copy()
|
/PHP-7.3/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 226 zend_op_array *new_entry; in zend_hash_clone_methods() local 265 new_entry = (zend_op_array*)Z_PTR(q->val); in zend_hash_clone_methods() 267 if ((void*)new_entry->scope >= ZCG(current_persistent_script)->arena_mem && in zend_hash_clone_methods() 268 …(void*)new_entry->scope < (void*)((char*)ZCG(current_persistent_script)->arena_mem + ZCG(current_p… in zend_hash_clone_methods() 270 new_entry->scope = ARENA_REALLOC(new_entry->scope); in zend_hash_clone_methods() 273 if (new_entry->prototype) { in zend_hash_clone_methods() 274 new_entry->prototype = ARENA_REALLOC(new_entry->prototype); in zend_hash_clone_methods()
|
/PHP-7.3/main/ |
H A D | php_variables.c | 46 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.3/ext/pcre/ |
H A D | php_pcre.c | 551 pcre_cache_entry new_entry; in pcre_get_compiled_regex_cache_ex() local 814 new_entry.re = re; in pcre_get_compiled_regex_cache_ex() 815 new_entry.preg_options = poptions; in pcre_get_compiled_regex_cache_ex() 816 new_entry.compile_options = coptions; in pcre_get_compiled_regex_cache_ex() 817 new_entry.extra_compile_options = extra_coptions; in pcre_get_compiled_regex_cache_ex() 818 new_entry.refcount = 0; in pcre_get_compiled_regex_cache_ex() 820 rc = pcre2_pattern_info(re, PCRE2_INFO_CAPTURECOUNT, &new_entry.capture_count); in pcre_get_compiled_regex_cache_ex() 832 rc = pcre2_pattern_info(re, PCRE2_INFO_NAMECOUNT, &new_entry.name_count); in pcre_get_compiled_regex_cache_ex() 862 ret = zend_hash_add_new_mem(&PCRE_G(pcre_cache), str, &new_entry, sizeof(pcre_cache_entry)); in pcre_get_compiled_regex_cache_ex() 865 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.3/sapi/cgi/ |
H A D | cgi_main.c | 794 user_config_cache_entry *new_entry, *entry; local 799 new_entry = pemalloc(sizeof(user_config_cache_entry), 1); 800 new_entry->expires = 0; 801 new_entry->user_config = (HashTable *) pemalloc(sizeof(HashTable), 1); 802 zend_hash_init(new_entry->user_config, 8, NULL, (dtor_func_t) config_zval_dtor, 1); 803 entry = zend_hash_str_update_ptr(&CGIG(user_config_cache), path, path_len, new_entry);
|
Completed in 50 milliseconds