| /PHP_5_4/ext/phar/phar/ |
| H A D | directorygraphiterator.inc | 13 * @brief A tree iterator that only shows directories.
|
| H A D | directorytreeiterator.inc | 46 /** Aggregates the inner iterator
|
| /PHP_5_4/ext/spl/examples/ |
| H A D | directorygraphiterator.inc | 13 * @brief A tree iterator that only shows directories.
|
| H A D | directorytree.inc | 13 * @brief A directory iterator that does not show '.' and '..'.
|
| H A D | directorytreeiterator.inc | 46 /** Aggregates the inner iterator
|
| H A D | inigroups.inc | 20 * 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 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()
|
| /PHP_5_4/ext/spl/internal/ |
| 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 | 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 | iteratoriterator.inc | 16 * 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 D | limititerator.inc | 82 /** @return whether iterator is valid 116 * @return The inner iterator 123 /** Aggregate the inner iterator
|
| H A D | outeriterator.inc | 13 * @brief Interface to access the current inner iteraor of iterator wrappers 20 /** @return inner iterator
|
| H A D | recursivearrayiterator.inc | 13 * @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 D | recursiveiterator.inc | 24 /** @return the sub iterator for the current element
|
| 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 | recursivetreeiterator.inc | 28 * @param it iterator to use as inner iterator 124 /** Aggregates 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
|
| /PHP_5_4/ext/intl/resourcebundle/ |
| H A D | resourcebundle_iterator.c | 26 * 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_4/ext/dom/ |
| H A D | dom_iterators.c | 127 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_4/ext/mysqli/ |
| H A D | mysqli_result_iterator.c | 49 php_mysqli_result_iterator *iterator; local 52 zend_error(E_ERROR, "An iterator cannot be used with foreach by reference"); 54 iterator = ecalloc(1, sizeof(php_mysqli_result_iterator)); 57 iterator->intern.data = (void*)object; 58 iterator->intern.funcs = &php_mysqli_result_iterator_funcs; 59 iterator->result = (mysqli_object *) zend_object_store_get_object(object TSRMLS_CC); 60 iterator->row_num = -1; 62 return (zend_object_iterator*)iterator; 70 php_mysqli_result_iterator *iterator = (php_mysqli_result_iterator*) iter; local 72 /* cleanup handled in sxe_object_dtor as we dont always have an iterator wrappe 87 php_mysqli_result_iterator *iterator = (php_mysqli_result_iterator*) iter; local 97 php_mysqli_result_iterator *iterator = (php_mysqli_result_iterator*) iter; local 108 php_mysqli_result_iterator *iterator = (php_mysqli_result_iterator*) iter; local 128 php_mysqli_result_iterator *iterator = (php_mysqli_result_iterator*) iter; local 155 php_mysqli_result_iterator *iterator = (php_mysqli_result_iterator*) iter; local [all...] |
| /PHP_5_4/ext/spl/ |
| H A D | spl_heap.c | 82 /* define an overloaded iterator structure */ 890 spl_heap_it *iterator = (spl_heap_it *)iter; local 893 zval_ptr_dtor((zval**)&iterator->intern.it.data); 895 efree(iterator); 901 /* do nothing, the iterator always points to the top element */ 907 spl_heap_it *iterator = (spl_heap_it *)iter; local 909 return (iterator->object->heap->count != 0 ? SUCCESS : FAILURE); 915 spl_heap_it *iterator = (spl_heap_it *)iter; local 916 zval **element = (zval **)&iterator->object->heap->elements[0]; 918 if (iterator 933 spl_heap_it *iterator = (spl_heap_it *)iter; local 954 spl_heap_it *iterator = (spl_heap_it *)iter; local 964 spl_heap_it *iterator = (spl_heap_it *)iter; local 1104 spl_heap_it *iterator; local 1128 spl_heap_it *iterator; local [all...] |
| H A D | spl_iterators.c | 97 zend_object_iterator *iterator; member in struct:_spl_sub_iterator 148 sub_iter = object->iterators[object->level].iterator; 165 sub_iter = object->iterators[level].iterator; 188 zend_object_iterator *sub_iter = object->iterators[object->level].iterator; 196 zend_object_iterator *sub_iter = object->iterators[object->level].iterator; 208 zend_object_iterator *iterator; local 217 iterator = object->iterators[object->level].iterator; 220 iterator->funcs->move_forward(iterator TSRMLS_C 415 spl_recursive_it_iterator *iterator; local 448 zval *iterator; local 613 zend_object_iterator *iterator = object->iterators[object->level].iterator; local 644 zend_object_iterator *iterator = object->iterators[object->level].iterator; local 1021 zend_object_iterator *iterator = object->iterators[object->level].iterator; local 1125 zend_object_iterator *iterator = object->iterators[object->level].iterator; local 1164 zend_object_iterator *iterator = object->iterators[object->level].iterator; local [all...] |
| H A D | spl_fixedarray.c | 857 spl_fixedarray_it *iterator = (spl_fixedarray_it *)iter; local 860 zval_ptr_dtor((zval**)&iterator->intern.it.data); 862 efree(iterator); 868 spl_fixedarray_it *iterator = (spl_fixedarray_it *)iter; local 869 spl_fixedarray_object *intern = iterator->object; 874 iterator->object->current = 0; 881 spl_fixedarray_it *iterator = (spl_fixedarray_it *)iter; local 882 spl_fixedarray_object *intern = iterator->object; 888 if (iterator->object->current >= 0 && iterator 899 spl_fixedarray_it *iterator = (spl_fixedarray_it *)iter; local 921 spl_fixedarray_it *iterator = (spl_fixedarray_it *)iter; local 936 spl_fixedarray_it *iterator = (spl_fixedarray_it *)iter; local 1041 spl_fixedarray_it *iterator; local [all...] |
| H A D | spl_dllist.c | 57 #define SPL_DLLIST_IT_DELETE 0x00000001 /* Delete flag makes the iterator delete the current element on next */ 58 #define SPL_DLLIST_IT_LIFO 0x00000002 /* LIFO flag makes the iterator traverse the structure as a LastInFirstOut */ 103 /* define an overloaded iterator structure */ 931 spl_dllist_it *iterator = (spl_dllist_it *)iter; local 933 SPL_LLIST_CHECK_DELREF(iterator->traverse_pointer); 936 zval_ptr_dtor((zval**)&iterator->intern.it.data); 938 efree(iterator); 996 spl_dllist_it *iterator = (spl_dllist_it *)iter; local 997 spl_dllist_object *object = iterator->object; 1000 spl_dllist_it_helper_rewind(&iterator 1006 spl_dllist_it *iterator = (spl_dllist_it *)iter; local 1015 spl_dllist_it *iterator = (spl_dllist_it *)iter; local 1028 spl_dllist_it *iterator = (spl_dllist_it *)iter; local 1037 spl_dllist_it *iterator = (spl_dllist_it *)iter; local 1250 spl_dllist_it *iterator; local [all...] |
| /PHP_5_4/Zend/ |
| H A D | zend_interfaces.c | 118 /* 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...] |