/PHP-8.2/Zend/ |
H A D | zend_iterators.h | 27 typedef struct _zend_object_iterator zend_object_iterator; typedef 31 void (*dtor)(zend_object_iterator *iter); 34 int (*valid)(zend_object_iterator *iter); 37 zval *(*get_current_data)(zend_object_iterator *iter); 43 void (*get_current_key)(zend_object_iterator *iter, zval *key); 46 void (*move_forward)(zend_object_iterator *iter); 49 void (*rewind)(zend_object_iterator *iter); 52 void (*invalidate_current)(zend_object_iterator *iter); 84 ZEND_API zend_object_iterator* zend_iterator_unwrap(zval *array_ptr); 87 ZEND_API void zend_iterator_init(zend_object_iterator *iter); [all …]
|
H A D | zend_iterators.c | 64 zend_object_iterator *iter = (zend_object_iterator*)object; in iter_wrapper_free() 73 zend_object_iterator *iter = (zend_object_iterator*)object; in iter_wrapper_get_gc() 83 ZEND_API void zend_iterator_init(zend_object_iterator *iter) in zend_iterator_init() 89 ZEND_API void zend_iterator_dtor(zend_object_iterator *iter) in zend_iterator_dtor() 98 ZEND_API zend_object_iterator* zend_iterator_unwrap(zval *array_ptr) in zend_iterator_unwrap() 102 return (zend_object_iterator *)Z_OBJ_P(array_ptr); in zend_iterator_unwrap()
|
H A D | zend_interfaces.h | 36 zend_object_iterator it; 61 ZEND_API void zend_user_it_rewind(zend_object_iterator *_iter); 62 ZEND_API zend_result zend_user_it_valid(zend_object_iterator *_iter); 63 ZEND_API void zend_user_it_get_current_key(zend_object_iterator *_iter, zval *key); 64 ZEND_API zval *zend_user_it_get_current_data(zend_object_iterator *_iter); 65 ZEND_API void zend_user_it_move_forward(zend_object_iterator *_iter); 66 ZEND_API void zend_user_it_invalidate_current(zend_object_iterator *_iter); 67 ZEND_API HashTable *zend_user_it_get_gc(zend_object_iterator *_iter, zval **table, int *n); 70 ZEND_API zend_object_iterator *zend_user_it_get_new_iterator(zend_class_entry *ce, zval *object, in…
|
H A D | zend_interfaces.c | 98 ZEND_API void zend_user_it_invalidate_current(zend_object_iterator *_iter) in zend_user_it_invalidate_current() 110 static void zend_user_it_dtor(zend_object_iterator *_iter) in zend_user_it_dtor() 121 ZEND_API int zend_user_it_valid(zend_object_iterator *_iter) in zend_user_it_valid() 138 ZEND_API zval *zend_user_it_get_current_data(zend_object_iterator *_iter) in zend_user_it_get_current_data() 163 ZEND_API void zend_user_it_move_forward(zend_object_iterator *_iter) in zend_user_it_move_forward() 174 ZEND_API void zend_user_it_rewind(zend_object_iterator *_iter) in zend_user_it_rewind() 223 zend_iterator_init((zend_object_iterator*)iterator); in zend_user_it_get_iterator() 229 return (zend_object_iterator*)iterator; in zend_user_it_get_iterator() 238 zend_object_iterator *new_iterator; in zend_user_it_get_new_iterator() 487 zend_object_iterator *iter; [all …]
|
H A D | zend_weakrefs.c | 34 zend_object_iterator it; 501 static void zend_weakmap_iterator_dtor(zend_object_iterator *obj_iter) in zend_weakmap_iterator_dtor() 508 static int zend_weakmap_iterator_valid(zend_object_iterator *obj_iter) in zend_weakmap_iterator_valid() 516 static zval *zend_weakmap_iterator_get_current_data(zend_object_iterator *obj_iter) in zend_weakmap_iterator_get_current_data() 524 static void zend_weakmap_iterator_get_current_key(zend_object_iterator *obj_iter, zval *key) in zend_weakmap_iterator_get_current_key() 544 static void zend_weakmap_iterator_move_forward(zend_object_iterator *obj_iter) in zend_weakmap_iterator_move_forward() 552 static void zend_weakmap_iterator_rewind(zend_object_iterator *obj_iter) in zend_weakmap_iterator_rewind() 572 static zend_object_iterator *zend_weakmap_get_iterator( in zend_weakmap_get_iterator()
|
H A D | zend_generators.c | 701 zend_object_iterator *iter = (zend_object_iterator *) Z_OBJ(generator->values); in zend_generator_get_next_delegated_value() 1075 static void zend_generator_iterator_dtor(zend_object_iterator *iterator) /* {{{ */ in zend_generator_iterator_dtor() 1081 static int zend_generator_iterator_valid(zend_object_iterator *iterator) /* {{{ */ in zend_generator_iterator_valid() 1093 static zval *zend_generator_iterator_get_data(zend_object_iterator *iterator) /* {{{ */ in zend_generator_iterator_get_data() 1105 static void zend_generator_iterator_get_key(zend_object_iterator *iterator, zval *key) /* {{{ */ in zend_generator_iterator_get_key() 1123 static void zend_generator_iterator_move_forward(zend_object_iterator *iterator) /* {{{ */ in zend_generator_iterator_move_forward() 1133 static void zend_generator_iterator_rewind(zend_object_iterator *iterator) /* {{{ */ in zend_generator_iterator_rewind() 1142 zend_object_iterator *iterator, zval **table, int *n) in zend_generator_iterator_get_gc() 1161 zend_object_iterator *zend_generator_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /… in zend_generator_get_iterator() 1163 zend_object_iterator *iterator; in zend_generator_get_iterator() [all …]
|
/PHP-8.2/ext/zend_test/ |
H A D | iterators.c | 29 zend_object_iterator intern; 33 static test_traversable_it *test_traversable_it_fetch(zend_object_iterator *iter) { in test_traversable_it_fetch() 37 static void test_traversable_it_dtor(zend_object_iterator *iter) { in test_traversable_it_dtor() 43 static void test_traversable_it_rewind(zend_object_iterator *iter) { in test_traversable_it_rewind() 49 static void test_traversable_it_next(zend_object_iterator *iter) { in test_traversable_it_next() 55 static int test_traversable_it_valid(zend_object_iterator *iter) { in test_traversable_it_valid() 64 static void test_traversable_it_key(zend_object_iterator *iter, zval *return_value) { in test_traversable_it_key() 70 static zval *test_traversable_it_current(zend_object_iterator *iter) { in test_traversable_it_current() 87 static zend_object_iterator *test_traversable_get_iterator( in test_traversable_get_iterator() 100 zend_iterator_init((zend_object_iterator*)iterator); in test_traversable_get_iterator() [all …]
|
/PHP-8.2/ext/intl/common/ |
H A D | common_enum.h | 50 zend_object_iterator *iterator; 61 zend_object_iterator zoi; 64 void (*destroy_it)(zend_object_iterator *iterator); 70 U_CFUNC void zoi_with_current_dtor(zend_object_iterator *iter); 71 U_CFUNC int zoi_with_current_valid(zend_object_iterator *iter); 72 U_CFUNC zval *zoi_with_current_get_current_data(zend_object_iterator *iter); 73 U_CFUNC void zoi_with_current_invalidate_current(zend_object_iterator *iter);
|
H A D | common_enum.cpp | 35 void zoi_with_current_dtor(zend_object_iterator *iter) in zoi_with_current_dtor() 59 U_CFUNC int zoi_with_current_valid(zend_object_iterator *iter) in zoi_with_current_valid() 64 U_CFUNC zval *zoi_with_current_get_current_data(zend_object_iterator *iter) in zoi_with_current_get_current_data() 69 U_CFUNC void zoi_with_current_invalidate_current(zend_object_iterator *iter) in zoi_with_current_invalidate_current() 78 static void string_enum_current_move_forward(zend_object_iterator *iter) in string_enum_current_move_forward() 101 static void string_enum_rewind(zend_object_iterator *iter) in string_enum_rewind() 124 static void string_enum_destroy_it(zend_object_iterator *iter) in string_enum_destroy_it() 145 ii->iterator = (zend_object_iterator*)emalloc(sizeof(zoi_with_current)); in IntlIterator_from_StringEnumeration() 169 static zend_object_iterator *IntlIterator_get_iterator( in IntlIterator_get_iterator()
|
/PHP-8.2/ext/mysqli/ |
H A D | mysqli_result_iterator.c | 35 zend_object_iterator intern; 43 zend_object_iterator *php_mysqli_result_get_iterator(zend_class_entry *ce, zval *object, int by_ref) in php_mysqli_result_get_iterator() 66 static void php_mysqli_result_iterator_dtor(zend_object_iterator *iter) in php_mysqli_result_iterator_dtor() 77 static int php_mysqli_result_iterator_valid(zend_object_iterator *iter) in php_mysqli_result_iterator_valid() 86 static zval *php_mysqli_result_iterator_current_data(zend_object_iterator *iter) in php_mysqli_result_iterator_current_data() 95 static void php_mysqli_result_iterator_move_forward(zend_object_iterator *iter) in php_mysqli_result_iterator_move_forward() 113 static void php_mysqli_result_iterator_rewind(zend_object_iterator *iter) in php_mysqli_result_iterator_rewind() 135 static void php_mysqli_result_iterator_current_key(zend_object_iterator *iter, zval *key) in php_mysqli_result_iterator_current_key()
|
/PHP-8.2/ext/intl/resourcebundle/ |
H A D | resourcebundle_iterator.c | 52 static void resourcebundle_iterator_invalidate( zend_object_iterator *iter ) in resourcebundle_iterator_invalidate() 68 static void resourcebundle_iterator_dtor( zend_object_iterator *iter ) in resourcebundle_iterator_dtor() 80 static int resourcebundle_iterator_has_more( zend_object_iterator *iter ) in resourcebundle_iterator_has_more() 88 static zval *resourcebundle_iterator_current( zend_object_iterator *iter ) in resourcebundle_iterator_current() 99 static void resourcebundle_iterator_key( zend_object_iterator *iter, zval *key ) in resourcebundle_iterator_key() 116 static void resourcebundle_iterator_step( zend_object_iterator *iter ) in resourcebundle_iterator_step() 126 static void resourcebundle_iterator_reset( zend_object_iterator *iter ) in resourcebundle_iterator_reset() 149 zend_object_iterator *resourcebundle_get_iterator( zend_class_entry *ce, zval *object, int byref ) in resourcebundle_get_iterator() 175 return (zend_object_iterator *) iterator; in resourcebundle_get_iterator()
|
H A D | resourcebundle_iterator.h | 23 zend_object_iterator intern; 32 zend_object_iterator *resourcebundle_get_iterator( zend_class_entry *ce, zval *object, int byref );
|
/PHP-8.2/ext/intl/breakiterator/ |
H A D | breakiterator_iterators.cpp | 38 inline BreakIterator *_breakiter_prolog(zend_object_iterator *iter) in _breakiter_prolog() 51 static void _breakiterator_destroy_it(zend_object_iterator *iter) in _breakiterator_destroy_it() 56 static void _breakiterator_move_forward(zend_object_iterator *iter) in _breakiterator_move_forward() 73 static void _breakiterator_rewind(zend_object_iterator *iter) in _breakiterator_rewind() 93 U_CFUNC zend_object_iterator *_breakiterator_get_iterator( in _breakiterator_get_iterator() 121 return reinterpret_cast<zend_object_iterator *>(zoi_iter); in _breakiterator_get_iterator() 133 static void _breakiterator_parts_destroy_it(zend_object_iterator *iter) in _breakiterator_parts_destroy_it() 138 static void _breakiterator_parts_get_current_key(zend_object_iterator *iter, zval *key) in _breakiterator_parts_get_current_key() 152 static void _breakiterator_parts_move_forward(zend_object_iterator *iter) in _breakiterator_parts_move_forward() 192 static void _breakiterator_parts_rewind(zend_object_iterator *iter) in _breakiterator_parts_rewind() [all …]
|
H A D | breakiterator_iterators.h | 36 U_CFUNC zend_object_iterator *_breakiterator_get_iterator(
|
/PHP-8.2/ext/com_dotnet/ |
H A D | com_iterator.c | 29 zend_object_iterator iter; 40 static void com_iter_dtor(zend_object_iterator *iter) in com_iter_dtor() 52 static int com_iter_valid(zend_object_iterator *iter) in com_iter_valid() 63 static zval* com_iter_get_data(zend_object_iterator *iter) in com_iter_get_data() 70 static void com_iter_get_key(zend_object_iterator *iter, zval *key) in com_iter_get_key() 81 static void com_iter_move_forwards(zend_object_iterator *iter) in com_iter_move_forwards() 134 zend_object_iterator *php_com_iter_get(zend_class_entry *ce, zval *object, int by_ref) in php_com_iter_get()
|
H A D | com_saproxy.c | 49 zend_object_iterator iter; 449 static void saproxy_iter_dtor(zend_object_iterator *iter) in saproxy_iter_dtor() 459 static int saproxy_iter_valid(zend_object_iterator *iter) in saproxy_iter_valid() 466 static zval* saproxy_iter_get_data(zend_object_iterator *iter) in saproxy_iter_get_data() 496 static void saproxy_iter_get_key(zend_object_iterator *iter, zval *key) in saproxy_iter_get_key() 507 static void saproxy_iter_move_forwards(zend_object_iterator *iter) in saproxy_iter_move_forwards() 527 zend_object_iterator *php_com_saproxy_iter_get(zend_class_entry *ce, zval *object, int by_ref) in php_com_saproxy_iter_get()
|
H A D | php_com_dotnet_internal.h | 79 zend_object_iterator *php_com_saproxy_iter_get(zend_class_entry *ce, zval *object, int by_ref); 146 zend_object_iterator *php_com_iter_get(zend_class_entry *ce, zval *object, int by_ref);
|
/PHP-8.2/ext/pdo/ |
H A D | php_pdo_int.h | 40 zend_object_iterator *pdo_stmt_iter_get(zend_class_entry *ce, zval *object, int by_ref); 52 zend_object_iterator *php_pdo_dbstmt_iter_get(zend_class_entry *ce, zval *object);
|
/PHP-8.2/ext/dom/ |
H A D | dom_iterators.c | 125 static void php_dom_iterator_dtor(zend_object_iterator *iter) /* {{{ */ in php_dom_iterator_dtor() 134 static int php_dom_iterator_valid(zend_object_iterator *iter) /* {{{ */ in php_dom_iterator_valid() 147 zval *php_dom_iterator_current_data(zend_object_iterator *iter) /* {{{ */ in php_dom_iterator_current_data() 154 static void php_dom_iterator_current_key(zend_object_iterator *iter, zval *key) /* {{{ */ in php_dom_iterator_current_key() 174 static void php_dom_iterator_move_forward(zend_object_iterator *iter) /* {{{ */ in php_dom_iterator_move_forward() 258 zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{{ */ in php_dom_get_iterator()
|
H A D | php_dom.h | 91 zend_object_iterator intern; 139 zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
|
/PHP-8.2/ext/simplexml/ |
H A D | php_simplexml_exports.h | 48 zend_object_iterator intern;
|
/PHP-8.2/ext/spl/ |
H A D | spl_iterators.c | 72 zend_object_iterator *iterator; 101 zend_object_iterator intern; 115 zend_object_iterator *iterator; 136 zend_object_iterator *iterator; 202 zend_object_iterator *sub_iter; in spl_recursive_it_dtor() 222 zend_object_iterator *sub_iter; in spl_recursive_it_valid_ex() 269 zend_object_iterator *iterator; in spl_recursive_it_move_forward_ex() 272 zend_object_iterator *sub_iter; in spl_recursive_it_move_forward_ex() 456 zend_object_iterator *sub_iter; in spl_recursive_it_rewind_ex() 669 zend_object_iterator *sub_iter; in spl_recursive_it_it_construct() [all …]
|
H A D | spl_fixedarray.c | 64 zend_object_iterator intern; 908 static void spl_fixedarray_it_dtor(zend_object_iterator *iter) in spl_fixedarray_it_dtor() 913 static void spl_fixedarray_it_rewind(zend_object_iterator *iter) in spl_fixedarray_it_rewind() 918 static int spl_fixedarray_it_valid(zend_object_iterator *iter) in spl_fixedarray_it_valid() 930 static zval *spl_fixedarray_it_get_current_data(zend_object_iterator *iter) in spl_fixedarray_it_get_current_data() 945 static void spl_fixedarray_it_get_current_key(zend_object_iterator *iter, zval *key) in spl_fixedarray_it_get_current_key() 950 static void spl_fixedarray_it_move_forward(zend_object_iterator *iter) in spl_fixedarray_it_move_forward() 967 zend_object_iterator *spl_fixedarray_get_iterator(zend_class_entry *ce, zval *object, int by_ref) in spl_fixedarray_get_iterator() 978 zend_iterator_init((zend_object_iterator*)iterator); in spl_fixedarray_get_iterator()
|
H A D | spl_heap.c | 904 static void spl_heap_it_dtor(zend_object_iterator *iter) /* {{{ */ in spl_heap_it_dtor() 911 static void spl_heap_it_rewind(zend_object_iterator *iter) /* {{{ */ in spl_heap_it_rewind() 917 static int spl_heap_it_valid(zend_object_iterator *iter) /* {{{ */ in spl_heap_it_valid() 923 static zval *spl_heap_it_get_current_data(zend_object_iterator *iter) /* {{{ */ in spl_heap_it_get_current_data() 939 static zval *spl_pqueue_it_get_current_data(zend_object_iterator *iter) /* {{{ */ in spl_pqueue_it_get_current_data() 960 static void spl_heap_it_get_current_key(zend_object_iterator *iter, zval *key) /* {{{ */ in spl_heap_it_get_current_key() 968 static void spl_heap_it_move_forward(zend_object_iterator *iter) /* {{{ */ in spl_heap_it_move_forward() 1109 zend_object_iterator *spl_heap_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{{ … in spl_heap_get_iterator() 1128 zend_object_iterator *spl_pqueue_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{… in spl_pqueue_get_iterator()
|
H A D | spl_iterators.h | 115 typedef int (*spl_iterator_apply_func_t)(zend_object_iterator *iter, void *puser);
|