Home
last modified time | relevance | path

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

/PHP-5.6/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.6/ext/opcache/
H A Dzend_accelerator_util_funcs.c455 zend_op_array *new_entry; local
525 new_entry = (zend_op_array*)q->pData;
526 *new_entry = *(zend_op_array*)p->pData;
531 if (new_entry->refcount != NULL) {
532 accel_xlat_set(p->pData, new_entry);
535 zend_prepare_function_for_execution(new_entry);
537 if (old_ce == new_entry->scope) {
538 new_entry->scope = ce;
541 new_entry->scope = *new_ce;
548 if (new_entry->prototype) {
[all …]
/PHP-5.6/main/
H A Dphp_variables.c48 zval new_entry; in php_register_variable_safe() local
52 Z_STRLEN(new_entry) = str_len; in php_register_variable_safe()
53 Z_STRVAL(new_entry) = estrndup(strval, Z_STRLEN(new_entry)); in php_register_variable_safe()
54 Z_TYPE(new_entry) = IS_STRING; in php_register_variable_safe()
56 php_register_variable_ex(var, &new_entry, track_vars_array TSRMLS_CC); in php_register_variable_safe()
/PHP-5.6/ext/pcre/
H A Dphp_pcre.c275 pcre_cache_entry new_entry; in pcre_get_compiled_regex_cache() local
467 new_entry.re = re; in pcre_get_compiled_regex_cache()
468 new_entry.extra = extra; in pcre_get_compiled_regex_cache()
469 new_entry.preg_options = poptions; in pcre_get_compiled_regex_cache()
470 new_entry.compile_options = coptions; in pcre_get_compiled_regex_cache()
472 new_entry.locale = pestrdup(locale, 1); in pcre_get_compiled_regex_cache()
473 new_entry.tables = tables; in pcre_get_compiled_regex_cache()
475 new_entry.refcount = 0; in pcre_get_compiled_regex_cache()
489 zend_hash_update(&PCRE_G(pcre_cache), regex, regex_len+1, (void *)&new_entry, in pcre_get_compiled_regex_cache()
/PHP-5.6/sapi/fpm/fpm/
H A Dfpm_main.c703 user_config_cache_entry *new_entry, *entry; local
708 new_entry = pemalloc(sizeof(user_config_cache_entry), 1);
709 new_entry->expires = 0;
710 new_entry->user_config = (HashTable *) pemalloc(sizeof(HashTable), 1);
711 zend_hash_init(new_entry->user_config, 0, NULL, (dtor_func_t) config_zval_dtor, 1);
712 …zend_hash_update(&CGIG(user_config_cache), path, path_len + 1, new_entry, sizeof(user_config_cache…
713 free(new_entry);
/PHP-5.6/Zend/
H A Dzend_hash.c748 void *new_entry; in zend_hash_copy() local
761 zend_hash_quick_update(target, p->arKey, p->nKeyLength, p->h, p->pData, size, &new_entry); in zend_hash_copy()
763 zend_hash_index_update(target, p->h, p->pData, size, &new_entry); in zend_hash_copy()
766 pCopyConstructor(new_entry); in zend_hash_copy()
1315 void *new_entry; in _zend_hash_splice() local
1318 zend_hash_next_index_insert(removed, p->pData, sizeof(zval *), &new_entry); in _zend_hash_splice()
1320 …nd_hash_quick_update(removed, p->arKey, p->nKeyLength, p->h, p->pData, sizeof(zval *), &new_entry); in _zend_hash_splice()
1324 pCopyConstructor(new_entry); in _zend_hash_splice()
/PHP-5.6/sapi/cgi/
H A Dcgi_main.c765 user_config_cache_entry *new_entry, *entry; local
770 new_entry = pemalloc(sizeof(user_config_cache_entry), 1);
771 new_entry->expires = 0;
772 new_entry->user_config = (HashTable *) pemalloc(sizeof(HashTable), 1);
773 zend_hash_init(new_entry->user_config, 0, NULL, (dtor_func_t) config_zval_dtor, 1);
774 …zend_hash_update(&CGIG(user_config_cache), path, path_len + 1, new_entry, sizeof(user_config_cache…
775 free(new_entry);

Completed in 39 milliseconds