/PHP-5.3/ext/spl/ |
H A D | spl_iterators.c | 215 iterator = object->iterators[object->level].iterator; in spl_recursive_it_move_forward_ex() 218 iterator->funcs->move_forward(iterator TSRMLS_CC); in spl_recursive_it_move_forward_ex() 227 if (iterator->funcs->valid(iterator TSRMLS_CC) == FAILURE) { in spl_recursive_it_move_forward_ex() 362 iterator->funcs->dtor(iterator TSRMLS_CC); in spl_recursive_it_move_forward_ex() 481 iterator = NULL; in spl_recursive_it_it_construct() 497 iterator = NULL; in spl_recursive_it_it_construct() 551 Z_ADDREF_P(iterator); in spl_recursive_it_it_construct() 648 iterator->funcs->get_current_data(iterator, &data TSRMLS_CC); in SPL_METHOD() 1025 iterator->funcs->get_current_data(iterator, &data TSRMLS_CC); in spl_recursive_tree_iterator_get_entry() 1128 iterator->funcs->get_current_data(iterator, &data TSRMLS_CC); in SPL_METHOD() [all …]
|
H A D | spl_heap.c | 892 efree(iterator); in spl_heap_it_dtor() 1101 spl_heap_it *iterator; in spl_heap_get_iterator() local 1114 iterator->intern.ce = ce; in spl_heap_get_iterator() 1115 iterator->intern.value = NULL; in spl_heap_get_iterator() 1117 iterator->object = heap_object; in spl_heap_get_iterator() 1119 return (zend_object_iterator*)iterator; in spl_heap_get_iterator() 1125 spl_heap_it *iterator; in spl_pqueue_get_iterator() local 1138 iterator->intern.ce = ce; in spl_pqueue_get_iterator() 1139 iterator->intern.value = NULL; in spl_pqueue_get_iterator() 1141 iterator->object = heap_object; in spl_pqueue_get_iterator() [all …]
|
H A D | spl_fixedarray.c | 845 efree(iterator); in spl_fixedarray_it_dtor() 857 iterator->object->current = 0; in spl_fixedarray_it_rewind() 871 …if (iterator->object->current >= 0 && iterator->object->array && iterator->object->current < itera… in spl_fixedarray_it_valid() 889 ZVAL_LONG(zindex, iterator->object->current); in spl_fixedarray_it_get_current_data() 910 *int_key = (ulong) iterator->object->current; in spl_fixedarray_it_get_current_key() 926 iterator->object->current++; in spl_fixedarray_it_move_forward() 1024 spl_fixedarray_it *iterator; in spl_fixedarray_get_iterator() local 1035 iterator->intern.it.data = (void*)object; in spl_fixedarray_get_iterator() 1037 iterator->intern.ce = ce; in spl_fixedarray_get_iterator() 1038 iterator->intern.value = NULL; in spl_fixedarray_get_iterator() [all …]
|
H A D | spl_dllist.c | 933 efree(iterator); in spl_dllist_it_dtor() 992 spl_dllist_object *object = iterator->object; in spl_dllist_it_rewind() 995 …spl_dllist_it_helper_rewind(&iterator->traverse_pointer, &iterator->traverse_position, llist, obje… in spl_dllist_it_rewind() 1025 *int_key = (ulong) iterator->traverse_position; in spl_dllist_it_get_current_key() 1033 spl_dllist_object *object = iterator->object; in spl_dllist_it_move_forward() 1143 spl_dllist_it *iterator; in spl_dllist_get_iterator() local 1154 iterator->intern.it.data = (void*)object; in spl_dllist_get_iterator() 1156 iterator->intern.ce = ce; in spl_dllist_get_iterator() 1157 iterator->intern.value = NULL; in spl_dllist_get_iterator() 1161 iterator->object = dllist_object; in spl_dllist_get_iterator() [all …]
|
/PHP-5.3/ext/spl/tests/ |
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 | bug49972.phpt | 6 $iterator = new AppendIterator(); 7 $iterator->undefined();
|
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 | DirectoryIterator_by_reference.phpt | 2 DirectoryIterator: test that you cannot use iterator with reference 14 Fatal error: An iterator cannot be used with foreach by reference in %s on line %d
|
H A D | iterator_count.phpt | 10 $iterator = new ArrayIterator($array); 15 iterator_count($iterator,'1');
|
H A D | iterator_to_array.phpt | 10 $iterator = new ArrayIterator($array); 15 iterator_to_array($iterator,'test','test');
|
/PHP-5.3/ext/spl/internal/ |
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
|
H A D | cachingiterator.inc | 18 * 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 D | appenditerator.inc | 33 * If the current state is invalid but the appended iterator is valid 74 * the access to a non valid element in the inner iterator. Since 100 return; /* found valid element in current inner iterator */ 108 return; /* found element as first elemet in another iterator */ 114 /** Aggregates the inner iterator
|
/PHP-5.3/ext/standard/tests/math/ |
H A D | exp_basic.phpt | 22 $iterator = 1; 24 echo "\n-- Iteration $iterator --\n"; 26 $iterator++;
|
H A D | expm1_basic.phpt | 30 $iterator = 1; 32 echo "\n-- Iteration $iterator --\n"; 34 $iterator++;
|
/PHP-5.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++;
|
H A D | strval_basic.phpt | 42 $iterator = 1; 44 echo "\n-- Iteration $iterator --\n"; 46 $iterator++;
|
/PHP-5.3/Zend/tests/ |
H A D | bug60138.phpt | 8 $iterator = new RecursiveIteratorIterator( 12 foreach($iterator as $file);
|
/PHP-5.3/ext/mbstring/tests/ |
H A D | mb_encode_mimeheader_variation6.phpt | 29 $iterator = 1; 31 echo "\n-- Iteration $iterator --\n"; 33 $iterator++;
|
/PHP-5.3/ext/standard/tests/image/ |
H A D | image_type_to_mime_type_variation2.phpt | 34 $iterator = 1; 36 echo "\n-- Iteration $iterator --\n"; 38 $iterator++;
|
/PHP-5.3/ext/spl/examples/ |
H A D | keyfilter.inc | 18 * 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()
|