Home
last modified time | relevance | path

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

12

/PHP-7.4/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);
73 ZEND_API zend_object_iterator* zend_iterator_unwrap(zval *array_ptr);
76 ZEND_API void zend_iterator_init(zend_object_iterator *iter);
[all …]
H A Dzend_iterators.c67 zend_object_iterator *iter = (zend_object_iterator*)object; in iter_wrapper_free()
82 ZEND_API void zend_iterator_init(zend_object_iterator *iter) in zend_iterator_init()
88 ZEND_API void zend_iterator_dtor(zend_object_iterator *iter) in zend_iterator_dtor()
97 ZEND_API zend_object_iterator* zend_iterator_unwrap(zval *array_ptr) in zend_iterator_unwrap()
101 return (zend_object_iterator *)Z_OBJ_P(array_ptr); in zend_iterator_unwrap()
H A Dzend_interfaces.h35 zend_object_iterator it;
62 ZEND_API void zend_user_it_rewind(zend_object_iterator *_iter);
63 ZEND_API int zend_user_it_valid(zend_object_iterator *_iter);
64 ZEND_API void zend_user_it_get_current_key(zend_object_iterator *_iter, zval *key);
65 ZEND_API zval *zend_user_it_get_current_data(zend_object_iterator *_iter);
66 ZEND_API void zend_user_it_move_forward(zend_object_iterator *_iter);
67 ZEND_API void zend_user_it_invalidate_current(zend_object_iterator *_iter);
70 ZEND_API zend_object_iterator *zend_user_it_get_new_iterator(zend_class_entry *ce, zval *object, in…
H A Dzend_interfaces.c132 ZEND_API void zend_user_it_invalidate_current(zend_object_iterator *_iter) in zend_user_it_invalidate_current()
144 static void zend_user_it_dtor(zend_object_iterator *_iter) in zend_user_it_dtor()
155 ZEND_API int zend_user_it_valid(zend_object_iterator *_iter) in zend_user_it_valid()
173 ZEND_API zval *zend_user_it_get_current_data(zend_object_iterator *_iter) in zend_user_it_get_current_data()
186 ZEND_API void zend_user_it_get_current_key(zend_object_iterator *_iter, zval *key) in zend_user_it_get_current_key()
207 ZEND_API void zend_user_it_move_forward(zend_object_iterator *_iter) in zend_user_it_move_forward()
218 ZEND_API void zend_user_it_rewind(zend_object_iterator *_iter) in zend_user_it_rewind()
239 static zend_object_iterator *zend_user_it_get_iterator(zend_class_entry *ce, zval *object, int by_r… in zend_user_it_get_iterator()
250 zend_iterator_init((zend_object_iterator*)iterator); in zend_user_it_get_iterator()
257 return (zend_object_iterator*)iterator; in zend_user_it_get_iterator()
[all …]
H A Dzend_generators.c731 zend_object_iterator *iter = (zend_object_iterator *) Z_OBJ(generator->values); in zend_generator_get_next_delegated_value()
1109 static void zend_generator_iterator_dtor(zend_object_iterator *iterator) /* {{{ */ in zend_generator_iterator_dtor()
1117 static int zend_generator_iterator_valid(zend_object_iterator *iterator) /* {{{ */ in zend_generator_iterator_valid()
1129 static zval *zend_generator_iterator_get_data(zend_object_iterator *iterator) /* {{{ */ in zend_generator_iterator_get_data()
1141 static void zend_generator_iterator_get_key(zend_object_iterator *iterator, zval *key) /* {{{ */ in zend_generator_iterator_get_key()
1159 static void zend_generator_iterator_move_forward(zend_object_iterator *iterator) /* {{{ */ in zend_generator_iterator_move_forward()
1169 static void zend_generator_iterator_rewind(zend_object_iterator *iterator) /* {{{ */ in zend_generator_iterator_rewind()
1187 zend_object_iterator *zend_generator_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /… in zend_generator_get_iterator()
1189 zend_object_iterator *iterator; in zend_generator_get_iterator()
1202 iterator = generator->iterator = emalloc(sizeof(zend_object_iterator)); in zend_generator_get_iterator()
H A Dzend_generators.h58 zend_object_iterator *iterator;
/PHP-7.4/ext/intl/common/
H A Dcommon_enum.h52 zend_object_iterator *iterator;
63 zend_object_iterator zoi;
66 void (*destroy_it)(zend_object_iterator *iterator);
72 U_CFUNC void zoi_with_current_dtor(zend_object_iterator *iter);
73 U_CFUNC int zoi_with_current_valid(zend_object_iterator *iter);
74 U_CFUNC zval *zoi_with_current_get_current_data(zend_object_iterator *iter);
75 U_CFUNC void zoi_with_current_invalidate_current(zend_object_iterator *iter);
H A Dcommon_enum.cpp36 void zoi_with_current_dtor(zend_object_iterator *iter) in zoi_with_current_dtor()
60 U_CFUNC int zoi_with_current_valid(zend_object_iterator *iter) in zoi_with_current_valid()
65 U_CFUNC zval *zoi_with_current_get_current_data(zend_object_iterator *iter) in zoi_with_current_get_current_data()
70 U_CFUNC void zoi_with_current_invalidate_current(zend_object_iterator *iter) in zoi_with_current_invalidate_current()
79 static void string_enum_current_move_forward(zend_object_iterator *iter) in string_enum_current_move_forward()
102 static void string_enum_rewind(zend_object_iterator *iter) in string_enum_rewind()
125 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-7.4/ext/mysqli/
H A Dmysqli_result_iterator.c37 zend_object_iterator intern;
45 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-7.4/ext/intl/resourcebundle/
H A Dresourcebundle_iterator.c54 static void resourcebundle_iterator_invalidate( zend_object_iterator *iter ) in resourcebundle_iterator_invalidate()
70 static void resourcebundle_iterator_dtor( zend_object_iterator *iter ) in resourcebundle_iterator_dtor()
82 static int resourcebundle_iterator_has_more( zend_object_iterator *iter ) in resourcebundle_iterator_has_more()
90 static zval *resourcebundle_iterator_current( zend_object_iterator *iter ) in resourcebundle_iterator_current()
101 static void resourcebundle_iterator_key( zend_object_iterator *iter, zval *key ) in resourcebundle_iterator_key()
118 static void resourcebundle_iterator_step( zend_object_iterator *iter ) in resourcebundle_iterator_step()
128 static void resourcebundle_iterator_reset( zend_object_iterator *iter ) in resourcebundle_iterator_reset()
150 zend_object_iterator *resourcebundle_get_iterator( zend_class_entry *ce, zval *object, int byref ) in resourcebundle_get_iterator()
176 return (zend_object_iterator *) iterator; in resourcebundle_get_iterator()
H A Dresourcebundle_iterator.h25 zend_object_iterator intern;
34 zend_object_iterator *resourcebundle_get_iterator( zend_class_entry *ce, zval *object, int byref );
/PHP-7.4/ext/intl/breakiterator/
H A Dbreakiterator_iterators.cpp39 inline BreakIterator *_breakiter_prolog(zend_object_iterator *iter) in _breakiter_prolog()
52 static void _breakiterator_destroy_it(zend_object_iterator *iter) in _breakiterator_destroy_it()
57 static void _breakiterator_move_forward(zend_object_iterator *iter) in _breakiterator_move_forward()
74 static void _breakiterator_rewind(zend_object_iterator *iter) in _breakiterator_rewind()
93 U_CFUNC zend_object_iterator *_breakiterator_get_iterator( in _breakiterator_get_iterator()
122 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()
144 static void _breakiterator_parts_move_forward(zend_object_iterator *iter) in _breakiterator_parts_move_forward()
183 static void _breakiterator_parts_rewind(zend_object_iterator *iter) in _breakiterator_parts_rewind()
[all …]
H A Dbreakiterator_iterators.h38 U_CFUNC zend_object_iterator *_breakiterator_get_iterator(
/PHP-7.4/ext/com_dotnet/
H A Dcom_iterator.c31 zend_object_iterator iter;
42 static void com_iter_dtor(zend_object_iterator *iter) in com_iter_dtor()
54 static int com_iter_valid(zend_object_iterator *iter) in com_iter_valid()
65 static zval* com_iter_get_data(zend_object_iterator *iter) in com_iter_get_data()
72 static void com_iter_get_key(zend_object_iterator *iter, zval *key) in com_iter_get_key()
83 static void com_iter_move_forwards(zend_object_iterator *iter) in com_iter_move_forwards()
135 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.c52 zend_object_iterator iter;
468 static void saproxy_iter_dtor(zend_object_iterator *iter) in saproxy_iter_dtor()
478 static int saproxy_iter_valid(zend_object_iterator *iter) in saproxy_iter_valid()
485 static zval* saproxy_iter_get_data(zend_object_iterator *iter) in saproxy_iter_get_data()
515 static void saproxy_iter_get_key(zend_object_iterator *iter, zval *key) in saproxy_iter_get_key()
526 static void saproxy_iter_move_forwards(zend_object_iterator *iter) in saproxy_iter_move_forwards()
545 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.h81 zend_object_iterator *php_com_saproxy_iter_get(zend_class_entry *ce, zval *object, int by_ref);
182 zend_object_iterator *php_com_iter_get(zend_class_entry *ce, zval *object, int by_ref);
/PHP-7.4/ext/pdo/
H A Dphp_pdo_int.h43 zend_object_iterator *pdo_stmt_iter_get(zend_class_entry *ce, zval *object, int by_ref);
54 zend_object_iterator *php_pdo_dbstmt_iter_get(zend_class_entry *ce, zval *object);
/PHP-7.4/ext/spl/
H A Dspl_iterators.h126 zend_object_iterator *iterator;
147 zend_object_iterator *iterator;
168 typedef int (*spl_iterator_apply_func_t)(zend_object_iterator *iter, void *puser);
H A Dspl_fixedarray.c208 zend_object_iterator *spl_fixedarray_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
822 static void spl_fixedarray_it_dtor(zend_object_iterator *iter) /* {{{ */ in spl_fixedarray_it_dtor()
831 static void spl_fixedarray_it_rewind(zend_object_iterator *iter) /* {{{ */ in spl_fixedarray_it_rewind()
843 static int spl_fixedarray_it_valid(zend_object_iterator *iter) /* {{{ */ in spl_fixedarray_it_valid()
859 static zval *spl_fixedarray_it_get_current_data(zend_object_iterator *iter) /* {{{ */ in spl_fixedarray_it_get_current_data()
881 static void spl_fixedarray_it_get_current_key(zend_object_iterator *iter, zval *key) /* {{{ */ in spl_fixedarray_it_get_current_key()
893 static void spl_fixedarray_it_move_forward(zend_object_iterator *iter) /* {{{ */ in spl_fixedarray_it_move_forward()
996 zend_object_iterator *spl_fixedarray_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /… in spl_fixedarray_get_iterator()
1007 zend_iterator_init((zend_object_iterator*)iterator); in spl_fixedarray_get_iterator()
H A Dspl_heap.c386 zend_object_iterator *spl_heap_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
885 static void spl_heap_it_dtor(zend_object_iterator *iter) /* {{{ */ in spl_heap_it_dtor()
894 static void spl_heap_it_rewind(zend_object_iterator *iter) /* {{{ */ in spl_heap_it_rewind()
900 static int spl_heap_it_valid(zend_object_iterator *iter) /* {{{ */ in spl_heap_it_valid()
906 static zval *spl_heap_it_get_current_data(zend_object_iterator *iter) /* {{{ */ in spl_heap_it_get_current_data()
923 static zval *spl_pqueue_it_get_current_data(zend_object_iterator *iter) /* {{{ */ in spl_pqueue_it_get_current_data()
945 static void spl_heap_it_get_current_key(zend_object_iterator *iter, zval *key) /* {{{ */ in spl_heap_it_get_current_key()
953 static void spl_heap_it_move_forward(zend_object_iterator *iter) /* {{{ */ in spl_heap_it_move_forward()
1099 zend_object_iterator *spl_heap_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{{ … in spl_heap_get_iterator()
1124 zend_object_iterator *spl_pqueue_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{… in spl_pqueue_get_iterator()
[all …]
H A Dspl_iterators.c94 zend_object_iterator *iterator;
121 zend_object_iterator intern;
172 zend_object_iterator *sub_iter; in spl_recursive_it_dtor()
190 zend_object_iterator *sub_iter; in spl_recursive_it_valid_ex()
237 zend_object_iterator *iterator; in spl_recursive_it_move_forward_ex()
241 zend_object_iterator *sub_iter; in spl_recursive_it_move_forward_ex()
409 zend_object_iterator *sub_iter; in spl_recursive_it_rewind_ex()
593 zend_object_iterator *sub_iter; in spl_recursive_it_it_construct()
643 zend_object_iterator *iterator; in SPL_METHOD()
914 zend_object_iterator *sub_iter; in spl_RecursiveIteratorIterator_dtor()
[all …]
H A Dspl_dllist.c368 zend_object_iterator *spl_dllist_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
922 static void spl_dllist_it_dtor(zend_object_iterator *iter) /* {{{ */ in spl_dllist_it_dtor()
983 static void spl_dllist_it_rewind(zend_object_iterator *iter) /* {{{ */ in spl_dllist_it_rewind()
993 static int spl_dllist_it_valid(zend_object_iterator *iter) /* {{{ */ in spl_dllist_it_valid()
1002 static zval *spl_dllist_it_get_current_data(zend_object_iterator *iter) /* {{{ */ in spl_dllist_it_get_current_data()
1015 static void spl_dllist_it_get_current_key(zend_object_iterator *iter, zval *key) /* {{{ */ in spl_dllist_it_get_current_key()
1023 static void spl_dllist_it_move_forward(zend_object_iterator *iter) /* {{{ */ in spl_dllist_it_move_forward()
1367 zend_object_iterator *spl_dllist_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{… in spl_dllist_get_iterator()
1379 zend_iterator_init((zend_object_iterator*)iterator); in spl_dllist_get_iterator()
/PHP-7.4/ext/dom/
H A Ddom_iterators.c127 static void php_dom_iterator_dtor(zend_object_iterator *iter) /* {{{ */ in php_dom_iterator_dtor()
136 static int php_dom_iterator_valid(zend_object_iterator *iter) /* {{{ */ in php_dom_iterator_valid()
149 zval *php_dom_iterator_current_data(zend_object_iterator *iter) /* {{{ */ in php_dom_iterator_current_data()
157 static void php_dom_iterator_current_key(zend_object_iterator *iter, zval *key) /* {{{ */ in php_dom_iterator_current_key()
177 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 Dphp_dom.h92 zend_object_iterator intern;
126 zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
/PHP-7.4/ext/simplexml/
H A Dphp_simplexml_exports.h50 zend_object_iterator intern;

Completed in 89 milliseconds

12