Searched defs:iterator (Results 1 - 4 of 4) 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/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 259 milliseconds