/php-src/Zend/ |
H A D | zend_iterators.h | 32 typedef struct _zend_object_iterator zend_object_iterator; typedef 36 void (*dtor)(zend_object_iterator *iter); 39 zend_result (*valid)(zend_object_iterator *iter); 42 zval *(*get_current_data)(zend_object_iterator *iter); 48 void (*get_current_key)(zend_object_iterator *iter, zval *key); 51 void (*move_forward)(zend_object_iterator *iter); 54 void (*rewind)(zend_object_iterator *iter); 57 void (*invalidate_current)(zend_object_iterator *iter); 89 ZEND_API zend_object_iterator* zend_iterator_unwrap(zval *array_ptr); 92 ZEND_API void zend_iterator_init(zend_object_iterator *iter); [all …]
|
H A D | zend_iterators.c | 65 zend_object_iterator *iter = (zend_object_iterator*)object; in iter_wrapper_free() 74 zend_object_iterator *iter = (zend_object_iterator*)object; in iter_wrapper_get_gc() 84 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_property_hooks.c | 26 zend_object_iterator it; 36 static zend_result zho_it_valid(zend_object_iterator *iter); 37 static void zho_it_move_forward(zend_object_iterator *iter); 137 static void zho_declared_it_fetch_current(zend_object_iterator *iter) in zho_declared_it_fetch_current() 201 static void zho_dynamic_it_fetch_current(zend_object_iterator *iter) in zho_dynamic_it_fetch_current() 235 static void zho_it_fetch_current(zend_object_iterator *iter) in zho_it_fetch_current() 257 static void zho_it_dtor(zend_object_iterator *iter) in zho_it_dtor() 267 static zend_result zho_it_valid(zend_object_iterator *iter) in zho_it_valid() 274 static zval *zho_it_get_current_data(zend_object_iterator *iter) in zho_it_get_current_data() 288 static void zho_it_move_forward(zend_object_iterator *iter) in zho_it_move_forward() [all …]
|
H A D | zend_property_hooks.h | 29 typedef struct _zend_object_iterator zend_object_iterator; typedef 37 ZEND_API zend_object_iterator *zend_hooked_object_get_iterator(zend_class_entry *ce, zval *object, …
|
H A D | zend_interfaces.c | 99 ZEND_API void zend_user_it_invalidate_current(zend_object_iterator *_iter) in zend_user_it_invalidate_current() 111 static void zend_user_it_dtor(zend_object_iterator *_iter) in zend_user_it_dtor() 122 ZEND_API zend_result 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() 492 zend_object_iterator *iter; [all …]
|
H A D | zend_generators.c | 696 zend_object_iterator *iter = (zend_object_iterator *) Z_OBJ(generator->values); in zend_generator_get_next_delegated_value() 1100 static void zend_generator_iterator_dtor(zend_object_iterator *iterator) /* {{{ */ in zend_generator_iterator_dtor() 1106 static zend_result zend_generator_iterator_valid(zend_object_iterator *iterator) /* {{{ */ in zend_generator_iterator_valid() 1118 static zval *zend_generator_iterator_get_data(zend_object_iterator *iterator) /* {{{ */ in zend_generator_iterator_get_data() 1130 static void zend_generator_iterator_get_key(zend_object_iterator *iterator, zval *key) /* {{{ */ in zend_generator_iterator_get_key() 1148 static void zend_generator_iterator_move_forward(zend_object_iterator *iterator) /* {{{ */ in zend_generator_iterator_move_forward() 1158 static void zend_generator_iterator_rewind(zend_object_iterator *iterator) /* {{{ */ in zend_generator_iterator_rewind() 1167 zend_object_iterator *iterator, zval **table, int *n) in zend_generator_iterator_get_gc() 1186 static zend_object_iterator *zend_generator_get_iterator(zend_class_entry *ce, zval *object, int by… in zend_generator_get_iterator() 1188 zend_object_iterator *iterator; in zend_generator_get_iterator() [all …]
|
H A D | zend_weakrefs.c | 35 zend_object_iterator it; 620 static void zend_weakmap_iterator_dtor(zend_object_iterator *obj_iter) in zend_weakmap_iterator_dtor() 627 static zend_result zend_weakmap_iterator_valid(zend_object_iterator *obj_iter) in zend_weakmap_iterator_valid() 635 static zval *zend_weakmap_iterator_get_current_data(zend_object_iterator *obj_iter) in zend_weakmap_iterator_get_current_data() 643 static void zend_weakmap_iterator_get_current_key(zend_object_iterator *obj_iter, zval *key) in zend_weakmap_iterator_get_current_key() 663 static void zend_weakmap_iterator_move_forward(zend_object_iterator *obj_iter) in zend_weakmap_iterator_move_forward() 671 static void zend_weakmap_iterator_rewind(zend_object_iterator *obj_iter) in zend_weakmap_iterator_rewind() 691 static zend_object_iterator *zend_weakmap_get_iterator( in zend_weakmap_get_iterator()
|
/php-src/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 zend_result 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-src/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 zend_result 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 zend_result 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-src/ext/mysqli/ |
H A D | mysqli_result_iterator.c | 34 zend_object_iterator intern; 42 zend_object_iterator *php_mysqli_result_get_iterator(zend_class_entry *ce, zval *object, int by_ref) in php_mysqli_result_get_iterator() 65 static void php_mysqli_result_iterator_dtor(zend_object_iterator *iter) in php_mysqli_result_iterator_dtor() 76 static zend_result php_mysqli_result_iterator_valid(zend_object_iterator *iter) in php_mysqli_result_iterator_valid() 85 static zval *php_mysqli_result_iterator_current_data(zend_object_iterator *iter) in php_mysqli_result_iterator_current_data() 94 static void php_mysqli_result_iterator_move_forward(zend_object_iterator *iter) in php_mysqli_result_iterator_move_forward() 112 static void php_mysqli_result_iterator_rewind(zend_object_iterator *iter) in php_mysqli_result_iterator_rewind() 134 static void php_mysqli_result_iterator_current_key(zend_object_iterator *iter, zval *key) in php_mysqli_result_iterator_current_key()
|
/php-src/ext/intl/resourcebundle/ |
H A D | resourcebundle_iterator.c | 51 static void resourcebundle_iterator_invalidate( zend_object_iterator *iter ) in resourcebundle_iterator_invalidate() 67 static void resourcebundle_iterator_dtor( zend_object_iterator *iter ) in resourcebundle_iterator_dtor() 79 static zend_result resourcebundle_iterator_has_more( zend_object_iterator *iter ) in resourcebundle_iterator_has_more() 87 static zval *resourcebundle_iterator_current( zend_object_iterator *iter ) in resourcebundle_iterator_current() 98 static void resourcebundle_iterator_key( zend_object_iterator *iter, zval *key ) in resourcebundle_iterator_key() 115 static void resourcebundle_iterator_step( zend_object_iterator *iter ) in resourcebundle_iterator_step() 125 static void resourcebundle_iterator_reset( zend_object_iterator *iter ) in resourcebundle_iterator_reset() 148 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-src/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-src/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 zend_result 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; 458 static void saproxy_iter_dtor(zend_object_iterator *iter) in saproxy_iter_dtor() 468 static zend_result saproxy_iter_valid(zend_object_iterator *iter) in saproxy_iter_valid() 475 static zval* saproxy_iter_get_data(zend_object_iterator *iter) in saproxy_iter_get_data() 505 static void saproxy_iter_get_key(zend_object_iterator *iter, zval *key) in saproxy_iter_get_key() 516 static void saproxy_iter_move_forwards(zend_object_iterator *iter) in saproxy_iter_move_forwards() 536 zend_object_iterator *php_com_saproxy_iter_get(zend_class_entry *ce, zval *object, int by_ref) in php_com_saproxy_iter_get()
|
/php-src/ext/pdo/ |
H A D | php_pdo_int.h | 39 zend_object_iterator *pdo_stmt_iter_get(zend_class_entry *ce, zval *object, int by_ref); 51 zend_object_iterator *php_pdo_dbstmt_iter_get(zend_class_entry *ce, zval *object);
|
/php-src/ext/dom/ |
H A D | dom_iterators.c | 92 static void php_dom_iterator_dtor(zend_object_iterator *iter) /* {{{ */ in php_dom_iterator_dtor() 101 static zend_result php_dom_iterator_valid(zend_object_iterator *iter) /* {{{ */ in php_dom_iterator_valid() 113 zval *php_dom_iterator_current_data(zend_object_iterator *iter) /* {{{ */ in php_dom_iterator_current_data() 120 static void php_dom_iterator_current_key(zend_object_iterator *iter, zval *key) /* {{{ */ in php_dom_iterator_current_key() 162 static void php_dom_iterator_move_forward(zend_object_iterator *iter) /* {{{ */ in php_dom_iterator_move_forward() 250 zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{{ */ in php_dom_get_iterator()
|
H A D | token_list.c | 33 zend_object_iterator it; 624 static void dom_token_list_it_dtor(zend_object_iterator *iter) in dom_token_list_it_dtor() 629 static void dom_token_list_it_rewind(zend_object_iterator *iter) in dom_token_list_it_rewind() 636 static zend_result dom_token_list_it_valid(zend_object_iterator *iter) in dom_token_list_it_valid() 649 static zval *dom_token_list_it_get_current_data(zend_object_iterator *iter) in dom_token_list_it_get_current_data() 658 static void dom_token_list_it_get_current_key(zend_object_iterator *iter, zval *key) in dom_token_list_it_get_current_key() 679 static void dom_token_list_it_move_forward(zend_object_iterator *iter) in dom_token_list_it_move_forward() 710 zend_object_iterator *dom_token_list_get_iterator(zend_class_entry *ce, zval *object, int by_ref) in dom_token_list_get_iterator()
|
H A D | token_list.h | 42 zend_object_iterator *dom_token_list_get_iterator(zend_class_entry *ce, zval *object, int by_ref);
|
/php-src/ext/simplexml/ |
H A D | php_simplexml_exports.h | 48 zend_object_iterator intern;
|
/php-src/ext/spl/ |
H A D | spl_iterators.c | 66 zend_object_iterator *iterator; 95 zend_object_iterator intern; 103 zend_object_iterator *iterator; 124 zend_object_iterator *iterator; 189 zend_object_iterator *sub_iter; in spl_recursive_it_dtor() 209 zend_object_iterator *sub_iter; in spl_recursive_it_valid_ex() 256 zend_object_iterator *iterator; in spl_recursive_it_move_forward_ex() 259 zend_object_iterator *sub_iter; in spl_recursive_it_move_forward_ex() 442 zend_object_iterator *sub_iter; in spl_recursive_it_rewind_ex() 690 zend_object_iterator *iterator; in PHP_METHOD() [all …]
|
H A D | spl_fixedarray.c | 54 zend_object_iterator intern; 883 static void spl_fixedarray_it_dtor(zend_object_iterator *iter) in spl_fixedarray_it_dtor() 888 static void spl_fixedarray_it_rewind(zend_object_iterator *iter) in spl_fixedarray_it_rewind() 893 static zend_result spl_fixedarray_it_valid(zend_object_iterator *iter) in spl_fixedarray_it_valid() 905 static zval *spl_fixedarray_it_get_current_data(zend_object_iterator *iter) in spl_fixedarray_it_get_current_data() 920 static void spl_fixedarray_it_get_current_key(zend_object_iterator *iter, zval *key) in spl_fixedarray_it_get_current_key() 925 static void spl_fixedarray_it_move_forward(zend_object_iterator *iter) in spl_fixedarray_it_move_forward() 942 static zend_object_iterator *spl_fixedarray_get_iterator(zend_class_entry *ce, zval *object, int by… in spl_fixedarray_get_iterator() 953 zend_iterator_init((zend_object_iterator*)iterator); in spl_fixedarray_get_iterator()
|