Home
last modified time | relevance | path

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

/PHP-5.4/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.4/main/
H A Dphp_variables.c45 zval new_entry; in php_register_variable_safe() local
49 Z_STRLEN(new_entry) = str_len; in php_register_variable_safe()
50 Z_STRVAL(new_entry) = estrndup(strval, Z_STRLEN(new_entry)); in php_register_variable_safe()
51 Z_TYPE(new_entry) = IS_STRING; in php_register_variable_safe()
53 php_register_variable_ex(var, &new_entry, track_vars_array TSRMLS_CC); in php_register_variable_safe()
/PHP-5.4/ext/pcre/
H A Dphp_pcre.c250 pcre_cache_entry new_entry; in pcre_get_compiled_regex_cache() local
441 new_entry.re = re; in pcre_get_compiled_regex_cache()
442 new_entry.extra = extra; in pcre_get_compiled_regex_cache()
443 new_entry.preg_options = poptions; in pcre_get_compiled_regex_cache()
444 new_entry.compile_options = coptions; in pcre_get_compiled_regex_cache()
446 new_entry.locale = pestrdup(locale, 1); in pcre_get_compiled_regex_cache()
447 new_entry.tables = tables; in pcre_get_compiled_regex_cache()
462 zend_hash_update(&PCRE_G(pcre_cache), regex, regex_len+1, (void *)&new_entry, in pcre_get_compiled_regex_cache()
/PHP-5.4/sapi/fpm/fpm/
H A Dfpm_main.c694 user_config_cache_entry *new_entry, *entry; local
699 new_entry = pemalloc(sizeof(user_config_cache_entry), 1);
700 new_entry->expires = 0;
701 new_entry->user_config = (HashTable *) pemalloc(sizeof(HashTable), 1);
702 zend_hash_init(new_entry->user_config, 0, NULL, (dtor_func_t) config_zval_dtor, 1);
703 …zend_hash_update(&CGIG(user_config_cache), path, path_len + 1, new_entry, sizeof(user_config_cache…
704 free(new_entry);
/PHP-5.4/sapi/cgi/
H A Dcgi_main.c754 user_config_cache_entry *new_entry, *entry; local
759 new_entry = pemalloc(sizeof(user_config_cache_entry), 1);
760 new_entry->expires = 0;
761 new_entry->user_config = (HashTable *) pemalloc(sizeof(HashTable), 1);
762 zend_hash_init(new_entry->user_config, 0, NULL, (dtor_func_t) config_zval_dtor, 1);
763 …zend_hash_update(&CGIG(user_config_cache), path, path_len + 1, new_entry, sizeof(user_config_cache…
764 free(new_entry);
/PHP-5.4/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 71 milliseconds