Home
last modified time | relevance | path

Searched refs:zend_object_iterator (Results 1 – 25 of 40) sorted by relevance

12

/PHP-8.1/Zend/
H A Dzend_iterators.h27 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);
77 ZEND_API zend_object_iterator* zend_iterator_unwrap(zval *array_ptr);
80 ZEND_API void zend_iterator_init(zend_object_iterator *iter);
[all …]
H A Dzend_iterators.c64 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 Dzend_interfaces.h36 zend_object_iterator it;
52 ZEND_API void zend_user_it_rewind(zend_object_iterator *_iter);
53 ZEND_API zend_result zend_user_it_valid(zend_object_iterator *_iter);
54 ZEND_API void zend_user_it_get_current_key(zend_object_iterator *_iter, zval *key);
55 ZEND_API zval *zend_user_it_get_current_data(zend_object_iterator *_iter);
56 ZEND_API void zend_user_it_move_forward(zend_object_iterator *_iter);
57 ZEND_API void zend_user_it_invalidate_current(zend_object_iterator *_iter);
58 ZEND_API HashTable *zend_user_it_get_gc(zend_object_iterator *_iter, zval **table, int *n);
61 ZEND_API zend_object_iterator *zend_user_it_get_new_iterator(zend_class_entry *ce, zval *object, in…
H A Dzend_interfaces.c98 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()
139 ZEND_API zval *zend_user_it_get_current_data(zend_object_iterator *_iter) in zend_user_it_get_current_data()
164 ZEND_API void zend_user_it_move_forward(zend_object_iterator *_iter) in zend_user_it_move_forward()
175 ZEND_API void zend_user_it_rewind(zend_object_iterator *_iter) in zend_user_it_rewind()
224 zend_iterator_init((zend_object_iterator*)iterator); in zend_user_it_get_iterator()
230 return (zend_object_iterator*)iterator; in zend_user_it_get_iterator()
239 zend_object_iterator *new_iterator; in zend_user_it_get_new_iterator()
445 zend_object_iterator *iter;
[all …]
H A Dzend_weakrefs.c34 zend_object_iterator it;
478 static void zend_weakmap_iterator_dtor(zend_object_iterator *obj_iter) in zend_weakmap_iterator_dtor()
485 static int zend_weakmap_iterator_valid(zend_object_iterator *obj_iter) in zend_weakmap_iterator_valid()
493 static zval *zend_weakmap_iterator_get_current_data(zend_object_iterator *obj_iter) in zend_weakmap_iterator_get_current_data()
501 static void zend_weakmap_iterator_get_current_key(zend_object_iterator *obj_iter, zval *key) in zend_weakmap_iterator_get_current_key()
517 static void zend_weakmap_iterator_move_forward(zend_object_iterator *obj_iter) in zend_weakmap_iterator_move_forward()
525 static void zend_weakmap_iterator_rewind(zend_object_iterator *obj_iter) in zend_weakmap_iterator_rewind()
545 static zend_object_iterator *zend_weakmap_get_iterator( in zend_weakmap_get_iterator()
H A Dzend_generators.c639 zend_object_iterator *iter = (zend_object_iterator *) Z_OBJ(generator->values); in zend_generator_get_next_delegated_value()
1001 static void zend_generator_iterator_dtor(zend_object_iterator *iterator) /* {{{ */ in zend_generator_iterator_dtor()
1007 static int zend_generator_iterator_valid(zend_object_iterator *iterator) /* {{{ */ in zend_generator_iterator_valid()
1019 static zval *zend_generator_iterator_get_data(zend_object_iterator *iterator) /* {{{ */ in zend_generator_iterator_get_data()
1031 static void zend_generator_iterator_get_key(zend_object_iterator *iterator, zval *key) /* {{{ */ in zend_generator_iterator_get_key()
1049 static void zend_generator_iterator_move_forward(zend_object_iterator *iterator) /* {{{ */ in zend_generator_iterator_move_forward()
1059 static void zend_generator_iterator_rewind(zend_object_iterator *iterator) /* {{{ */ in zend_generator_iterator_rewind()
1068 zend_object_iterator *iterator, zval **table, int *n) in zend_generator_iterator_get_gc()
1087 zend_object_iterator *zend_generator_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /… in zend_generator_get_iterator()
1089 zend_object_iterator *iterator; in zend_generator_get_iterator()
[all …]
/PHP-8.1/ext/zend_test/
H A Diterators.c29 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.1/ext/intl/common/
H A Dcommon_enum.h50 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 Dcommon_enum.cpp35 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.1/ext/mysqli/
H A Dmysqli_result_iterator.c35 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)
139 static void php_mysqli_result_iterator_current_key(zend_object_iterator *iter, zval *key)
/PHP-8.1/ext/intl/resourcebundle/
H A Dresourcebundle_iterator.c52 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 Dresourcebundle_iterator.h23 zend_object_iterator intern;
32 zend_object_iterator *resourcebundle_get_iterator( zend_class_entry *ce, zval *object, int byref );
/PHP-8.1/ext/intl/breakiterator/
H A Dbreakiterator_iterators.cpp38 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 Dbreakiterator_iterators.h36 U_CFUNC zend_object_iterator *_breakiterator_get_iterator(
/PHP-8.1/ext/com_dotnet/
H A Dcom_iterator.c29 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 Dcom_saproxy.c49 zend_object_iterator iter;
451 static void saproxy_iter_dtor(zend_object_iterator *iter) in saproxy_iter_dtor()
461 static int saproxy_iter_valid(zend_object_iterator *iter) in saproxy_iter_valid()
468 static zval* saproxy_iter_get_data(zend_object_iterator *iter) in saproxy_iter_get_data()
498 static void saproxy_iter_get_key(zend_object_iterator *iter, zval *key) in saproxy_iter_get_key()
509 static void saproxy_iter_move_forwards(zend_object_iterator *iter) in saproxy_iter_move_forwards()
529 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 Dphp_com_dotnet_internal.h79 zend_object_iterator *php_com_saproxy_iter_get(zend_class_entry *ce, zval *object, int by_ref);
147 zend_object_iterator *php_com_iter_get(zend_class_entry *ce, zval *object, int by_ref);
/PHP-8.1/ext/pdo/
H A Dphp_pdo_int.h40 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.1/ext/spl/
H A Dspl_iterators.h117 zend_object_iterator *iterator;
138 zend_object_iterator *iterator;
159 typedef int (*spl_iterator_apply_func_t)(zend_object_iterator *iter, void *puser);
H A Dspl_fixedarray.c68 zend_object_iterator intern;
859 static void spl_fixedarray_it_dtor(zend_object_iterator *iter) in spl_fixedarray_it_dtor()
864 static void spl_fixedarray_it_rewind(zend_object_iterator *iter) in spl_fixedarray_it_rewind()
869 static int spl_fixedarray_it_valid(zend_object_iterator *iter) in spl_fixedarray_it_valid()
881 static zval *spl_fixedarray_it_get_current_data(zend_object_iterator *iter) in spl_fixedarray_it_get_current_data()
896 static void spl_fixedarray_it_get_current_key(zend_object_iterator *iter, zval *key) in spl_fixedarray_it_get_current_key()
901 static void spl_fixedarray_it_move_forward(zend_object_iterator *iter) in spl_fixedarray_it_move_forward()
918 zend_object_iterator *spl_fixedarray_get_iterator(zend_class_entry *ce, zval *object, int by_ref) in spl_fixedarray_get_iterator()
929 zend_iterator_init((zend_object_iterator*)iterator); in spl_fixedarray_get_iterator()
H A Dspl_heap.c893 static void spl_heap_it_dtor(zend_object_iterator *iter) /* {{{ */ in spl_heap_it_dtor()
902 static void spl_heap_it_rewind(zend_object_iterator *iter) /* {{{ */ in spl_heap_it_rewind()
908 static int spl_heap_it_valid(zend_object_iterator *iter) /* {{{ */ in spl_heap_it_valid()
914 static zval *spl_heap_it_get_current_data(zend_object_iterator *iter) /* {{{ */ in spl_heap_it_get_current_data()
931 static zval *spl_pqueue_it_get_current_data(zend_object_iterator *iter) /* {{{ */ in spl_pqueue_it_get_current_data()
953 static void spl_heap_it_get_current_key(zend_object_iterator *iter, zval *key) /* {{{ */ in spl_heap_it_get_current_key()
961 static void spl_heap_it_move_forward(zend_object_iterator *iter) /* {{{ */ in spl_heap_it_move_forward()
1103 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()
1140 zend_iterator_init((zend_object_iterator*)iterator); in spl_pqueue_get_iterator()
H A Dspl_iterators.c84 zend_object_iterator *iterator;
113 zend_object_iterator intern;
161 zend_object_iterator *sub_iter; in spl_recursive_it_dtor()
181 zend_object_iterator *sub_iter; in spl_recursive_it_valid_ex()
228 zend_object_iterator *iterator; in spl_recursive_it_move_forward_ex()
231 zend_object_iterator *sub_iter; in spl_recursive_it_move_forward_ex()
415 zend_object_iterator *sub_iter; in spl_recursive_it_rewind_ex()
612 zend_object_iterator *sub_iter; in spl_recursive_it_it_construct()
658 zend_object_iterator *iterator; in PHP_METHOD()
677 zend_object_iterator *iterator; in PHP_METHOD()
[all …]
/PHP-8.1/ext/dom/
H A Ddom_iterators.c125 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()
155 static void php_dom_iterator_current_key(zend_object_iterator *iter, zval *key) /* {{{ */ in php_dom_iterator_current_key()
175 static void php_dom_iterator_move_forward(zend_object_iterator *iter) /* {{{ */ in php_dom_iterator_move_forward()
257 zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{{ */ in php_dom_get_iterator()
H A Dphp_dom.h91 zend_object_iterator intern;
139 zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
/PHP-8.1/ext/simplexml/
H A Dphp_simplexml_exports.h48 zend_object_iterator intern;

Completed in 70 milliseconds

12