Home
last modified time | relevance | path

Searched refs:ht (Results 1 – 25 of 85) sorted by path

1234

/PHP-5.5/
H A D.gdbinit203 ____print_ht $zvalue->value.ht 1
232 set $ht = $zobj->properties
233 if $ht
234 printf "(%d): ", $ht->nNumOfElements
237 ____print_ht $ht 1
290 set $ht = $arg0
291 set $p = $ht->pListHead
322 set $ht = (HashTable*)$arg0
323 set $p = $ht->pListHead
388 set $ht = $arg0
[all …]
H A DNEWS2949 . Fixed bug #61617 (Libxml tests failed(ht is already destroyed)).
3676 . Fixed bug #61617 (Libxml tests failed(ht is already destroyed)).
/PHP-5.5/Zend/
H A Dzend.c133 static void print_hash(zend_write_func_t write_func, HashTable *ht, int indent, zend_bool is_object… in print_hash() argument
147 zend_hash_internal_pointer_reset_ex(ht, &iterator); in print_hash()
148 while (zend_hash_get_current_data_ex(ht, (void **) &tmp, &iterator) == SUCCESS) { in print_hash()
153 switch (zend_hash_get_current_key_ex(ht, &string_key, &str_len, &num_key, 0, &iterator)) { in print_hash()
185 zend_hash_move_forward_ex(ht, &iterator); in print_hash()
195 static void print_flat_hash(HashTable *ht TSRMLS_DC) /* {{{ */ in print_flat_hash()
204 zend_hash_internal_pointer_reset_ex(ht, &iterator); in print_flat_hash()
205 while (zend_hash_get_current_data_ex(ht, (void **) &tmp, &iterator) == SUCCESS) { in print_flat_hash()
210 switch (zend_hash_get_current_key_ex(ht, &string_key, &str_len, &num_key, 0, &iterator)) { in print_flat_hash()
220 zend_hash_move_forward_ex(ht, &iterator); in print_flat_hash()
H A Dzend.h290 #define INTERNAL_FUNCTION_PARAMETERS int ht, zval *return_value, zval **return_value_ptr, zval *thi…
291 #define INTERNAL_FUNCTION_PARAM_PASSTHRU ht, return_value, return_value_ptr, this_ptr, return_value…
328 HashTable *ht; /* hash table value */ member
H A Dzend_API.c45 ZEND_API int zend_get_parameters(int ht, int param_count, ...) /* {{{ */ in zend_get_parameters() argument
85 ZEND_API int _zend_get_parameters_array(int ht, int param_count, zval **argument_array TSRMLS_DC) /… in _zend_get_parameters_array() argument
1540 ZEND_API int array_set_zval_key(HashTable *ht, zval *key, zval *value) /* {{{ */ in array_set_zval_key() argument
1546 …result = zend_symtable_update(ht, Z_STRVAL_P(key), Z_STRLEN_P(key) + 1, &value, sizeof(zval *), NU… in array_set_zval_key()
1549 result = zend_symtable_update(ht, "", 1, &value, sizeof(zval *), NULL); in array_set_zval_key()
1556 result = zend_hash_index_update(ht, Z_LVAL_P(key), &value, sizeof(zval *), NULL); in array_set_zval_key()
1559 …result = zend_hash_index_update(ht, zend_dval_to_lval(Z_DVAL_P(key)), &value, sizeof(zval *), NULL… in array_set_zval_key()
H A Dzend_API.h236 ZEND_API int zend_get_parameters(int ht, int param_count, ...);
237 ZEND_API int _zend_get_parameters_array(int ht, int param_count, zval **argument_array TSRMLS_DC);
244 #define zend_get_parameters_array(ht, param_count, argument_array) \ argument
245 _zend_get_parameters_array(ht, param_count, argument_array TSRMLS_CC)
351 #define ARG_COUNT(dummy) (ht)
352 #define ZEND_NUM_ARGS() (ht)
429 ZEND_API int array_set_zval_key(HashTable *ht, zval *key, zval *value);
514 ZEND_API void zend_delete_variable(zend_execute_data *ex, HashTable *ht, const char *name, int name…
H A Dzend_alloc.h178 #define ALLOC_HASHTABLE(ht) \ argument
179 (ht) = (HashTable *) emalloc(sizeof(HashTable))
181 #define FREE_HASHTABLE(ht) \ argument
182 efree(ht)
184 #define ALLOC_HASHTABLE_REL(ht) \ argument
185 (ht) = (HashTable *) emalloc_rel(sizeof(HashTable))
187 #define FREE_HASHTABLE_REL(ht) \ argument
188 efree_rel(ht)
H A Dzend_builtin_functions.c470 zend_hash_next_index_insert(return_value->value.ht, &element, sizeof(zval *), NULL); in ZEND_FUNCTION()
603 zend_hash_index_update(return_value->value.ht, 1, &entry, sizeof(zval *), NULL); in ZEND_FUNCTION()
605 zend_hash_update(return_value->value.ht, "value", sizeof("value"), &entry, sizeof(zval *), NULL); in ZEND_FUNCTION()
617 …zend_hash_update(return_value->value.ht, "key", sizeof("key"), inserted_pointer, sizeof(zval *), N… in ZEND_FUNCTION()
1085 zend_hash_next_index_insert(return_value->value.ht, &method_name, sizeof(zval *), NULL); in ZEND_FUNCTION()
1096 zend_hash_next_index_insert(return_value->value.ht, &method_name, sizeof(zval *), NULL); in ZEND_FUNCTION()
1100 zend_hash_next_index_insert(return_value->value.ht, &method_name, sizeof(zval *), NULL); in ZEND_FUNCTION()
1855 zend_get_parameters(ht, 2, &arg1, &arg2); in ZEND_FUNCTION()
2049 zend_hash_internal_pointer_reset_ex(arg_array->value.ht, &iterator); in debug_print_backtrace_args()
2050 while (zend_hash_get_current_data_ex(arg_array->value.ht, (void **) &tmp, &iterator) == SUCCESS) { in debug_print_backtrace_args()
[all …]
H A Dzend_compile.c5814 …zend_symtable_update(result->u.constant.value.ht, Z_STRVAL(offset->u.constant), Z_STRLEN(offset->u… in zend_do_add_static_array_element()
5818 …zend_symtable_update(result->u.constant.value.ht, offset->u.constant.value.str.val, offset->u.cons… in zend_do_add_static_array_element()
H A Dzend_exceptions.c381 if (zend_hash_find(ht, key, sizeof(key), (void**)&tmp) == SUCCESS) { \
548 HashTable *ht = Z_ARRVAL_PP(frame); in _build_trace_string() local
564 if (zend_hash_find(ht, "file", sizeof("file"), (void**)&file) == SUCCESS) { in _build_trace_string()
569 if (zend_hash_find(ht, "line", sizeof("line"), (void**)&tmp) == SUCCESS) { in _build_trace_string()
591 if (zend_hash_find(ht, "args", sizeof("args"), (void**)&tmp) == SUCCESS) { in _build_trace_string()
H A Dzend_execute.c993 static inline zval **zend_fetch_dimension_address_inner(HashTable *ht, const zval *dim, int dim_typ… in zend_fetch_dimension_address_inner() argument
1023 …if (zend_hash_quick_find(ht, offset_key, offset_key_length+1, hval, (void **) &retval) == FAILURE)… in zend_fetch_dimension_address_inner()
1039 …zend_hash_quick_update(ht, offset_key, offset_key_length+1, hval, &new_zval, sizeof(zval *), (void… in zend_fetch_dimension_address_inner()
1055 if (zend_hash_index_find(ht, hval, (void **) &retval) == FAILURE) { in zend_fetch_dimension_address_inner()
1071 zend_hash_index_update(ht, hval, &new_zval, sizeof(zval *), (void **) &retval); in zend_fetch_dimension_address_inner()
H A Dzend_execute_API.c1610 ZEND_API void zend_delete_variable(zend_execute_data *ex, HashTable *ht, const char *name, int name… in zend_delete_variable() argument
1612 if (zend_hash_quick_del(ht, name, name_len, hash_value) == SUCCESS) { in zend_delete_variable()
1614 while (ex && ex->symbol_table == ht) { in zend_delete_variable()
H A Dzend_hash.c95 if ((ht)->nNumOfElements > (ht)->nTableSize) { \
454 ht->nTableSize = (ht->nTableSize << 1); in zend_hash_do_resize()
455 ht->nTableMask = ht->nTableSize - 1; in zend_hash_do_resize()
568 pefree(ht->arBuckets, ht->persistent); in zend_hash_destroy()
673 pefree(ht->arBuckets, ht->persistent); in zend_hash_graceful_destroy()
692 pefree(ht->arBuckets, ht->persistent); in zend_hash_graceful_reverse_destroy()
1101 ht->pInternalPointer = ht->pListHead; in zend_hash_internal_pointer_reset_ex()
1115 ht->pInternalPointer = ht->pListTail; in zend_hash_internal_pointer_end_ex()
1271 q = ht->arBuckets[h & ht->nTableMask]; in zend_hash_update_current_key_ex()
1433 ht->arBuckets[p->h & ht->nTableMask] = p; in zend_hash_update_current_key_ex()
[all …]
H A Dzend_hash.h103 ZEND_API void zend_hash_clean(HashTable *ht);
158 #define zend_hash_index_del(ht, h) \ argument
195 #define zend_hash_has_more_elements(ht) \ argument
196 zend_hash_has_more_elements_ex(ht, NULL)
197 #define zend_hash_move_forward(ht) \ argument
198 zend_hash_move_forward_ex(ht, NULL)
199 #define zend_hash_move_backwards(ht) \ argument
200 zend_hash_move_backwards_ex(ht, NULL)
205 #define zend_hash_get_current_key_type(ht) \ argument
304 #define ZEND_INIT_SYMTABLE(ht) \ in END_EXTERN_C() argument
[all …]
H A Dzend_interfaces.c388 if (ht->read_dimension != zend_std_read_dimension in zend_implement_arrayaccess()
389 || ht->write_dimension != zend_std_write_dimension in zend_implement_arrayaccess()
390 || ht->has_dimension != zend_std_has_dimension in zend_implement_arrayaccess()
391 || ht->unset_dimension != zend_std_unset_dimension) { in zend_implement_arrayaccess()
H A Dzend_list.c237 void zend_destroy_rsrc_list(HashTable *ht TSRMLS_DC) in zend_destroy_rsrc_list()
239 zend_hash_graceful_reverse_destroy(ht); in zend_destroy_rsrc_list()
H A Dzend_list.h69 void zend_destroy_rsrc_list(HashTable *ht TSRMLS_DC);
H A Dzend_operators.c698 HashTable *ht; in convert_to_array() local
700 ALLOC_HASHTABLE(ht); in convert_to_array()
701 zend_hash_init(ht, 0, NULL, ZVAL_PTR_DTOR, 0); in convert_to_array()
705 zend_hash_destroy(ht); in convert_to_array()
706 FREE_HASHTABLE(ht); in convert_to_array()
712 zend_hash_copy(ht, obj_ht, (copy_ctor_func_t) zval_add_ref, (void *) &tmp, sizeof(zval *)); in convert_to_array()
718 zend_hash_destroy(ht); in convert_to_array()
719 FREE_HASHTABLE(ht); in convert_to_array()
725 Z_ARRVAL_P(op) = ht; in convert_to_array()
H A Dzend_operators.h445 #define Z_ARRVAL(zval) (zval).value.ht
H A Dzend_ts_hash.c67 ht->reader = 0; in _zend_ts_hash_init()
86 end_write(ht); in zend_ts_hash_destroy()
99 end_write(ht); in zend_ts_hash_clean()
108 end_write(ht); in _zend_ts_hash_add_or_update()
119 end_write(ht); in _zend_ts_hash_quick_add_or_update()
207 end_read(ht); in zend_ts_get_hash_value()
218 end_read(ht); in zend_ts_hash_find()
229 end_read(ht); in zend_ts_hash_quick_find()
240 end_read(ht); in zend_ts_hash_index_find()
251 end_read(ht); in zend_ts_hash_exists()
[all …]
H A Dzend_ts_hash.h42 ZEND_API void zend_ts_hash_destroy(TsHashTable *ht);
43 ZEND_API void zend_ts_hash_clean(TsHashTable *ht);
82 #define zend_ts_hash_del(ht, arKey, nKeyLength) \ argument
84 #define zend_ts_hash_index_del(ht, h) \ argument
107 ZEND_API int zend_ts_hash_num_elements(TsHashTable *ht);
109 ZEND_API int zend_ts_hash_rehash(TsHashTable *ht);
115 void zend_ts_hash_display_pListTail(TsHashTable *ht);
116 void zend_ts_hash_display(TsHashTable *ht);
121 #define ZEND_TS_INIT_SYMTABLE(ht) \ argument
122 ZEND_TS_INIT_SYMTABLE_EX(ht, 2, 0)
[all …]
H A Dzend_variables.c42 if (zvalue->value.ht && (zvalue->value.ht != &EG(symbol_table))) { in _zval_dtor_func()
45 zend_hash_destroy(zvalue->value.ht); in _zval_dtor_func()
46 FREE_HASHTABLE(zvalue->value.ht); in _zval_dtor_func()
129 HashTable *original_ht = zvalue->value.ht; in _zval_copy_ctor_func()
133 if (zvalue->value.ht == &EG(symbol_table)) { in _zval_copy_ctor_func()
138 zvalue->value.ht = tmp_ht; in _zval_copy_ctor_func()
H A Dzend_vm_def.h3973 HashTable *ht = Z_ARRVAL_PP(container);
3978 zend_hash_index_del(ht, hval);
3984 zend_hash_index_del(ht, hval);
4000 if (ht == &EG(symbol_table)) {
4003 zend_hash_quick_del(ht, Z_STRVAL_P(offset), Z_STRLEN_P(offset)+1, hval);
4010 zend_hash_index_del(ht, hval);
4016 zend_hash_del(ht, "", sizeof(""));
4471 HashTable *ht; variable
4474 ht = Z_ARRVAL_P(container);
4485 if (zend_hash_index_find(ht, hval, (void **) &value) == SUCCESS) {
[all …]
H A Dzend_vm_execute.h16057 HashTable *ht; in zend_isset_isempty_dim_prop_obj_handler_SPEC_VAR_CONST() local
18156 HashTable *ht; in zend_isset_isempty_dim_prop_obj_handler_SPEC_VAR_TMP() local
20637 HashTable *ht; in zend_isset_isempty_dim_prop_obj_handler_SPEC_VAR_VAR() local
23944 HashTable *ht; in zend_isset_isempty_dim_prop_obj_handler_SPEC_VAR_CV() local
25458 HashTable *ht; in zend_isset_isempty_dim_prop_obj_handler_SPEC_UNUSED_CONST() local
26784 HashTable *ht; in zend_isset_isempty_dim_prop_obj_handler_SPEC_UNUSED_TMP() local
28110 HashTable *ht; in zend_isset_isempty_dim_prop_obj_handler_SPEC_UNUSED_VAR() local
29862 HashTable *ht; in zend_isset_isempty_dim_prop_obj_handler_SPEC_UNUSED_CV() local
33363 HashTable *ht; in zend_isset_isempty_dim_prop_obj_handler_SPEC_CV_CONST() local
35326 HashTable *ht; in zend_isset_isempty_dim_prop_obj_handler_SPEC_CV_TMP() local
[all …]
/PHP-5.5/ext/dom/
H A Ddom_iterators.c83 xmlNode *php_dom_libxml_hash_iter(xmlHashTable *ht, int index) /* {{{ */ in php_dom_libxml_hash_iter() argument
89 if ((htsize = xmlHashSize(ht)) > 0 && index < htsize) { in php_dom_libxml_hash_iter()
94 xmlHashScan(ht, itemHashScanner, iter); in php_dom_libxml_hash_iter()
104 xmlNode *php_dom_libxml_notation_iter(xmlHashTable *ht, int index) /* {{{ */ in php_dom_libxml_notation_iter() argument
110 if ((htsize = xmlHashSize(ht)) > 0 && index < htsize) { in php_dom_libxml_notation_iter()
115 xmlHashScan(ht, itemHashScanner, iter); in php_dom_libxml_notation_iter()
231 curnode = php_dom_libxml_hash_iter(objmap->ht, iter->index); in php_dom_iterator_move_forward()
233 curnode = php_dom_libxml_notation_iter(objmap->ht, iter->index); in php_dom_iterator_move_forward()
311 curnode = php_dom_libxml_hash_iter(objmap->ht, 0); in php_dom_get_iterator()
313 curnode = php_dom_libxml_notation_iter(objmap->ht, 0); in php_dom_get_iterator()

Completed in 847 milliseconds

1234