Searched refs:iterator (Results 1 - 25 of 48) sorted by relevance

12

/PHP_5_3/ext/phar/phar/
H A Ddirectorygraphiterator.inc13 * @brief A tree iterator that only shows directories.
H A Ddirectorytreeiterator.inc46 /** Aggregates the inner iterator
/PHP_5_3/ext/spl/examples/
H A Ddirectorygraphiterator.inc13 * @brief A tree iterator that only shows directories.
H A Ddirectorytree.inc13 * @brief A directory iterator that does not show '.' and '..'.
H A Ddirectorytreeiterator.inc46 /** Aggregates the inner iterator
H A Dinigroups.inc20 * Using this class you can iterator over all groups of a ini file.
31 * Construct an ini file group iterator from a filename.
H A Dkeyfilter.inc18 * are strings. In other words you can put an iterator into the constructor
28 * Constructs a filter around an iterator whose elemnts are strings.
29 * If the given iterator is of type spl_sequence then its rewind()
H A Dsearchiterator.inc50 /** Aggregates the inner iterator
/PHP_5_3/ext/spl/internal/
H A Dcachingiterator.inc18 * This iterator wrapper does a one ahead iteration. This way it knows whether
19 * the inner iterator has one more element.
25 * already changed iterator. If you do not need this then it you should
41 /** Construct from another iterator
89 /** @return whether the iterator is valid
117 /** Aggregate the inner iterator
149 * @return The inner iterator
H A Dfilteriterator.inc19 * you can put an iterator into the constructor and the instance will only
31 * Constructs a filter around another iterator.
40 * Rewind the inner iterator.
48 * Accept function to decide whether an element of the inner iterator
52 * iterator.
109 * @return The inner iterator
116 /** Aggregate the inner iterator
H A Diteratoriterator.inc16 * This iterator wrapper allows to convert anything that is traversable into
36 * downcast to is actually a base class of the specified iterator to wrap.
44 * @param iterator inner iterator
45 * @param classname optional class the iterator has to be downcasted to
47 function __construct(Traversable $iterator, $classname = null)
49 if ($iterator instanceof IteratorAggregate)
51 $iterator = $iterator->getIterator();
53 if ($iterator instanceo
[all...]
H A Dlimititerator.inc82 /** @return whether iterator is valid
116 * @return The inner iterator
123 /** Aggregate the inner iterator
H A Douteriterator.inc13 * @brief Interface to access the current inner iteraor of iterator wrappers
20 /** @return inner iterator
H A Drecursivearrayiterator.inc13 * @brief A recursive array iterator
39 /** @return an iterator for the current elements children
41 * @note the returned iterator will be of the same class as $this
H A Drecursiveiterator.inc24 /** @return the sub iterator for the current element
H A Drecursiveregexiterator.inc18 * This filter iterator assumes that the inner iterator
23 * Constructs a regular expression filter around an iterator whose
26 * @param it inner iterator
45 /** @return an iterator for the current elements children
47 * @note the returned iterator will be of the same class as $this
H A Drecursivetreeiterator.inc28 * @param it iterator to use as inner iterator
124 /** Aggregates the inner iterator
H A Dseekableiterator.inc12 /** @brief seekable iterator
17 * Turns a normal iterator ino a seekable iterator. When there is a way
18 * to seek on an iterator LimitIterator can use this to efficiently rewind
/PHP_5_3/ext/intl/resourcebundle/
H A Dresourcebundle_iterator.c26 * Although libicu offers iterator functions, they are not used here: libicu does iterate
32 static void resourcebundle_iterator_read( ResourceBundle_iterator *iterator TSRMLS_DC )
35 ResourceBundle_object *rb = iterator->subject;
37 rb->child = ures_getByIndex( rb->me, iterator->i, rb->child, &icuerror );
41 if (iterator->is_table) {
42 iterator->currentkey = estrdup( ures_getKey( rb->child ) );
44 MAKE_STD_ZVAL( iterator->current );
45 resourcebundle_extract_value( iterator->current, rb TSRMLS_CC );
49 iterator->current = NULL;
57 ResourceBundle_iterator *iterator local
73 ResourceBundle_iterator *iterator = (ResourceBundle_iterator *) iter; local
87 ResourceBundle_iterator *iterator = (ResourceBundle_iterator *) iter; local
95 ResourceBundle_iterator *iterator = (ResourceBundle_iterator *) iter; local
106 ResourceBundle_iterator *iterator = (ResourceBundle_iterator *) iter; local
126 ResourceBundle_iterator *iterator = (ResourceBundle_iterator *) iter; local
136 ResourceBundle_iterator *iterator = (ResourceBundle_iterator *) iter; local
159 ResourceBundle_iterator *iterator = emalloc( sizeof( ResourceBundle_iterator ) ); local
[all...]
/PHP_5_3/ext/dom/
H A Ddom_iterators.c127 php_dom_iterator *iterator = (php_dom_iterator *)iter; local
129 zval_ptr_dtor((zval**)&iterator->intern.data);
131 if (iterator->curobj) {
132 zval_ptr_dtor((zval**)&iterator->curobj);
135 efree(iterator);
142 php_dom_iterator *iterator = (php_dom_iterator *)iter; local
144 if (iterator->curobj) {
154 php_dom_iterator *iterator = (php_dom_iterator *)iter; local
156 *data = &iterator->curobj;
168 php_dom_iterator *iterator local
205 php_dom_iterator *iterator = (php_dom_iterator *)iter; local
279 php_dom_iterator *iterator; local
[all...]
/PHP_5_3/ext/spl/
H A Dspl_heap.c82 /* define an overloaded iterator structure */
887 spl_heap_it *iterator = (spl_heap_it *)iter; local
890 zval_ptr_dtor((zval**)&iterator->intern.it.data);
892 efree(iterator);
898 /* do nothing, the iterator always points to the top element */
904 spl_heap_it *iterator = (spl_heap_it *)iter; local
906 return (iterator->object->heap->count != 0 ? SUCCESS : FAILURE);
912 spl_heap_it *iterator = (spl_heap_it *)iter; local
913 zval **element = (zval **)&iterator->object->heap->elements[0];
915 if (iterator
930 spl_heap_it *iterator = (spl_heap_it *)iter; local
951 spl_heap_it *iterator = (spl_heap_it *)iter; local
961 spl_heap_it *iterator = (spl_heap_it *)iter; local
1101 spl_heap_it *iterator; local
1125 spl_heap_it *iterator; local
[all...]
H A Dspl_fixedarray.c840 spl_fixedarray_it *iterator = (spl_fixedarray_it *)iter; local
843 zval_ptr_dtor((zval**)&iterator->intern.it.data);
845 efree(iterator);
851 spl_fixedarray_it *iterator = (spl_fixedarray_it *)iter; local
852 spl_fixedarray_object *intern = iterator->object;
857 iterator->object->current = 0;
864 spl_fixedarray_it *iterator = (spl_fixedarray_it *)iter; local
865 spl_fixedarray_object *intern = iterator->object;
871 if (iterator->object->current >= 0 && iterator
882 spl_fixedarray_it *iterator = (spl_fixedarray_it *)iter; local
904 spl_fixedarray_it *iterator = (spl_fixedarray_it *)iter; local
919 spl_fixedarray_it *iterator = (spl_fixedarray_it *)iter; local
1024 spl_fixedarray_it *iterator; local
[all...]
H A Dspl_dllist.c54 #define SPL_DLLIST_IT_DELETE 0x00000001 /* Delete flag makes the iterator delete the current element on next */
55 #define SPL_DLLIST_IT_LIFO 0x00000002 /* LIFO flag makes the iterator traverse the structure as a LastInFirstOut */
100 /* define an overloaded iterator structure */
926 spl_dllist_it *iterator = (spl_dllist_it *)iter; local
928 SPL_LLIST_CHECK_DELREF(iterator->traverse_pointer);
931 zval_ptr_dtor((zval**)&iterator->intern.it.data);
933 efree(iterator);
991 spl_dllist_it *iterator = (spl_dllist_it *)iter; local
992 spl_dllist_object *object = iterator->object;
995 spl_dllist_it_helper_rewind(&iterator
1001 spl_dllist_it *iterator = (spl_dllist_it *)iter; local
1010 spl_dllist_it *iterator = (spl_dllist_it *)iter; local
1023 spl_dllist_it *iterator = (spl_dllist_it *)iter; local
1032 spl_dllist_it *iterator = (spl_dllist_it *)iter; local
1143 spl_dllist_it *iterator; local
[all...]
H A Dspl_iterators.c95 zend_object_iterator *iterator; member in struct:_spl_sub_iterator
146 sub_iter = object->iterators[object->level].iterator;
163 sub_iter = object->iterators[level].iterator;
186 zend_object_iterator *sub_iter = object->iterators[object->level].iterator;
194 zend_object_iterator *sub_iter = object->iterators[object->level].iterator;
206 zend_object_iterator *iterator; local
215 iterator = object->iterators[object->level].iterator;
218 iterator->funcs->move_forward(iterator TSRMLS_C
412 spl_recursive_it_iterator *iterator; local
445 zval *iterator; local
610 zend_object_iterator *iterator = object->iterators[object->level].iterator; local
641 zend_object_iterator *iterator = object->iterators[object->level].iterator; local
1019 zend_object_iterator *iterator = object->iterators[object->level].iterator; local
1123 zend_object_iterator *iterator = object->iterators[object->level].iterator; local
1169 zend_object_iterator *iterator = object->iterators[object->level].iterator; local
[all...]
/PHP_5_3/Zend/
H A Dzend_interfaces.c118 /* iterator interface, c-level functions used by engine */
278 zend_user_iterator *iterator; local
281 zend_error(E_ERROR, "An iterator cannot be used with foreach by reference");
284 iterator = emalloc(sizeof(zend_user_iterator));
287 iterator->it.data = (void*)object;
288 iterator->it.funcs = ce->iterator_funcs.funcs;
289 iterator->ce = Z_OBJCE_P(object);
290 iterator->value = NULL;
291 return (zend_object_iterator*)iterator;
298 zval *iterator local
[all...]

Completed in 20 milliseconds

12