Searched defs:new_entry (Results 1 - 7 of 7) sorted by relevance

/PHP_TRUNK/ext/dba/
H A Ddba_cdb.c153 char *new_entry = NULL; local
166 new_entry = safe_emalloc(len, 1, 1);
168 if (php_cdb_read(&cdb->c, new_entry, len, cdb_datapos(&cdb->c)) == -1) {
169 efree(new_entry);
172 new_entry[len] = 0;
177 return new_entry;
/PHP_TRUNK/main/
H A Dphp_variables.c48 zval new_entry; local
52 ZVAL_NEW_STR(&new_entry, zend_string_init(strval, str_len, 0));
53 php_register_variable_ex(var, &new_entry, track_vars_array TSRMLS_CC);
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c753 user_config_cache_entry *new_entry, *entry; local
758 new_entry = pemalloc(sizeof(user_config_cache_entry), 1);
759 new_entry->expires = 0;
760 new_entry->user_config = (HashTable *) pemalloc(sizeof(HashTable), 1);
761 zend_hash_init(new_entry->user_config, 8, NULL, (dtor_func_t) config_zval_dtor, 1);
762 entry = zend_hash_str_update_ptr(&CGIG(user_config_cache), path, path_len, new_entry);
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_util_funcs.c434 zend_op_array *new_entry; local
473 new_entry = (zend_op_array*)Z_PTR(q->val);
474 *new_entry = *(zend_op_array*)Z_PTR(p->val);
478 if (new_entry->refcount != NULL) {
479 accel_xlat_set(Z_PTR(p->val), new_entry);
482 zend_prepare_function_for_execution(new_entry);
484 if (old_ce == new_entry->scope) {
485 new_entry->scope = ce;
487 if ((new_ce = accel_xlat_get(new_entry->scope)) != NULL) {
488 new_entry
[all...]
/PHP_TRUNK/Zend/
H A Dzend_hash.c1149 zval *new_entry, *data; local
1172 new_entry = zend_hash_update(target, p->key, data);
1174 new_entry = zend_hash_index_update(target, p->h, data);
1177 pCopyConstructor(new_entry);
H A Dzend_ini.c149 zend_ini_entry *new_entry = pemalloc(sizeof(zend_ini_entry), 1); local
151 Z_PTR_P(zv) = new_entry;
152 memcpy(new_entry, old_entry, sizeof(zend_ini_entry));
154 new_entry->name = zend_string_init(old_entry->name->val, old_entry->name->len, 1);
157 new_entry->value = zend_string_init(old_entry->value->val, old_entry->value->len, 1);
160 new_entry->orig_value = zend_string_init(old_entry->orig_value->val, old_entry->orig_value->len, 1);
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.c245 pcre_cache_entry new_entry; local
449 new_entry.re = re;
450 new_entry.extra = extra;
451 new_entry.preg_options = poptions;
452 new_entry.compile_options = coptions;
454 new_entry.locale = pestrdup(locale, 1);
455 new_entry.tables = tables;
458 rc = pcre_fullinfo(re, extra, PCRE_INFO_CAPTURECOUNT, &new_entry.capture_count);
464 rc = pcre_fullinfo(re, extra, PCRE_INFO_NAMECOUNT, &new_entry.name_count);
478 pce = zend_hash_str_update_mem(&PCRE_G(pcre_cache), regex->val, regex->len, &new_entry, sizeo
[all...]

Completed in 15 milliseconds