Home
last modified time | relevance | path

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

/PHP-7.1/ext/dba/
H A Ddba_cdb.c153 char *new_entry = NULL; in DBA_FETCH_FUNC() local
166 new_entry = safe_emalloc(len, 1, 1); in DBA_FETCH_FUNC()
168 if (php_cdb_read(&cdb->c, new_entry, len, cdb_datapos(&cdb->c)) == -1) { in DBA_FETCH_FUNC()
169 efree(new_entry); in DBA_FETCH_FUNC()
172 new_entry[len] = 0; in DBA_FETCH_FUNC()
177 return new_entry; in DBA_FETCH_FUNC()
/PHP-7.1/sapi/apache2handler/
H A Dapache_config.c160 zval *new_entry; in merge_php_config() local
165 new_entry = zend_hash_add(&n->config, key, data); in merge_php_config()
167 config_entry_ctor(new_entry); in merge_php_config()
/PHP-7.1/Zend/
H A Dzend_ini.c155 zend_ini_entry *new_entry = pemalloc(sizeof(zend_ini_entry), 1); in copy_ini_entry() local
157 Z_PTR_P(zv) = new_entry; in copy_ini_entry()
158 memcpy(new_entry, old_entry, sizeof(zend_ini_entry)); in copy_ini_entry()
160 new_entry->name = zend_string_init(ZSTR_VAL(old_entry->name), ZSTR_LEN(old_entry->name), 1); in copy_ini_entry()
163 new_entry->value = zend_string_init(ZSTR_VAL(old_entry->value), ZSTR_LEN(old_entry->value), 1); in copy_ini_entry()
166new_entry->orig_value = zend_string_init(ZSTR_VAL(old_entry->orig_value), ZSTR_LEN(old_entry->orig… in copy_ini_entry()
H A Dzend_hash.c1616 zval *new_entry, *data; in zend_hash_copy() local
1640 new_entry = zend_hash_update(target, p->key, data); in zend_hash_copy()
1642 new_entry = zend_hash_index_update(target, p->h, data); in zend_hash_copy()
1645 pCopyConstructor(new_entry); in zend_hash_copy()
/PHP-7.1/ext/opcache/
H A Dzend_accelerator_util_funcs.c227 zend_op_array *new_entry; in zend_hash_clone_methods() local
266 new_entry = (zend_op_array*)Z_PTR(q->val); in zend_hash_clone_methods()
268 if ((void*)new_entry->scope >= ZCG(current_persistent_script)->arena_mem && in zend_hash_clone_methods()
269 …(void*)new_entry->scope < (void*)((char*)ZCG(current_persistent_script)->arena_mem + ZCG(current_p… in zend_hash_clone_methods()
271 new_entry->scope = ARENA_REALLOC(new_entry->scope); in zend_hash_clone_methods()
274 if (new_entry->prototype) { in zend_hash_clone_methods()
275 new_entry->prototype = ARENA_REALLOC(new_entry->prototype); in zend_hash_clone_methods()
/PHP-7.1/ext/pcre/
H A Dphp_pcre.c336 pcre_cache_entry new_entry; in pcre_get_compiled_regex_cache() local
575 new_entry.re = re; in pcre_get_compiled_regex_cache()
576 new_entry.extra = extra; in pcre_get_compiled_regex_cache()
577 new_entry.preg_options = poptions; in pcre_get_compiled_regex_cache()
578 new_entry.compile_options = coptions; in pcre_get_compiled_regex_cache()
580 new_entry.locale = NULL; in pcre_get_compiled_regex_cache()
581 new_entry.tables = tables; in pcre_get_compiled_regex_cache()
583 new_entry.refcount = 0; in pcre_get_compiled_regex_cache()
585 rc = pcre_fullinfo(re, extra, PCRE_INFO_CAPTURECOUNT, &new_entry.capture_count); in pcre_get_compiled_regex_cache()
597 rc = pcre_fullinfo(re, extra, PCRE_INFO_NAMECOUNT, &new_entry.name_count); in pcre_get_compiled_regex_cache()
[all …]
/PHP-7.1/main/
H A Dphp_variables.c48 zval new_entry; in php_register_variable_safe() local
52 ZVAL_NEW_STR(&new_entry, zend_string_init(strval, str_len, 0)); in php_register_variable_safe()
53 php_register_variable_ex(var, &new_entry, track_vars_array); in php_register_variable_safe()
/PHP-7.1/sapi/cgi/
H A Dcgi_main.c796 user_config_cache_entry *new_entry, *entry; local
801 new_entry = pemalloc(sizeof(user_config_cache_entry), 1);
802 new_entry->expires = 0;
803 new_entry->user_config = (HashTable *) pemalloc(sizeof(HashTable), 1);
804 zend_hash_init(new_entry->user_config, 8, NULL, (dtor_func_t) config_zval_dtor, 1);
805 entry = zend_hash_str_update_ptr(&CGIG(user_config_cache), path, path_len, new_entry);

Completed in 56 milliseconds