/PHP-7.3/ext/intl/breakiterator/ |
H A D | breakiterator_iterators.cpp | 217 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 D | recursiveiteratoriterator_enditeration_basic.phpt | 11 $iterator = new RecursiveIteratorIterator($sub_iterator); 12 foreach ($iterator as $element) { 21 $iterator = new EndIterationRecursiveIteratorIterator($sub_iterator); 22 foreach ($iterator as $element) {
|
H A D | bug74669.phpt | 9 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 D | bug73471.phpt | 6 $iterator = new \AppendIterator(); 9 $iterator->append($events); 11 $iterator->append($events2);
|
H A D | regexiterator_getregex.phpt | 9 $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 D | recursiveiteratoriterator_nextelement_basic.phpt | 11 $iterator = new RecursiveIteratorIterator($sub_iterator); 12 foreach ($iterator as $element) { 21 $iterator = new NextElementRecursiveIteratorIterator($sub_iterator); 22 foreach ($iterator as $element) {
|
H A D | bug75155.phpt | 9 $iterator = new AppendIterator; 10 $iterator->append($array_a); 13 $iterator2->append($iterator);
|
H A D | spl_iterator_apply_error.phpt | 2 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 D | spl_iterator_to_array_error.phpt | 8 throw new Exception('Make the iterator break'); 32 Make the iterator break 33 Make the iterator break
|
H A D | arrayObject___construct_error1.phpt | 2 SPL: ArrayObject::__construct with bad iterator. 5 echo "Bad iterator type:\n"; 22 Bad iterator type:
|
H A D | spl_iterator_to_array_basic.phpt | 2 SPL: iterator_to_array, Test function to convert iterator to array 9 iterator_to_array();//requires iterator as arg
|
H A D | bug49972.phpt | 6 $iterator = new AppendIterator(); 7 $iterator->undefined();
|
/PHP-7.3/ext/spl/internal/ |
H A D | recursiveregexiterator.inc | 18 * 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 D | filteriterator.inc | 19 * 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 D | seekableiterator.inc | 12 /** @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 D | outeriterator.inc | 13 * @brief Interface to access the current inner iteraor of iterator wrappers 20 /** @return inner iterator
|
/PHP-7.3/ext/ctype/tests/ |
H A D | ctype_space_variation4.phpt | 24 $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 D | zend_interfaces.c | 241 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 D | spl_iterators.c | 248 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 D | exp_basic.phpt | 21 $iterator = 1; 23 echo "\n-- Iteration $iterator --\n"; 25 $iterator++;
|
H A D | expm1_basic.phpt | 29 $iterator = 1; 31 echo "\n-- Iteration $iterator --\n"; 33 $iterator++;
|
/PHP-7.3/Zend/tests/ |
H A D | bug72767.phpt | 7 $iterator = new LimitIterator( 11 test(...$iterator);
|
H A D | bug60138.phpt | 8 $iterator = new RecursiveIteratorIterator( 12 foreach($iterator as $file);
|
/PHP-7.3/ext/standard/tests/strings/ |
H A D | htmlspecialchars_decode_variation6.phpt | 25 $iterator = 1; 27 echo "-- Iteration $iterator --\n"; 28 if ($iterator < 4) { 34 $iterator++;
|
/PHP-7.3/ext/intl/common/ |
H A D | common_enum.h | 45 if (ii->iterator == NULL) { \ 52 zend_object_iterator *iterator; member 66 void (*destroy_it)(zend_object_iterator *iterator);
|