Searched defs:iterator (Results 1 - 2 of 2) 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))) {
376 io_iterator_t iterator; local
395 kIOMasterPortDefault, matchingDict, &iterator);
398 ERR("Could not create iterator.");
403 if (! IOIteratorIsValid(iterator)) {
405 * 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
133 while ((usbInterface = IOIteratorNext(iterator))) {

Completed in 111 milliseconds