Home
last modified time | relevance | path

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

/PHP-5.5/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-5.5/ext/opcache/
H A Dzend_accelerator_util_funcs.c393 zend_op_array *new_entry; local
463 new_entry = (zend_op_array*)q->pData;
464 *new_entry = *(zend_op_array*)p->pData;
469 if (new_entry->refcount != NULL) {
470 accel_xlat_set(p->pData, new_entry);
473 zend_prepare_function_for_execution(new_entry);
475 if (old_ce == new_entry->scope) {
476 new_entry->scope = ce;
479 new_entry->scope = *new_ce;
486 if (new_entry->prototype) {
[all …]
/PHP-5.5/main/
H A Dphp_variables.c44 zval new_entry; in php_register_variable_safe() local
48 Z_STRLEN(new_entry) = str_len; in php_register_variable_safe()
49 Z_STRVAL(new_entry) = estrndup(strval, Z_STRLEN(new_entry)); in php_register_variable_safe()
50 Z_TYPE(new_entry) = IS_STRING; in php_register_variable_safe()
52 php_register_variable_ex(var, &new_entry, track_vars_array TSRMLS_CC); in php_register_variable_safe()
/PHP-5.5/ext/pcre/
H A Dphp_pcre.c270 pcre_cache_entry new_entry; in pcre_get_compiled_regex_cache() local
461 new_entry.re = re; in pcre_get_compiled_regex_cache()
462 new_entry.extra = extra; in pcre_get_compiled_regex_cache()
463 new_entry.preg_options = poptions; in pcre_get_compiled_regex_cache()
464 new_entry.compile_options = coptions; in pcre_get_compiled_regex_cache()
466 new_entry.locale = pestrdup(locale, 1); in pcre_get_compiled_regex_cache()
467 new_entry.tables = tables; in pcre_get_compiled_regex_cache()
469 new_entry.refcount = 0; in pcre_get_compiled_regex_cache()
483 zend_hash_update(&PCRE_G(pcre_cache), regex, regex_len+1, (void *)&new_entry, in pcre_get_compiled_regex_cache()
/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_main.c698 user_config_cache_entry *new_entry, *entry; local
703 new_entry = pemalloc(sizeof(user_config_cache_entry), 1);
704 new_entry->expires = 0;
705 new_entry->user_config = (HashTable *) pemalloc(sizeof(HashTable), 1);
706 zend_hash_init(new_entry->user_config, 0, NULL, (dtor_func_t) config_zval_dtor, 1);
707 …zend_hash_update(&CGIG(user_config_cache), path, path_len + 1, new_entry, sizeof(user_config_cache…
708 free(new_entry);
/PHP-5.5/sapi/cgi/
H A Dcgi_main.c757 user_config_cache_entry *new_entry, *entry; local
762 new_entry = pemalloc(sizeof(user_config_cache_entry), 1);
763 new_entry->expires = 0;
764 new_entry->user_config = (HashTable *) pemalloc(sizeof(HashTable), 1);
765 zend_hash_init(new_entry->user_config, 0, NULL, (dtor_func_t) config_zval_dtor, 1);
766 …zend_hash_update(&CGIG(user_config_cache), path, path_len + 1, new_entry, sizeof(user_config_cache…
767 free(new_entry);
/PHP-5.5/Zend/
H A Dzend_hash.c817 void *new_entry; in zend_hash_copy() local
830 zend_hash_quick_update(target, p->arKey, p->nKeyLength, p->h, p->pData, size, &new_entry); in zend_hash_copy()
832 zend_hash_index_update(target, p->h, p->pData, size, &new_entry); in zend_hash_copy()
835 pCopyConstructor(new_entry); in zend_hash_copy()

Completed in 36 milliseconds