Lines Matching refs:aht

104 static zend_result spl_array_skip_protected(spl_array_object *intern, HashTable *aht);
902 static zend_result spl_array_skip_protected(spl_array_object *intern, HashTable *aht) /* {{{ */ in spl_array_skip_protected() argument
909 uint32_t *pos_ptr = spl_array_get_pos_ptr(aht, intern); in spl_array_skip_protected()
912 if (zend_hash_get_current_key_ex(aht, &string_key, &num_key, pos_ptr) == HASH_KEY_IS_STRING) { in spl_array_skip_protected()
913 data = zend_hash_get_current_data_ex(aht, pos_ptr); in spl_array_skip_protected()
923 if (zend_hash_has_more_elements_ex(aht, pos_ptr) != SUCCESS) { in spl_array_skip_protected()
926 zend_hash_move_forward_ex(aht, pos_ptr); in spl_array_skip_protected()
1125 HashTable *aht = spl_array_get_hash_table(intern); in spl_array_object_count_elements_helper() local
1131 ZEND_HASH_FOREACH_STR_KEY_VAL(aht, key, val) { in spl_array_object_count_elements_helper()
1140 return zend_hash_num_elements(aht); in spl_array_object_count_elements_helper()
1179 HashTable *aht = *ht_ptr; in spl_array_method() local
1185 ZVAL_ARR(Z_REFVAL(params[0]), aht); in spl_array_method()
1186 GC_ADDREF(aht); in spl_array_method()
1527 static zend_result spl_array_next_ex(spl_array_object *intern, HashTable *aht) /* {{{ */ in spl_array_next_ex() argument
1529 uint32_t *pos_ptr = spl_array_get_pos_ptr(aht, intern); in spl_array_next_ex()
1531 zend_hash_move_forward_ex(aht, pos_ptr); in spl_array_next_ex()
1533 return spl_array_skip_protected(intern, aht); in spl_array_next_ex()
1535 return zend_hash_has_more_elements_ex(aht, pos_ptr); in spl_array_next_ex()
1541 HashTable *aht = spl_array_get_hash_table(intern); in spl_array_next() local
1543 return spl_array_next_ex(intern, aht); in spl_array_next()
1556 HashTable *aht = spl_array_get_hash_table(object); in spl_array_it_valid() local
1557 return zend_hash_has_more_elements_ex(aht, spl_array_get_pos_ptr(aht, object)); in spl_array_it_valid()
1565 HashTable *aht = spl_array_get_hash_table(object); in spl_array_it_get_current_data() local
1566 zval *data = zend_hash_get_current_data_ex(aht, spl_array_get_pos_ptr(aht, object)); in spl_array_it_get_current_data()
1577 zend_hash_get_current_key_ex(aht, &key, NULL, spl_array_get_pos_ptr(aht, object)); in spl_array_it_get_current_data()
1599 HashTable *aht = spl_array_get_hash_table(object); in spl_array_it_get_current_key() local
1600 zend_hash_get_current_key_zval_ex(aht, key, spl_array_get_pos_ptr(aht, object)); in spl_array_it_get_current_key()
1607 HashTable *aht = spl_array_get_hash_table(object); in spl_array_it_move_forward() local
1608 spl_array_next_ex(object, aht); in spl_array_it_move_forward()
1614 HashTable *aht = spl_array_get_hash_table(intern); in spl_array_rewind() local
1617 spl_array_get_pos_ptr(aht, intern); in spl_array_rewind()
1619 zend_hash_internal_pointer_reset_ex(aht, spl_array_get_pos_ptr(aht, intern)); in spl_array_rewind()
1620 spl_array_skip_protected(intern, aht); in spl_array_rewind()
1708 HashTable *aht = spl_array_get_hash_table(intern); in PHP_METHOD() local
1723 …if (result == SUCCESS && zend_hash_has_more_elements_ex(aht, spl_array_get_pos_ptr(aht, intern)) =… in PHP_METHOD()
1736 HashTable *aht = spl_array_get_hash_table(intern); in PHP_METHOD() local
1742 if ((entry = zend_hash_get_current_data_ex(aht, spl_array_get_pos_ptr(aht, intern))) == NULL) { in PHP_METHOD()
1758 HashTable *aht = spl_array_get_hash_table(intern); in spl_array_iterator_key() local
1760 zend_hash_get_current_key_zval_ex(aht, return_value, spl_array_get_pos_ptr(aht, intern)); in spl_array_iterator_key()
1779 HashTable *aht = spl_array_get_hash_table(intern); in PHP_METHOD() local
1785 spl_array_next_ex(intern, aht); in PHP_METHOD()
1794 HashTable *aht = spl_array_get_hash_table(intern); in PHP_METHOD() local
1800 RETURN_BOOL(zend_hash_has_more_elements_ex(aht, spl_array_get_pos_ptr(aht, intern)) == SUCCESS); in PHP_METHOD()
1811 HashTable *aht = spl_array_get_hash_table(intern); in PHP_METHOD() local
1817 if ((entry = zend_hash_get_current_data_ex(aht, spl_array_get_pos_ptr(aht, intern))) == NULL) { in PHP_METHOD()
1851 HashTable *aht = spl_array_get_hash_table(intern); in PHP_METHOD() local
1857 if ((entry = zend_hash_get_current_data_ex(aht, spl_array_get_pos_ptr(aht, intern))) == NULL) { in PHP_METHOD()