Home
last modified time | relevance | path

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

/PHP-7.0/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.0/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.c1645 zval *new_entry, *data; in zend_hash_copy() local
1669 new_entry = zend_hash_update(target, p->key, data); in zend_hash_copy()
1671 new_entry = zend_hash_index_update(target, p->h, data); in zend_hash_copy()
1674 pCopyConstructor(new_entry); in zend_hash_copy()
/PHP-7.0/ext/opcache/
H A Dzend_accelerator_util_funcs.c277 zend_op_array *new_entry; in zend_hash_clone_methods() local
316 new_entry = (zend_op_array*)Z_PTR(q->val); in zend_hash_clone_methods()
318 if ((void*)new_entry->scope >= ZCG(current_persistent_script)->arena_mem && in zend_hash_clone_methods()
319 …(void*)new_entry->scope < (void*)((char*)ZCG(current_persistent_script)->arena_mem + ZCG(current_p… in zend_hash_clone_methods()
321 new_entry->scope = ARENA_REALLOC(new_entry->scope); in zend_hash_clone_methods()
324 if (new_entry->prototype) { in zend_hash_clone_methods()
325 new_entry->prototype = ARENA_REALLOC(new_entry->prototype); in zend_hash_clone_methods()
/PHP-7.0/ext/pcre/
H A Dphp_pcre.c318 pcre_cache_entry new_entry; in pcre_get_compiled_regex_cache() local
555 new_entry.re = re; in pcre_get_compiled_regex_cache()
556 new_entry.extra = extra; in pcre_get_compiled_regex_cache()
557 new_entry.preg_options = poptions; in pcre_get_compiled_regex_cache()
558 new_entry.compile_options = coptions; in pcre_get_compiled_regex_cache()
560 new_entry.locale = NULL; in pcre_get_compiled_regex_cache()
561 new_entry.tables = tables; in pcre_get_compiled_regex_cache()
563 new_entry.refcount = 0; in pcre_get_compiled_regex_cache()
565 rc = pcre_fullinfo(re, extra, PCRE_INFO_CAPTURECOUNT, &new_entry.capture_count); in pcre_get_compiled_regex_cache()
577 rc = pcre_fullinfo(re, extra, PCRE_INFO_NAMECOUNT, &new_entry.name_count); in pcre_get_compiled_regex_cache()
[all …]
/PHP-7.0/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.0/sapi/cgi/
H A Dcgi_main.c737 user_config_cache_entry *new_entry, *entry; local
742 new_entry = pemalloc(sizeof(user_config_cache_entry), 1);
743 new_entry->expires = 0;
744 new_entry->user_config = (HashTable *) pemalloc(sizeof(HashTable), 1);
745 zend_hash_init(new_entry->user_config, 8, NULL, (dtor_func_t) config_zval_dtor, 1);
746 entry = zend_hash_str_update_ptr(&CGIG(user_config_cache), path, path_len, new_entry);

Completed in 37 milliseconds