Searched defs:iterator (Results 1 - 6 of 6) sorted by relevance

/system/core/fastboot/
H A Dusb_osx.c70 io_iterator_t iterator; local
95 // Get an iterator for the interfaces on the device
96 kr = (*dev)->CreateInterfaceIterator(dev, &request, &iterator);
99 ERR("Couldn't create a device interface iterator: (%08x)\n", kr);
103 while ((usbInterface = IOIteratorNext(iterator))) {
385 io_iterator_t iterator; local
404 kIOMasterPortDefault, matchingDict, &iterator);
407 ERR("Could not create iterator.");
412 if (! IOIteratorIsValid(iterator)) {
414 * Apple documentation advises resetting the iterator i
[all...]
/system/core/adb/
H A Dusb_osx.c52 static void AndroidInterfaceAdded(void *refCon, io_iterator_t iterator);
53 static void AndroidInterfaceNotify(void *refCon, io_iterator_t iterator,
118 AndroidInterfaceAdded(void *refCon, io_iterator_t iterator) argument
136 while ((usbInterface = IOIteratorNext(iterator))) {
/system/core/include/sysutils/
H A DList.h100 // this will handle conversions from iterator to const_iterator
124 * handle comparisons between iterator and const_iterator
176 typedef _ListIterator<T, NON_CONST_ITERATOR> iterator; typedef in class:android::sysutils::List
191 * _Node* we're returning is converted to an "iterator" by a
194 inline iterator begin() {
195 return iterator(mpMiddle->getNext());
200 inline iterator end() {
201 return iterator(mpMiddle);
211 /* insert before the current node; returns iterator at new node */
212 iterator inser
[all...]
/system/core/include/utils/
H A DList.h99 // this will handle conversions from iterator to const_iterator
123 * handle comparisons between iterator and const_iterator
175 typedef _ListIterator<T, NON_CONST_ITERATOR> iterator; typedef in class:android::List
190 * _Node* we're returning is converted to an "iterator" by a
193 inline iterator begin() {
194 return iterator(mpMiddle->getNext());
199 inline iterator end() {
200 return iterator(mpMiddle);
210 /* insert before the current node; returns iterator at new node */
211 iterator inser
[all...]
H A DVector.h185 typedef TYPE* iterator; typedef in class:android::Vector
188 inline iterator begin() { return editArray(); }
189 inline iterator end() { return editArray() + size(); }
196 inline iterator erase(iterator pos) {
/system/netd/
H A DList.h100 // this will handle conversions from iterator to const_iterator
124 * handle comparisons between iterator and const_iterator
176 typedef _ListIterator<T, NON_CONST_ITERATOR> iterator; typedef in class:android::netd::List
191 * _Node* we're returning is converted to an "iterator" by a
194 inline iterator begin() {
195 return iterator(mpMiddle->getNext());
200 inline iterator end() {
201 return iterator(mpMiddle);
211 /* insert before the current node; returns iterator at new node */
212 iterator inser
[all...]

Completed in 138 milliseconds