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

1234

/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_util_funcs.h34 void zend_accel_free_user_functions(HashTable *ht TSRMLS_DC);
H A Dzend_accelerator_util_funcs.c47 static void zend_hash_clone_zval(HashTable *ht, HashTable *source, int bind);
88 static int compact_hash_table(HashTable *ht) argument
96 if (!ht->nNumOfElements || (ht->u.flags & HASH_FLAG_PACKED)) {
101 if (ht->nNumOfElements >= 0x80000000) {
105 while ((1U << i) < ht->nNumOfElements) {
111 if (nSize >= ht->nTableSize) {
116 d = (Bucket *)pemalloc(nSize * (sizeof(Bucket) + sizeof(uint32_t)), ht->u.flags & HASH_FLAG_PERSISTENT);
121 for (i = 0, j = 0; i < ht->nNumUsed; i++) {
122 p = ht
348 zend_hash_clone_zval(HashTable *ht, HashTable *source, int bind) argument
427 zend_hash_clone_methods(HashTable *ht, HashTable *source, zend_class_entry *old_ce, zend_class_entry *ce TSRMLS_DC) argument
505 zend_hash_clone_prop_info(HashTable *ht, HashTable *source, zend_class_entry *old_ce, zend_class_entry *ce TSRMLS_DC) argument
[all...]
H A Dzend_persist_calc.c52 static uint zend_hash_persist_calc(HashTable *ht, uint (*pPersistElement)(zval *pElement TSRMLS_DC) TSRMLS_DC) argument
58 if (!ht->nTableMask) {
61 if (ht->u.flags & HASH_FLAG_PACKED) {
62 ADD_SIZE(sizeof(Bucket) * ht->nNumUsed);
64 ADD_SIZE(sizeof(Bucket) * ht->nNumUsed + sizeof(uint32_t) * ht->nTableSize);
67 for (idx = 0; idx < ht->nNumUsed; idx++) {
68 p = ht->arData + idx;
H A Dzend_persist.c72 static void zend_hash_persist(HashTable *ht, zend_persist_func_t pPersistElement TSRMLS_DC) 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
[all...]
/PHP_TRUNK/ext/standard/
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 TSRMLS_CC)
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--;
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_watch.h73 HashTable *ht; member in union:_phpdbg_watchpoint_t::__anon12
H A Dphpdbg_watch.c97 void phpdbg_create_ht_watchpoint(HashTable *ht, phpdbg_watchpoint_t *watch) { argument
98 phpdbg_create_addr_watchpoint(ht, sizeof(HashTable), watch);
121 HashTable *ht; local
125 ht = Z_ARRVAL_P(watch->addr.zv);
128 ht = Z_OBJPROP_P(watch->addr.zv);
134 phpdbg_create_ht_watchpoint(ht, watch);
149 HashTable *ht; local
160 ht = Z_ARRVAL_P(watch->addr.zv);
163 ht = Z_OBJPROP_P(watch->addr.zv);
174 for (zend_hash_internal_pointer_reset_ex(ht,
220 HashTable *ht; local
[all...]
/PHP_TRUNK/Zend/
H A Dzend_list.h52 void zend_close_rsrc_list(HashTable *ht TSRMLS_DC);
53 void zend_destroy_rsrc_list(HashTable *ht TSRMLS_DC);
H A Dzend_variables.c48 zend_hash_destroy(&arr->ht);
108 zend_hash_destroy(&arr->ht);
240 HashTable *ht; local
246 ht = Z_ARRVAL_P(zvalue);
248 zend_array_dup(Z_ARRVAL_P(zvalue), ht); local
317 p = zend_hash_find(&symbol_table->ht, key->key);
323 zend_hash_add_new(&symbol_table->ht, key->key, &tmp);
H A Dzend_list.c220 void zend_close_rsrc_list(HashTable *ht TSRMLS_DC)
222 zend_hash_reverse_apply(ht, zend_close_rsrc TSRMLS_CC);
226 void zend_destroy_rsrc_list(HashTable *ht TSRMLS_DC)
228 zend_hash_graceful_reverse_destroy(ht);
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; local
[all...]
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 TSRMLS_DC) argument
154 zend_ts_hash_apply_with_argument(TsHashTable *ht, apply_func_arg_t apply_func, void *argument TSRMLS_DC) argument
172 zend_ts_hash_reverse_apply(TsHashTable *ht, apply_func_t apply_func TSRMLS_DC) 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 TSRMLS_DC) argument
303 zend_ts_hash_minmax(TsHashTable *ht, compare_func_t compar, int flag TSRMLS_DC) 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, int len) argument
347 _zend_ts_hash_str_update(TsHashTable *ht, const char *key, int len, zval *pData ZEND_FILE_LINE_DC) argument
358 _zend_ts_hash_str_add(TsHashTable *ht, const char *key, int len, zval *pData ZEND_FILE_LINE_DC) argument
[all...]
H A Dzend_hash.c34 static void _zend_is_inconsistent(const HashTable *ht, const char *file, int line) argument
36 if ((ht->u.flags & HASH_MASK_CONSISTENCY) == HT_OK) {
39 switch ((ht->u.flags & HASH_MASK_CONSISTENCY)) {
41 zend_output_debug_string(1, "%s(%d) : ht=%p is being destroyed", file, line, ht);
44 zend_output_debug_string(1, "%s(%d) : ht=%p is already destroyed", file, line, ht);
47 zend_output_debug_string(1, "%s(%d) : ht=%p is being cleaned", file, line, ht);
50 zend_output_debug_string(1, "%s(%d) : ht
100 _zend_hash_init(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent ZEND_FILE_LINE_DC) argument
131 zend_hash_packed_grow(HashTable *ht) argument
140 zend_hash_real_init(HashTable *ht, zend_bool packed) argument
147 zend_hash_packed_to_hash(HashTable *ht) argument
157 zend_hash_to_packed(HashTable *ht) argument
166 _zend_hash_init_ex(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent, zend_bool bApplyProtection ZEND_FILE_LINE_DC) argument
175 zend_hash_set_apply_protection(HashTable *ht, zend_bool bApplyProtection) argument
184 zend_hash_find_bucket(const HashTable *ht, zend_string *key) argument
208 zend_hash_str_find_bucket(const HashTable *ht, const char *str, size_t len, zend_ulong h) argument
230 zend_hash_index_find_bucket(const HashTable *ht, zend_ulong h) argument
249 _zend_hash_add_or_update_i(HashTable *ht, zend_string *key, zval *pData, uint32_t flag ZEND_FILE_LINE_DC) argument
313 _zend_hash_add_or_update(HashTable *ht, zend_string *key, zval *pData, uint32_t flag ZEND_FILE_LINE_DC) argument
318 _zend_hash_add(HashTable *ht, zend_string *key, zval *pData ZEND_FILE_LINE_DC) argument
323 _zend_hash_update(HashTable *ht, zend_string *key, zval *pData ZEND_FILE_LINE_DC) argument
328 _zend_hash_update_ind(HashTable *ht, zend_string *key, zval *pData ZEND_FILE_LINE_DC) argument
333 _zend_hash_add_new(HashTable *ht, zend_string *key, zval *pData ZEND_FILE_LINE_DC) argument
338 _zend_hash_str_add_or_update(HashTable *ht, const char *str, size_t len, zval *pData, uint32_t flag ZEND_FILE_LINE_DC) argument
346 _zend_hash_str_update(HashTable *ht, const char *str, size_t len, zval *pData ZEND_FILE_LINE_DC) argument
354 _zend_hash_str_update_ind(HashTable *ht, const char *str, size_t len, zval *pData ZEND_FILE_LINE_DC) argument
362 _zend_hash_str_add(HashTable *ht, const char *str, size_t len, zval *pData ZEND_FILE_LINE_DC) argument
370 _zend_hash_str_add_new(HashTable *ht, const char *str, size_t len, zval *pData ZEND_FILE_LINE_DC) argument
378 zend_hash_index_add_empty_element(HashTable *ht, zend_ulong h) argument
387 zend_hash_add_empty_element(HashTable *ht, zend_string *key) argument
396 zend_hash_str_add_empty_element(HashTable *ht, const char *str, size_t len) argument
405 _zend_hash_index_add_or_update_i(HashTable *ht, zend_ulong h, zval *pData, uint32_t flag ZEND_FILE_LINE_DC) argument
518 _zend_hash_index_add_or_update(HashTable *ht, zend_ulong h, zval *pData, uint32_t flag ZEND_FILE_LINE_DC) argument
523 _zend_hash_index_add(HashTable *ht, zend_ulong h, zval *pData ZEND_FILE_LINE_DC) argument
528 _zend_hash_index_add_new(HashTable *ht, zend_ulong h, zval *pData ZEND_FILE_LINE_DC) argument
533 _zend_hash_index_update(HashTable *ht, zend_ulong h, zval *pData ZEND_FILE_LINE_DC) argument
538 _zend_hash_next_index_insert(HashTable *ht, zval *pData ZEND_FILE_LINE_DC) argument
543 _zend_hash_next_index_insert_new(HashTable *ht, zval *pData ZEND_FILE_LINE_DC) argument
548 zend_hash_do_resize(HashTable *ht) argument
571 zend_hash_rehash(HashTable *ht) argument
604 _zend_hash_del_el_ex(HashTable *ht, uint32_t idx, Bucket *p, Bucket *prev) argument
644 _zend_hash_del_el(HashTable *ht, uint32_t idx, Bucket *p) argument
664 zend_hash_del(HashTable *ht, zend_string *key) argument
703 zend_hash_del_ind(HashTable *ht, zend_string *key) argument
755 zend_hash_str_del(HashTable *ht, const char *str, size_t len) argument
806 zend_hash_str_del_ind(HashTable *ht, const char *str, size_t len) argument
840 zend_hash_index_del(HashTable *ht, zend_ulong h) argument
881 zend_hash_destroy(HashTable *ht) argument
929 zend_hash_clean(HashTable *ht) argument
962 zend_hash_apply_deleter(HashTable *ht, uint32_t idx, Bucket *p) argument
974 zend_hash_graceful_destroy(HashTable *ht) argument
993 zend_hash_graceful_reverse_destroy(HashTable *ht) argument
1024 zend_hash_apply(HashTable *ht, apply_func_t apply_func TSRMLS_DC) argument
1050 zend_hash_apply_with_argument(HashTable *ht, apply_func_arg_t apply_func, void *argument TSRMLS_DC) argument
1111 zend_hash_reverse_apply(HashTable *ht, apply_func_t apply_func TSRMLS_DC) argument
1385 zend_hash_find(const HashTable *ht, zend_string *key) argument
1399 zend_hash_str_find(const HashTable *ht, const char *str, size_t len) argument
1415 zend_hash_exists(const HashTable *ht, zend_string *key) argument
1429 zend_hash_str_exists(const HashTable *ht, const char *str, size_t len) argument
1445 zend_hash_index_find(const HashTable *ht, zend_ulong h) argument
1466 zend_hash_index_exists(const HashTable *ht, zend_ulong h) argument
1486 zend_hash_internal_pointer_reset_ex(HashTable *ht, HashPosition *pos) argument
1504 zend_hash_internal_pointer_end_ex(HashTable *ht, HashPosition *pos) argument
1522 zend_hash_move_forward_ex(HashTable *ht, HashPosition *pos) argument
1545 zend_hash_move_backwards_ex(HashTable *ht, HashPosition *pos) argument
1568 zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, zend_bool duplicate, HashPosition *pos) argument
1591 zend_hash_get_current_key_zval_ex(const HashTable *ht, zval *key, HashPosition *pos) argument
1610 zend_hash_get_current_key_type_ex(HashTable *ht, HashPosition *pos) argument
1628 zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos) argument
1642 zend_hash_sort(HashTable *ht, sort_func_t sort_func, compare_func_t compar, zend_bool renumber TSRMLS_DC) argument
1812 zend_hash_minmax(const HashTable *ht, compare_func_t compar, uint32_t flag TSRMLS_DC) argument
[all...]
H A Dzend_alloc.h224 #define ALLOC_HASHTABLE(ht) \
225 (ht) = (HashTable *) emalloc(sizeof(HashTable))
227 #define FREE_HASHTABLE(ht) \
228 efree_size(ht, sizeof(HashTable))
230 #define ALLOC_HASHTABLE_REL(ht) \
231 (ht) = (HashTable *) emalloc_rel(sizeof(HashTable))
233 #define FREE_HASHTABLE_REL(ht) \
234 efree_size_rel(ht, sizeof(HashTable))
H A Dzend_hash.h56 ZEND_API void _zend_hash_init(HashTable *ht, uint32_t nSize, dtor_func_t pDestructor, zend_bool persistent ZEND_FILE_LINE_DC);
57 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);
58 ZEND_API void zend_hash_destroy(HashTable *ht);
59 ZEND_API void zend_hash_clean(HashTable *ht);
60 #define zend_hash_init(ht, nSize, pHashFunction, pDestructor, persistent) _zend_hash_init((ht), (nSize), (pDestructor), (persistent) ZEND_FILE_LINE_CC)
61 #define zend_hash_init_ex(ht, nSize, pHashFunction, pDestructor, persistent, bApplyProtection) _zend_hash_init_ex((ht), (nSize), (pDestructor), (persistent), (bApplyProtection) ZEND_FILE_LINE_CC)
63 ZEND_API void zend_hash_real_init(HashTable *ht, zend_bool packed);
64 ZEND_API void zend_hash_packed_to_hash(HashTable *ht);
174 HashTable *ht; member in struct:_HashPointer
289 zend_hash_find_ind(const HashTable *ht, zend_string *key) argument
298 zend_hash_exists_ind(const HashTable *ht, zend_string *key) argument
308 zend_hash_str_find_ind(const HashTable *ht, const char *str, int len) argument
317 zend_symtable_update(HashTable *ht, zend_string *key, zval *pData) argument
329 zend_symtable_update_ind(HashTable *ht, zend_string *key, zval *pData) argument
341 zend_symtable_del(HashTable *ht, zend_string *key) argument
353 zend_symtable_del_ind(HashTable *ht, zend_string *key) argument
365 zend_symtable_find(const HashTable *ht, zend_string *key) argument
377 zend_symtable_find_ind(const HashTable *ht, zend_string *key) argument
389 zend_symtable_exists(HashTable *ht, zend_string *key) argument
401 zend_symtable_str_update(HashTable *ht, const char *str, int len, zval *pData) argument
413 zend_symtable_str_update_ind(HashTable *ht, const char *str, int len, zval *pData) argument
425 zend_symtable_str_del(HashTable *ht, const char *str, int len) argument
437 zend_symtable_str_del_ind(HashTable *ht, const char *str, int len) argument
449 zend_symtable_str_find(HashTable *ht, const char *str, int len) argument
461 zend_symtable_str_exists(HashTable *ht, const char *str, int len) argument
472 zend_hash_add_ptr(HashTable *ht, zend_string *key, void *pData) argument
481 zend_hash_add_new_ptr(HashTable *ht, zend_string *key, void *pData) argument
490 zend_hash_str_add_ptr(HashTable *ht, const char *str, int len, void *pData) argument
499 zend_hash_update_ptr(HashTable *ht, zend_string *key, void *pData) argument
508 zend_hash_str_update_ptr(HashTable *ht, const char *str, int len, void *pData) argument
517 zend_hash_add_mem(HashTable *ht, zend_string *key, void *pData, size_t size) argument
530 zend_hash_str_add_mem(HashTable *ht, const char *str, int len, void *pData, size_t size) argument
543 zend_hash_update_mem(HashTable *ht, zend_string *key, void *pData, size_t size) argument
552 zend_hash_str_update_mem(HashTable *ht, const char *str, int len, void *pData, size_t size) argument
561 zend_hash_index_update_ptr(HashTable *ht, zend_ulong h, void *pData) argument
570 zend_hash_next_index_insert_ptr(HashTable *ht, void *pData) argument
579 zend_hash_index_update_mem(HashTable *ht, zend_ulong h, void *pData, size_t size) argument
588 zend_hash_next_index_insert_mem(HashTable *ht, void *pData, size_t size) argument
601 zend_hash_find_ptr(const HashTable *ht, zend_string *key) argument
609 zend_hash_str_find_ptr(const HashTable *ht, const char *str, int len) argument
617 zend_hash_index_find_ptr(const HashTable *ht, zend_ulong h) argument
625 zend_symtable_str_find_ptr(HashTable *ht, const char *str, int len) argument
636 zend_hash_get_current_data_ptr_ex(HashTable *ht, HashPosition *pos) 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, int len) argument
122 zend_ts_hash_str_update_ptr(TsHashTable *ht, const char *str, int len, void *pData) argument
131 zend_ts_hash_str_add_ptr(TsHashTable *ht, const char *str, int len, void *pData) argument
[all...]
/PHP_TRUNK/ext/dom/
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 TSRMLS_DC);
125 xmlNode *php_dom_libxml_hash_iter(xmlHashTable *ht, int index);
126 xmlNode *php_dom_libxml_notation_iter(xmlHashTable *ht, int index);
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);
/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/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 TSRMLS_DC) /* {{{ */
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 TSRMLS_CC); local
306 HashTable *ht = spl_array_get_hash_table(intern, 0 TSRMLS_CC); local
454 HashTable *ht; local
539 HashTable *ht; local
653 HashTable *ht = spl_array_get_hash_table(intern, 0 TSRMLS_CC); local
711 spl_array_object_verify_pos_ex(spl_array_object *object, HashTable *ht, const char *msg_prefix TSRMLS_DC) argument
[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
241 HashTable *ht = pht; local
[all...]
/PHP_TRUNK/ext/readline/
H A Dreadline_cli.c409 static char *cli_completion_generator_ht(const char *text, int textlen, int *state, HashTable *ht, void **pData TSRMLS_DC) /* {{{ */ argument
415 zend_hash_internal_pointer_reset(ht);
418 while(zend_hash_has_more_elements(ht) == SUCCESS) {
419 zend_hash_get_current_key(ht, &name, &number, 0);
422 *pData = zend_hash_get_current_data_ptr(ht);
424 zend_hash_move_forward(ht);
427 if (zend_hash_move_forward(ht) == FAILURE) {
440 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, symbol_table ? &symbol_table->ht : NULL, NULL TSRMLS_CC);
464 static char *cli_completion_generator_func(const char *text, int textlen, int *state, HashTable *ht TSRMLS_DC) /* {{{ */
467 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (voi
[all...]

Completed in 46 milliseconds

1234