Searched refs:ht (Results 1 - 25 of 89) sorted by relevance

1234

/PHP_TRUNK/Zend/
H A Dzend_gc.c202 HashTable *ht; local
207 ht = NULL;
242 ht = props;
246 ht = &((zend_array*)ref)->ht;
264 if (!ht) return;
265 for (idx = 0; idx < ht->nNumUsed; idx++) {
266 p = ht->arData + idx;
273 if (idx == ht->nNumUsed-1) {
284 HashTable *ht; local
378 HashTable *ht; local
463 HashTable *ht; local
644 HashTable *ht = NULL; local
[all...]
H A Dzend_hash.h57 ZEND_API void _zend_hash_init(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent ZEND_FILE_LINE_DC);
58 ZEND_API void _zend_hash_init_ex(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent, zend_bool bApplyProtection ZEND_FILE_LINE_DC);
59 ZEND_API void zend_hash_destroy(HashTable *ht);
60 ZEND_API void zend_hash_clean(HashTable *ht);
61 #define zend_hash_init(ht, nSize, pHashFunction, pDestructor, persistent) _zend_hash_init((ht), (nSize), (pDestructor), (persistent) ZEND_FILE_LINE_CC)
62 #define zend_hash_init_ex(ht, nSize, pHashFunction, pDestructor, persistent, bApplyProtection) _zend_hash_init_ex((ht), (nSize), (pDestructor), (persistent), (bApplyProtection) ZEND_FILE_LINE_CC)
64 ZEND_API void zend_hash_real_init(HashTable *ht, zend_bool packed);
65 ZEND_API void zend_hash_packed_to_hash(HashTable *ht);
175 HashTable *ht; member in struct:_HashPointer
263 zend_hash_find_ind(const HashTable *ht, zend_string *key) argument
272 zend_hash_exists_ind(const HashTable *ht, zend_string *key) argument
282 zend_hash_str_find_ind(const HashTable *ht, const char *str, size_t len) argument
291 zend_symtable_update(HashTable *ht, zend_string *key, zval *pData) argument
303 zend_symtable_update_ind(HashTable *ht, zend_string *key, zval *pData) argument
315 zend_symtable_del(HashTable *ht, zend_string *key) argument
327 zend_symtable_del_ind(HashTable *ht, zend_string *key) argument
339 zend_symtable_find(const HashTable *ht, zend_string *key) argument
351 zend_symtable_find_ind(const HashTable *ht, zend_string *key) argument
363 zend_symtable_exists(HashTable *ht, zend_string *key) argument
375 zend_symtable_str_update(HashTable *ht, const char *str, size_t len, zval *pData) argument
387 zend_symtable_str_update_ind(HashTable *ht, const char *str, size_t len, zval *pData) argument
399 zend_symtable_str_del(HashTable *ht, const char *str, size_t len) argument
411 zend_symtable_str_del_ind(HashTable *ht, const char *str, size_t len) argument
423 zend_symtable_str_find(HashTable *ht, const char *str, size_t len) argument
435 zend_symtable_str_exists(HashTable *ht, const char *str, size_t len) argument
446 zend_hash_add_ptr(HashTable *ht, zend_string *key, void *pData) argument
455 zend_hash_add_new_ptr(HashTable *ht, zend_string *key, void *pData) argument
464 zend_hash_str_add_ptr(HashTable *ht, const char *str, size_t len, void *pData) argument
473 zend_hash_update_ptr(HashTable *ht, zend_string *key, void *pData) argument
482 zend_hash_str_update_ptr(HashTable *ht, const char *str, size_t len, void *pData) argument
491 zend_hash_add_mem(HashTable *ht, zend_string *key, void *pData, size_t size) argument
504 zend_hash_str_add_mem(HashTable *ht, const char *str, size_t len, void *pData, size_t size) argument
517 zend_hash_update_mem(HashTable *ht, zend_string *key, void *pData, size_t size) argument
526 zend_hash_str_update_mem(HashTable *ht, const char *str, size_t len, void *pData, size_t size) argument
535 zend_hash_index_update_ptr(HashTable *ht, zend_ulong h, void *pData) argument
544 zend_hash_index_add_mem(HashTable *ht, zend_ulong h, void *pData, size_t size) argument
557 zend_hash_next_index_insert_ptr(HashTable *ht, void *pData) argument
566 zend_hash_index_update_mem(HashTable *ht, zend_ulong h, void *pData, size_t size) argument
575 zend_hash_next_index_insert_mem(HashTable *ht, void *pData, size_t size) argument
588 zend_hash_find_ptr(const HashTable *ht, zend_string *key) argument
596 zend_hash_str_find_ptr(const HashTable *ht, const char *str, size_t len) argument
604 zend_hash_index_find_ptr(const HashTable *ht, zend_ulong h) argument
612 zend_symtable_str_find_ptr(HashTable *ht, const char *str, size_t len) argument
623 zend_hash_get_current_data_ptr_ex(HashTable *ht, HashPosition *pos) argument
[all...]
H A Dzend_list.h52 void zend_close_rsrc_list(HashTable *ht);
53 void zend_destroy_rsrc_list(HashTable *ht);
H A Dzend_ts_hash.c25 static void begin_read(TsHashTable *ht) argument
28 tsrm_mutex_lock(ht->mx_reader);
29 if ((++(ht->reader)) == 1) {
30 tsrm_mutex_lock(ht->mx_writer);
32 tsrm_mutex_unlock(ht->mx_reader);
36 static void end_read(TsHashTable *ht) argument
39 tsrm_mutex_lock(ht->mx_reader);
40 if ((--(ht->reader)) == 0) {
41 tsrm_mutex_unlock(ht->mx_writer);
43 tsrm_mutex_unlock(ht
47 begin_write(TsHashTable *ht) argument
54 end_write(TsHashTable *ht) argument
62 _zend_ts_hash_init(TsHashTable *ht, uint nSize, dtor_func_t pDestructor, zend_bool persistent ZEND_FILE_LINE_DC) argument
72 _zend_ts_hash_init_ex(TsHashTable *ht, uint nSize, dtor_func_t pDestructor, zend_bool persistent, zend_bool bApplyProtection ZEND_FILE_LINE_DC) argument
82 zend_ts_hash_destroy(TsHashTable *ht) argument
94 zend_ts_hash_clean(TsHashTable *ht) argument
102 _zend_ts_hash_add_or_update(TsHashTable *ht, zend_string *key, zval *pData, int flag ZEND_FILE_LINE_DC) argument
113 _zend_ts_hash_index_add_or_update(TsHashTable *ht, zend_ulong h, zval *pData, int flag ZEND_FILE_LINE_DC) argument
124 zend_ts_hash_add_empty_element(TsHashTable *ht, zend_string *key) argument
135 zend_ts_hash_graceful_destroy(TsHashTable *ht) argument
147 zend_ts_hash_apply(TsHashTable *ht, apply_func_t apply_func) argument
154 zend_ts_hash_apply_with_argument(TsHashTable *ht, apply_func_arg_t apply_func, void *argument) argument
161 zend_ts_hash_apply_with_arguments(TsHashTable *ht, apply_func_args_t apply_func, int num_args, ...) argument
172 zend_ts_hash_reverse_apply(TsHashTable *ht, apply_func_t apply_func) argument
179 zend_ts_hash_del(TsHashTable *ht, zend_string *key) argument
190 zend_ts_hash_index_del(TsHashTable *ht, zend_ulong h) argument
201 zend_ts_hash_find(TsHashTable *ht, zend_string *key) argument
212 zend_ts_hash_index_find(TsHashTable *ht, zend_ulong h) argument
223 zend_ts_hash_exists(TsHashTable *ht, zend_string *key) argument
234 zend_ts_hash_index_exists(TsHashTable *ht, zend_ulong h) argument
279 zend_ts_hash_sort(TsHashTable *ht, sort_func_t sort_func, compare_func_t compare_func, int renumber) argument
303 zend_ts_hash_minmax(TsHashTable *ht, compare_func_t compar, int flag) argument
314 zend_ts_hash_num_elements(TsHashTable *ht) argument
325 zend_ts_hash_rehash(TsHashTable *ht) argument
336 zend_ts_hash_str_find(TsHashTable *ht, const char *key, size_t len) argument
347 _zend_ts_hash_str_update(TsHashTable *ht, const char *key, size_t len, zval *pData ZEND_FILE_LINE_DC) argument
358 _zend_ts_hash_str_add(TsHashTable *ht, const char *key, size_t len, zval *pData ZEND_FILE_LINE_DC) argument
[all...]
H A Dzend_ts_hash.h40 ZEND_API void _zend_ts_hash_init(TsHashTable *ht, uint nSize, dtor_func_t pDestructor, zend_bool persistent ZEND_FILE_LINE_DC);
41 ZEND_API void _zend_ts_hash_init_ex(TsHashTable *ht, uint nSize, dtor_func_t pDestructor, zend_bool persistent, zend_bool bApplyProtection ZEND_FILE_LINE_DC);
42 ZEND_API void zend_ts_hash_destroy(TsHashTable *ht);
43 ZEND_API void zend_ts_hash_clean(TsHashTable *ht);
45 #define zend_ts_hash_init(ht, nSize, pHashFunction, pDestructor, persistent) \
46 _zend_ts_hash_init(ht, nSize, pDestructor, persistent ZEND_FILE_LINE_CC)
47 #define zend_ts_hash_init_ex(ht, nSize, pHashFunction, pDestructor, persistent, bApplyProtection) \
48 _zend_ts_hash_init_ex(ht, nSize, pDestructor, persistent, bApplyProtection ZEND_FILE_LINE_CC)
52 ZEND_API zval *_zend_ts_hash_add_or_update(TsHashTable *ht, zend_string *key, zval *pData, int flag ZEND_FILE_LINE_DC);
53 #define zend_ts_hash_update(ht, ke
114 zend_ts_hash_str_find_ptr(TsHashTable *ht, const char *str, size_t len) argument
122 zend_ts_hash_str_update_ptr(TsHashTable *ht, const char *str, size_t len, void *pData) argument
131 zend_ts_hash_str_add_ptr(TsHashTable *ht, const char *str, size_t len, void *pData) argument
[all...]
H A Dzend_variables.c47 zend_array_destroy(&arr->ht);
105 zend_array_destroy(&arr->ht);
235 HashTable *ht; local
240 ht = Z_ARRVAL_P(zvalue);
242 zend_array_dup(Z_ARRVAL_P(zvalue), ht); local
312 p = zend_hash_find(&symbol_table->ht, key->key);
318 zend_hash_add_new(&symbol_table->ht, key->key, &tmp);
H A Dzend_hash.c35 static void _zend_is_inconsistent(const HashTable *ht, const char *file, int line) argument
37 if ((ht->u.flags & HASH_MASK_CONSISTENCY) == HT_OK) {
40 switch ((ht->u.flags & HASH_MASK_CONSISTENCY)) {
42 zend_output_debug_string(1, "%s(%d) : ht=%p is being destroyed", file, line, ht);
45 zend_output_debug_string(1, "%s(%d) : ht=%p is already destroyed", file, line, ht);
48 zend_output_debug_string(1, "%s(%d) : ht=%p is being cleaned", file, line, ht);
51 zend_output_debug_string(1, "%s(%d) : ht
101 _zend_hash_init(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent ZEND_FILE_LINE_DC) argument
143 zend_hash_packed_grow(HashTable *ht) argument
152 zend_hash_real_init(HashTable *ht, zend_bool packed) argument
159 zend_hash_packed_to_hash(HashTable *ht) argument
169 zend_hash_to_packed(HashTable *ht) argument
178 _zend_hash_init_ex(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent, zend_bool bApplyProtection ZEND_FILE_LINE_DC) argument
187 zend_hash_set_apply_protection(HashTable *ht, zend_bool bApplyProtection) argument
196 zend_hash_find_bucket(const HashTable *ht, zend_string *key) argument
220 zend_hash_str_find_bucket(const HashTable *ht, const char *str, size_t len, zend_ulong h) argument
242 zend_hash_index_find_bucket(const HashTable *ht, zend_ulong h) argument
261 _zend_hash_add_or_update_i(HashTable *ht, zend_string *key, zval *pData, uint32_t flag ZEND_FILE_LINE_DC) argument
323 _zend_hash_add_or_update(HashTable *ht, zend_string *key, zval *pData, uint32_t flag ZEND_FILE_LINE_DC) argument
328 _zend_hash_add(HashTable *ht, zend_string *key, zval *pData ZEND_FILE_LINE_DC) argument
333 _zend_hash_update(HashTable *ht, zend_string *key, zval *pData ZEND_FILE_LINE_DC) argument
338 _zend_hash_update_ind(HashTable *ht, zend_string *key, zval *pData ZEND_FILE_LINE_DC) argument
343 _zend_hash_add_new(HashTable *ht, zend_string *key, zval *pData ZEND_FILE_LINE_DC) argument
348 _zend_hash_str_add_or_update(HashTable *ht, const char *str, size_t len, zval *pData, uint32_t flag ZEND_FILE_LINE_DC) argument
356 _zend_hash_str_update(HashTable *ht, const char *str, size_t len, zval *pData ZEND_FILE_LINE_DC) argument
364 _zend_hash_str_update_ind(HashTable *ht, const char *str, size_t len, zval *pData ZEND_FILE_LINE_DC) argument
372 _zend_hash_str_add(HashTable *ht, const char *str, size_t len, zval *pData ZEND_FILE_LINE_DC) argument
380 _zend_hash_str_add_new(HashTable *ht, const char *str, size_t len, zval *pData ZEND_FILE_LINE_DC) argument
388 zend_hash_index_add_empty_element(HashTable *ht, zend_ulong h) argument
397 zend_hash_add_empty_element(HashTable *ht, zend_string *key) argument
406 zend_hash_str_add_empty_element(HashTable *ht, const char *str, size_t len) argument
415 _zend_hash_index_add_or_update_i(HashTable *ht, zend_ulong h, zval *pData, uint32_t flag ZEND_FILE_LINE_DC) argument
536 _zend_hash_index_add_or_update(HashTable *ht, zend_ulong h, zval *pData, uint32_t flag ZEND_FILE_LINE_DC) argument
541 _zend_hash_index_add(HashTable *ht, zend_ulong h, zval *pData ZEND_FILE_LINE_DC) argument
546 _zend_hash_index_add_new(HashTable *ht, zend_ulong h, zval *pData ZEND_FILE_LINE_DC) argument
551 _zend_hash_index_update(HashTable *ht, zend_ulong h, zval *pData ZEND_FILE_LINE_DC) argument
556 _zend_hash_next_index_insert(HashTable *ht, zval *pData ZEND_FILE_LINE_DC) argument
561 _zend_hash_next_index_insert_new(HashTable *ht, zval *pData ZEND_FILE_LINE_DC) argument
566 zend_hash_do_resize(HashTable *ht) argument
588 zend_hash_rehash(HashTable *ht) argument
621 _zend_hash_del_el_ex(HashTable *ht, uint32_t idx, Bucket *p, Bucket *prev) argument
661 _zend_hash_del_el(HashTable *ht, uint32_t idx, Bucket *p) argument
681 zend_hash_del(HashTable *ht, zend_string *key) argument
719 zend_hash_del_ind(HashTable *ht, zend_string *key) argument
770 zend_hash_str_del(HashTable *ht, const char *str, size_t len) argument
820 zend_hash_str_del_ind(HashTable *ht, const char *str, size_t len) argument
853 zend_hash_index_del(HashTable *ht, zend_ulong h) argument
893 zend_hash_destroy(HashTable *ht) argument
940 zend_array_destroy(HashTable *ht) argument
982 zend_hash_clean(HashTable *ht) argument
1031 zend_symtable_clean(HashTable *ht) argument
1065 zend_hash_apply_deleter(HashTable *ht, uint32_t idx, Bucket *p) argument
1076 zend_hash_graceful_destroy(HashTable *ht) argument
1095 zend_hash_graceful_reverse_destroy(HashTable *ht) argument
1126 zend_hash_apply(HashTable *ht, apply_func_t apply_func) argument
1152 zend_hash_apply_with_argument(HashTable *ht, apply_func_arg_t apply_func, void *argument) argument
1178 zend_hash_apply_with_arguments(HashTable *ht, apply_func_args_t apply_func, int num_args, ...) argument
1213 zend_hash_reverse_apply(HashTable *ht, apply_func_t apply_func) argument
1487 zend_hash_find(const HashTable *ht, zend_string *key) argument
1501 zend_hash_str_find(const HashTable *ht, const char *str, size_t len) argument
1517 zend_hash_exists(const HashTable *ht, zend_string *key) argument
1531 zend_hash_str_exists(const HashTable *ht, const char *str, size_t len) argument
1547 zend_hash_index_find(const HashTable *ht, zend_ulong h) argument
1568 zend_hash_index_exists(const HashTable *ht, zend_ulong h) argument
1588 zend_hash_internal_pointer_reset_ex(HashTable *ht, HashPosition *pos) argument
1606 zend_hash_internal_pointer_end_ex(HashTable *ht, HashPosition *pos) argument
1624 zend_hash_move_forward_ex(HashTable *ht, HashPosition *pos) argument
1647 zend_hash_move_backwards_ex(HashTable *ht, HashPosition *pos) argument
1670 zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, zend_bool duplicate, HashPosition *pos) argument
1693 zend_hash_get_current_key_zval_ex(const HashTable *ht, zval *key, HashPosition *pos) argument
1711 zend_hash_get_current_key_type_ex(HashTable *ht, HashPosition *pos) argument
1729 zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos) argument
1743 zend_hash_sort(HashTable *ht, sort_func_t sort_func, compare_func_t compar, zend_bool renumber) argument
1913 zend_hash_minmax(const HashTable *ht, compare_func_t compar, uint32_t flag) argument
[all...]
/PHP_TRUNK/ext/dom/
H A Ddom_iterators.c83 xmlNode *php_dom_libxml_hash_iter(xmlHashTable *ht, int index) /* {{{ */ argument
89 if ((htsize = xmlHashSize(ht)) > 0 && index < htsize) {
94 xmlHashScan(ht, itemHashScanner, iter);
104 xmlNode *php_dom_libxml_notation_iter(xmlHashTable *ht, int index) /* {{{ */ argument
110 if ((htsize = xmlHashSize(ht)) > 0 && index < htsize) {
115 xmlHashScan(ht, itemHashScanner, iter);
227 curnode = php_dom_libxml_hash_iter(objmap->ht, iter->index);
229 curnode = php_dom_libxml_notation_iter(objmap->ht, iter->index);
304 curnode = php_dom_libxml_hash_iter(objmap->ht, 0);
306 curnode = php_dom_libxml_notation_iter(objmap->ht,
[all...]
H A Dnamednodemap.c98 if (objmap->ht) {
99 count = xmlHashSize(objmap->ht);
150 if (objmap->ht) {
152 itemnode = (xmlNodePtr)xmlHashLookup(objmap->ht, (xmlChar *) named);
154 notep = (xmlNotation *)xmlHashLookup(objmap->ht, (xmlChar *) named);
224 if (objmap->ht) {
226 itemnode = php_dom_libxml_hash_iter(objmap->ht, index);
228 itemnode = php_dom_libxml_notation_iter(objmap->ht, index);
283 if (objmap->ht) {
285 itemnode = (xmlNodePtr)xmlHashLookup(objmap->ht, (xmlCha
[all...]
H A Dnodelist.c63 if (objmap->ht) {
64 count = xmlHashSize(objmap->ht);
126 if (objmap->ht) {
128 itemnode = php_dom_libxml_hash_iter(objmap->ht, index);
130 itemnode = php_dom_libxml_notation_iter(objmap->ht, index);
H A Dphp_dom.h88 xmlHashTable *ht; member in struct:_dom_nnodemap_object
123 void dom_namednode_iter(dom_object *basenode, int ntype, dom_object *intern, xmlHashTablePtr ht, xmlChar *local, xmlChar *ns);
125 xmlNode *php_dom_libxml_hash_iter(xmlHashTable *ht, int index);
126 xmlNode *php_dom_libxml_notation_iter(xmlHashTable *ht, int index);
/PHP_TRUNK/ext/intl/dateformat/
H A Ddateformat_format_object.cpp88 HashTable *ht = Z_ARRVAL_P(format); local
91 if (zend_hash_num_elements(ht) != 2) {
98 zend_hash_internal_pointer_reset_ex(ht, &pos);
99 z = zend_hash_get_current_data_ex(ht, &pos);
108 zend_hash_move_forward_ex(ht, &pos);
109 z = zend_hash_get_current_data_ex(ht, &pos);
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_util_funcs.c50 static void zend_hash_clone_zval(HashTable *ht, HashTable *source, int bind);
116 void zend_accel_free_user_functions(HashTable *ht) argument
118 dtor_func_t orig_dtor = ht->pDestructor;
120 ht->pDestructor = NULL;
121 zend_hash_apply(ht, (apply_func_t) is_not_internal_function);
122 ht->pDestructor = orig_dtor;
216 zend_hash_clone_zval(Z_ARRVAL_P(src), &old->ht, 0);
292 static void zend_hash_clone_zval(HashTable *ht, HashTable *source, int bind) argument
298 ht->nTableSize = source->nTableSize;
299 ht
370 zend_hash_clone_methods(HashTable *ht, HashTable *source, zend_class_entry *old_ce, zend_class_entry *ce) argument
447 zend_hash_clone_prop_info(HashTable *ht, HashTable *source, zend_class_entry *old_ce, zend_class_entry *ce) argument
[all...]
H A Dzend_accelerator_util_funcs.h33 void zend_accel_free_user_functions(HashTable *ht);
H A Dzend_persist.c72 static void zend_hash_persist(HashTable *ht, zend_persist_func_t pPersistElement) argument
77 if (!ht->nTableMask) {
78 ht->arHash = (uint32_t*)&uninitialized_bucket;
81 if (ht->u.flags & HASH_FLAG_PACKED) {
82 zend_accel_store(ht->arData, sizeof(Bucket) * ht->nNumUsed);
83 ht->arHash = (uint32_t*)&uninitialized_bucket;
86 uint32_t *h = (uint32_t*)(d + ht->nNumUsed);
88 ZCG(mem) = (void*)(h + ht->nTableSize);
89 memcpy(d, ht
109 zend_hash_persist_immutable(HashTable *ht) argument
[all...]
H A Dzend_persist_calc.c52 static void zend_hash_persist_calc(HashTable *ht, void (*pPersistElement)(zval *pElement)) argument
57 if (!ht->nTableMask) {
60 if (ht->u.flags & HASH_FLAG_PACKED) {
61 ADD_SIZE(sizeof(Bucket) * ht->nNumUsed);
63 ADD_SIZE(sizeof(Bucket) * ht->nNumUsed + sizeof(uint32_t) * ht->nTableSize);
66 for (idx = 0; idx < ht->nNumUsed; idx++) {
67 p = ht->arData + idx;
/PHP_TRUNK/ext/readline/
H A Dreadline_cli.c402 static char *cli_completion_generator_ht(const char *text, int textlen, int *state, HashTable *ht, void **pData) /* {{{ */ argument
408 zend_hash_internal_pointer_reset(ht);
411 while(zend_hash_has_more_elements(ht) == SUCCESS) {
412 zend_hash_get_current_key(ht, &name, &number, 0);
415 *pData = zend_hash_get_current_data_ptr(ht);
417 zend_hash_move_forward(ht);
420 if (zend_hash_move_forward(ht) == FAILURE) {
433 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, symbol_table ? &symbol_table->ht : NULL, NULL);
457 static char *cli_completion_generator_func(const char *text, int textlen, int *state, HashTable *ht) /* {{{ */ argument
460 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (voi
481 cli_completion_generator_define(const char *text, int textlen, int *state, HashTable *ht) argument
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_array.c111 static void spl_array_update_pos(HashTable *ht, spl_array_object* intern) /* {{{ */ argument
115 intern->pos_h = ht->arData[pos].h;
119 static void spl_array_set_pos(spl_array_object* intern, HashTable *ht, HashPosition pos) /* {{{ */ argument
122 spl_array_update_pos(ht, intern);
125 SPL_API int spl_hash_verify_pos_ex(spl_array_object * intern, HashTable * ht) /* {{{ */ argument
129 /* IS_CONSISTENT(ht);*/
131 /* HASH_PROTECT_RECURSION(ht);*/
132 if (ht->u.flags & HASH_FLAG_PACKED) {
133 if (intern->pos_h == intern->pos && Z_TYPE(ht->arData[intern->pos_h].val) != IS_UNDEF) {
137 idx = ht
153 HashTable *ht = spl_array_get_hash_table(intern, 0); local
306 HashTable *ht = spl_array_get_hash_table(intern, 0); local
454 HashTable *ht; local
539 HashTable *ht; local
653 HashTable *ht = spl_array_get_hash_table(intern, 0); local
711 spl_array_object_verify_pos_ex(spl_array_object *object, HashTable *ht, const char *msg_prefix) argument
727 spl_array_object_verify_pos(spl_array_object *object, HashTable *ht) argument
[all...]
/PHP_TRUNK/ext/standard/
H A Dhttp.c28 PHPAPI int php_url_encode_hash_ex(HashTable *ht, smart_str *formstr, argument
41 if (!ht) {
45 if (ht->u.v.nApplyCount > 0) {
58 ZEND_HASH_FOREACH_KEY_VAL_IND(ht, idx, key, zdata) {
138 if (ZEND_HASH_APPLY_PROTECTION(ht)) {
139 ht->u.v.nApplyCount++;
142 if (ZEND_HASH_APPLY_PROTECTION(ht)) {
143 ht->u.v.nApplyCount--;
H A Dphp_http.h27 PHPAPI int php_url_encode_hash_ex(HashTable *ht, smart_str *formstr,
32 #define php_url_encode_hash(ht, formstr) php_url_encode_hash_ex((ht), (formstr), NULL, 0, NULL, 0, NULL, 0, NULL)
H A Dphp_var.h42 HashTable ht; member in struct:php_serialize_data
67 zend_hash_init(&(d)->ht, 16, NULL, ZVAL_PTR_DTOR, 0); \
83 zend_hash_destroy(&(d)->ht); \
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_wait.c31 if ((zvp = zend_hash_str_find(&EG(symbol_table).ht, name, strlen(name)))) {
47 HashTable *ht[2]; member in struct:__anon307
76 info->ht[0] = ht1;
77 info->ht[1] = ht2;
79 zend_hash_sort(info->ht[0], zend_qsort, (compare_func_t) phpdbg_array_data_compare, 0);
80 zend_hash_sort(info->ht[1], zend_qsort, (compare_func_t) phpdbg_array_data_compare, 0);
82 zend_hash_internal_pointer_reset_ex(info->ht[0], &info->pos[0]);
83 zend_hash_internal_pointer_reset_ex(info->ht[1], &info->pos[1]);
90 int invalid = !info->ht[0] + !info->ht[
130 HashTable *ht; local
[all...]
H A Dphpdbg_watch.c40 //#define HT_FROM_WATCH(watch) (watch->type == WATCH_ON_OBJECT ? watch->addr.obj->handlers->get_properties(watch->parent_container.zv) : watch->type == WATCH_ON_ARRAY ? &watch->addr.arr->ht : NULL)
104 void phpdbg_create_ht_watchpoint(HashTable *ht, phpdbg_watchpoint_t *watch) { argument
105 phpdbg_create_addr_watchpoint(ht, sizeof(HashTable), watch);
208 HashTable *ht = HT_FROM_ZVP(zv); local
212 if (!ht) {
216 phpdbg_create_ht_watchpoint(ht, watch);
232 HashTable *ht; local
244 if (!(ht = HT_FROM_ZVP(zvp))) {
253 ZEND_HASH_FOREACH_VAL(ht, zv) {
258 new_watch->parent_container = ht;
305 HashTable *ht; local
[all...]
H A Dphpdbg_webdata_transfer.c32 HashTable *ht; local
36 ht = Z_ARRVAL(array);
46 zend_hash_copy(Z_ARRVAL(zv[1]), &EG(symbol_table).ht, NULL);
49 zend_hash_str_add(ht, ZEND_STRL("GLOBALS"), &zv[1]);
64 zend_hash_str_add(ht, ZEND_STRL("input"), &zv[2]);
74 zend_hash_str_add(ht, ZEND_STRL("sapi_name"), &zv[6]);
90 zend_hash_str_add(ht, ZEND_STRL("modules"), &zv[7]);
100 zend_hash_str_add(ht, ZEND_STRL("extensions"), &zv[8]);
116 zend_hash_str_add(ht, ZEND_STRL("cwd"), &zv[5]);
142 zend_hash_str_add(ht, ZEND_STR
[all...]
/PHP_TRUNK/win32/
H A Dregistry.c64 HashTable *ht = NULL; local
80 if (!ht) {
81 ht = (HashTable*)malloc(sizeof(HashTable));
82 if (!ht) {
85 zend_hash_init(ht, 0, NULL, ZVAL_INTERNAL_PTR_DTOR, 1);
87 zend_hash_str_update(ht, name, name_len, &data);
91 if (ht) {
98 zend_hash_add(ht, index, tmpdata);
101 zend_hash_str_update_mem(directories, path, path_len + 1, &ht, sizeof(HashTable*));
109 if (ht
240 HashTable *ht = pht; local
[all...]

Completed in 22 milliseconds

1234