/php-src/Zend/ |
H A D | zend_interfaces.c | 245 …if (!ce_it || !ce_it->get_iterator || (ce_it->get_iterator == zend_user_it_get_new_iterator && Z_O… in zend_user_it_get_new_iterator() 253 new_iterator = ce_it->get_iterator(ce_it, &iterator, by_ref); in zend_user_it_get_new_iterator() 307 if (class_type->get_iterator in zend_implement_aggregate() 308 && class_type->get_iterator != zend_user_it_get_new_iterator in zend_implement_aggregate() 309 && class_type->get_iterator != zend_hooked_object_get_iterator) { in zend_implement_aggregate() 311 if (!class_type->parent || class_type->parent->get_iterator != class_type->get_iterator) { in zend_implement_aggregate() 324 class_type->get_iterator = zend_user_it_get_new_iterator; in zend_implement_aggregate() 356 if (class_type->get_iterator in zend_implement_iterator() 357 && class_type->get_iterator != zend_user_it_get_iterator in zend_implement_iterator() 359 if (!class_type->parent || class_type->parent->get_iterator != class_type->get_iterator) { in zend_implement_iterator() [all …]
|
H A D | zend.h | 198 zend_object_iterator *(*get_iterator)(zend_class_entry *ce, zval *object, int by_ref); member
|
H A D | zend_weakrefs.c | 789 zend_ce_weakmap->get_iterator = zend_weakmap_get_iterator; in zend_register_weakref_ce()
|
H A D | zend_generators.c | 1216 zend_ce_generator->get_iterator = zend_generator_get_iterator; in zend_register_generator_ce()
|
H A D | zend_vm_def.h | 5292 if (!ce || !ce->get_iterator) { 5296 iter = ce->get_iterator(ce, args, 0); 6297 if (!ce || !ce->get_iterator) { 6300 iter = ce->get_iterator(ce, op1, 0); 6842 if (!zobj->ce->get_iterator) { 6938 if (!Z_OBJCE_P(array_ptr)->get_iterator) { 8452 } else if (OP1_TYPE != IS_CONST && Z_TYPE_P(val) == IS_OBJECT && Z_OBJCE_P(val)->get_iterator) { 8481 zend_object_iterator *iter = ce->get_iterator(ce, val, 0);
|
H A D | zend_inheritance.c | 143 if (EXPECTED(!ce->get_iterator)) { in do_inherit_parent_constructor() 144 ce->get_iterator = parent->get_iterator; in do_inherit_parent_constructor()
|
H A D | zend_API.h | 317 class_container.get_iterator = NULL; \
|
/php-src/ext/com_dotnet/ |
H A D | com_extension.c | 187 php_com_saproxy_class_entry->get_iterator = php_com_saproxy_iter_get; in PHP_MINIT_FUNCTION() 192 php_com_variant_class_entry->get_iterator = php_com_iter_get; in PHP_MINIT_FUNCTION() 197 tmp->get_iterator = php_com_iter_get; in PHP_MINIT_FUNCTION() 203 tmp->get_iterator = php_com_iter_get; in PHP_MINIT_FUNCTION()
|
/php-src/ext/zend_test/ |
H A D | iterators.c | 120 traversable_test_ce->get_iterator = test_traversable_get_iterator; in zend_test_iterators_init()
|
/php-src/ext/intl/breakiterator/ |
H A D | breakiterator_class.cpp | 211 BreakIterator_ce_ptr->get_iterator = _breakiterator_get_iterator; in breakiterator_register_BreakIterator_class()
|
/php-src/ext/spl/ |
H A D | spl_heap.c | 1144 spl_ce_SplHeap->get_iterator = spl_heap_get_iterator; in PHP_MINIT_FUNCTION() 1156 spl_ce_SplMinHeap->get_iterator = spl_heap_get_iterator; in PHP_MINIT_FUNCTION() 1160 spl_ce_SplMaxHeap->get_iterator = spl_heap_get_iterator; in PHP_MINIT_FUNCTION() 1165 spl_ce_SplPriorityQueue->get_iterator = spl_pqueue_get_iterator; in PHP_MINIT_FUNCTION()
|
H A D | spl_dllist.c | 1259 spl_ce_SplDoublyLinkedList->get_iterator = spl_dllist_get_iterator; in PHP_MINIT_FUNCTION() 1271 spl_ce_SplQueue->get_iterator = spl_dllist_get_iterator; in PHP_MINIT_FUNCTION() 1275 spl_ce_SplStack->get_iterator = spl_dllist_get_iterator; in PHP_MINIT_FUNCTION()
|
H A D | spl_iterators.c | 384 sub_iter = ce->get_iterator(ce, &child, 0); in spl_recursive_it_move_forward_ex() 650 intern->iterators[0].iterator = ce_iterator->get_iterator(ce_iterator, iterator, 0); in spl_recursive_it_it_construct() 1326 || !ce_cast->get_iterator in spl_dual_it_construct() 1351 …intern->u.append.iterator = spl_ce_ArrayIterator->get_iterator(spl_ce_ArrayIterator, &intern->u.ap… in spl_dual_it_construct() 1407 intern->inner.iterator = intern->inner.ce->get_iterator(intern->inner.ce, zobject, 0); in spl_dual_it_construct() 2774 intern->inner.iterator = intern->inner.ce->get_iterator(intern->inner.ce, it, 0); in spl_append_it_next_iterator() 2925 iter = ce->get_iterator(ce, obj, 0); in spl_iterator_apply() 3111 spl_ce_RecursiveIteratorIterator->get_iterator = spl_recursive_it_get_iterator; in PHP_MINIT_FUNCTION()
|
H A D | spl_array.c | 1912 spl_ce_ArrayIterator->get_iterator = spl_array_get_iterator; in PHP_MINIT_FUNCTION() 1916 spl_ce_RecursiveArrayIterator->get_iterator = spl_array_get_iterator; in PHP_MINIT_FUNCTION()
|
H A D | spl_fixedarray.c | 967 spl_ce_SplFixedArray->get_iterator = spl_fixedarray_get_iterator; in PHP_MINIT_FUNCTION()
|
H A D | spl_directory.c | 2755 spl_ce_DirectoryIterator->get_iterator = spl_filesystem_dir_get_iterator; in PHP_MINIT_FUNCTION() 2759 spl_ce_FilesystemIterator->get_iterator = spl_filesystem_tree_get_iterator; in PHP_MINIT_FUNCTION()
|
/php-src/ext/intl/common/ |
H A D | common_enum.cpp | 279 IntlIterator_ce_ptr->get_iterator = IntlIterator_get_iterator; in intl_register_common_symbols()
|
/php-src/ext/opcache/ |
H A D | zend_file_cache.c | 910 if (ce->get_iterator) { 911 ZEND_ASSERT(ce->get_iterator == zend_hooked_object_get_iterator); 912 ce->get_iterator = HOOKED_ITERATOR_PLACEHOLDER; 1762 if (ce->get_iterator) { 1763 ZEND_ASSERT(ce->get_iterator == HOOKED_ITERATOR_PLACEHOLDER); 1764 ce->get_iterator = zend_hooked_object_get_iterator;
|
/php-src/ext/intl/resourcebundle/ |
H A D | resourcebundle_class.c | 425 ResourceBundle_ce_ptr->get_iterator = resourcebundle_get_iterator; in resourcebundle_register_class()
|
/php-src/ext/dom/ |
H A D | php_dom.c | 984 dom_nodelist_class_entry->get_iterator = php_dom_get_iterator; in PHP_MINIT_FUNCTION() 993 dom_modern_nodelist_class_entry->get_iterator = php_dom_get_iterator; in PHP_MINIT_FUNCTION() 1000 dom_namednodemap_class_entry->get_iterator = php_dom_get_iterator; in PHP_MINIT_FUNCTION() 1009 dom_modern_namednodemap_class_entry->get_iterator = php_dom_get_iterator; in PHP_MINIT_FUNCTION() 1016 dom_modern_dtd_namednodemap_class_entry->get_iterator = php_dom_get_iterator; in PHP_MINIT_FUNCTION() 1023 dom_html_collection_class_entry->get_iterator = php_dom_get_iterator; in PHP_MINIT_FUNCTION() 1311 dom_token_list_class_entry->get_iterator = dom_token_list_get_iterator; in PHP_MINIT_FUNCTION()
|
/php-src/ext/mysqli/ |
H A D | mysqli.c | 524 mysqli_result_class_entry->get_iterator = php_mysqli_result_get_iterator; in PHP_MINIT_FUNCTION()
|
/php-src/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 713 iter = Z_OBJCE_P(pg_rows)->get_iterator(Z_OBJCE_P(pg_rows), pg_rows, 0); in pgsqlCopyFromArray_internal()
|
/php-src/ext/pdo/ |
H A D | pdo_stmt.c | 2491 pdo_dbstmt_ce->get_iterator = pdo_stmt_iter_get; in pdo_stmt_init()
|
/php-src/ext/simplexml/ |
H A D | simplexml.c | 2648 ce_SimpleXMLElement->get_iterator = php_sxe_get_iterator; in PHP_MINIT_FUNCTION()
|
/php-src/ext/reflection/ |
H A D | php_reflection.c | 340 if (ce->get_iterator != NULL) { in _class_string() 5479 RETURN_BOOL(ce->get_iterator || instanceof_function(ce, zend_ce_traversable)); in ZEND_METHOD()
|