Home
last modified time | relevance | path

Searched refs:iterator (Results 26 – 50 of 493) sorted by relevance

12345678910>>...20

/PHP-7.3/ext/intl/breakiterator/
H A Dbreakiterator_iterators.cpp217 zend_iterator_init(ii->iterator); in IntlIterator_from_BreakIterator_parts()
219 ZVAL_COPY(&ii->iterator->data, break_iter_zv); in IntlIterator_from_BreakIterator_parts()
220 ii->iterator->funcs = &breakiterator_parts_it_funcs; in IntlIterator_from_BreakIterator_parts()
221 ii->iterator->index = 0; in IntlIterator_from_BreakIterator_parts()
224 ZVAL_COPY_VALUE(&((zoi_with_current*)ii->iterator)->wrapping_obj, object); in IntlIterator_from_BreakIterator_parts()
225 ZVAL_UNDEF(&((zoi_with_current*)ii->iterator)->current); in IntlIterator_from_BreakIterator_parts()
229 assert(((zoi_break_iter_parts*)ii->iterator)->bio->biter != NULL); in IntlIterator_from_BreakIterator_parts()
231 ((zoi_break_iter_parts*)ii->iterator)->key_type = key_type; in IntlIterator_from_BreakIterator_parts()
258 if (obj->iterator && !Z_ISUNDEF(obj->iterator->data)) { in IntlPartsIterator_get_method()
259 zval *break_iter_zv = &obj->iterator->data; in IntlPartsIterator_get_method()
[all …]
/PHP-7.3/ext/spl/tests/
H A Drecursiveiteratoriterator_enditeration_basic.phpt11 $iterator = new RecursiveIteratorIterator($sub_iterator);
12 foreach ($iterator as $element) {
21 $iterator = new EndIterationRecursiveIteratorIterator($sub_iterator);
22 foreach ($iterator as $element) {
H A Dbug74669.phpt9 public $iterator;
14 $this->iterator = $this->container->getIterator();
24 return $this->iterator->current();
29 $this->iterator->next();
34 return $this->iterator->key();
39 return $this->iterator->valid();
44 $this->iterator->rewind();
H A Dbug73471.phpt6 $iterator = new \AppendIterator();
9 $iterator->append($events);
11 $iterator->append($events2);
H A Dregexiterator_getregex.phpt9 $iterator = new ArrayIterator($array);
12 $regexIterator = new RegexIterator($iterator, '/.at/');
16 $regexIterator = new RegexIterator($iterator, '//');
20 $regexIterator = new RegexIterator($iterator, '|\b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b|');
H A Drecursiveiteratoriterator_nextelement_basic.phpt11 $iterator = new RecursiveIteratorIterator($sub_iterator);
12 foreach ($iterator as $element) {
21 $iterator = new NextElementRecursiveIteratorIterator($sub_iterator);
22 foreach ($iterator as $element) {
H A Dbug75155.phpt9 $iterator = new AppendIterator;
10 $iterator->append($array_a);
13 $iterator2->append($iterator);
H A Dspl_iterator_apply_error.phpt2 SPL: Error: iterator_apply when an iterator method (eg rewind) throws exception
8 throw new Exception('Make the iterator break');
26 Make the iterator break
H A Dspl_iterator_to_array_error.phpt8 throw new Exception('Make the iterator break');
32 Make the iterator break
33 Make the iterator break
H A DarrayObject___construct_error1.phpt2 SPL: ArrayObject::__construct with bad iterator.
5 echo "Bad iterator type:\n";
22 Bad iterator type:
H A Dspl_iterator_to_array_basic.phpt2 SPL: iterator_to_array, Test function to convert iterator to array
9 iterator_to_array();//requires iterator as arg
H A Dbug49972.phpt6 $iterator = new AppendIterator();
7 $iterator->undefined();
/PHP-7.3/ext/spl/internal/
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 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 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
H A Douteriterator.inc13 * @brief Interface to access the current inner iteraor of iterator wrappers
20 /** @return inner iterator
/PHP-7.3/ext/ctype/tests/
H A Dctype_space_variation4.phpt24 $iterator = 1;
26 echo "-- Iteration $iterator --\n";
28 $iterator++;
32 $iterator = 1;
34 echo "-- Iteration $iterator --\n";
36 $iterator++;
/PHP-7.3/Zend/
H A Dzend_interfaces.c241 zend_user_iterator *iterator; in zend_user_it_get_iterator() local
252 ZVAL_COPY(&iterator->it.data, object); in zend_user_it_get_iterator()
254 iterator->ce = Z_OBJCE_P(object); in zend_user_it_get_iterator()
255 ZVAL_UNDEF(&iterator->value); in zend_user_it_get_iterator()
256 return (zend_object_iterator*)iterator; in zend_user_it_get_iterator()
263 zval iterator; in zend_user_it_get_new_iterator() local
268 ce_it = (Z_TYPE(iterator) == IS_OBJECT) ? Z_OBJCE(iterator) : NULL; in zend_user_it_get_new_iterator()
274 zval_ptr_dtor(&iterator); in zend_user_it_get_new_iterator()
279 zval_ptr_dtor(&iterator); in zend_user_it_get_new_iterator()
510 ZEND_ABSTRACT_ME(iterator, current, NULL)
[all …]
/PHP-7.3/ext/spl/
H A Dspl_iterators.c248 iterator = object->iterators[object->level].iterator; in spl_recursive_it_move_forward_ex()
251 iterator->funcs->move_forward(iterator); in spl_recursive_it_move_forward_ex()
261 if (iterator->funcs->valid(iterator) == FAILURE) { in spl_recursive_it_move_forward_ex()
481 zval *iterator; in spl_recursive_it_it_construct() local
537 if (iterator) { in spl_recursive_it_it_construct()
651 iterator->funcs->get_current_key(iterator, return_value); in SPL_METHOD()
671 data = iterator->funcs->get_current_data(iterator); in SPL_METHOD()
1072 data = iterator->funcs->get_current_data(iterator); in spl_recursive_tree_iterator_get_entry()
1221 data = iterator->funcs->get_current_data(iterator); in SPL_METHOD()
1276 iterator->funcs->get_current_key(iterator, &key); in SPL_METHOD()
[all …]
/PHP-7.3/ext/standard/tests/math/
H A Dexp_basic.phpt21 $iterator = 1;
23 echo "\n-- Iteration $iterator --\n";
25 $iterator++;
H A Dexpm1_basic.phpt29 $iterator = 1;
31 echo "\n-- Iteration $iterator --\n";
33 $iterator++;
/PHP-7.3/Zend/tests/
H A Dbug72767.phpt7 $iterator = new LimitIterator(
11 test(...$iterator);
H A Dbug60138.phpt8 $iterator = new RecursiveIteratorIterator(
12 foreach($iterator as $file);
/PHP-7.3/ext/standard/tests/strings/
H A Dhtmlspecialchars_decode_variation6.phpt25 $iterator = 1;
27 echo "-- Iteration $iterator --\n";
28 if ($iterator < 4) {
34 $iterator++;
/PHP-7.3/ext/intl/common/
H A Dcommon_enum.h45 if (ii->iterator == NULL) { \
52 zend_object_iterator *iterator; member
66 void (*destroy_it)(zend_object_iterator *iterator);

Completed in 158 milliseconds

12345678910>>...20