Searched defs:kr (Results 1 - 2 of 2) sorted by relevance

/system/core/fastboot/
H A Dusb_osx.c68 IOReturn kr; local
96 kr = (*dev)->CreateInterfaceIterator(dev, &request, &iterator);
98 if (kr != 0) {
99 ERR("Couldn't create a device interface iterator: (%08x)\n", kr);
105 kr = IOCreatePlugInInterfaceForService(
115 if ((kr != 0) || (!plugInInterface)) {
116 WARN("Unable to create plugin (%08x)\n", kr);
153 kr = (*interface)->USBInterfaceOpen(interface);
155 if (kr != 0) {
156 WARN("Could not open interface: (%08x)\n", kr);
261 kern_return_t kr; local
[all...]
/system/core/adb/
H A Dusb_osx.c120 kern_return_t kr; local
138 kr = IOCreatePlugInInterfaceForService(usbInterface,
143 if ((kIOReturnSuccess != kr) || (!plugInInterface)) {
144 DBG("ERR: Unable to create an interface plug-in (%08x)\n", kr);
163 kr = (*iface)->GetDevice(iface, &usbDevice);
164 if (kIOReturnSuccess != kr || !usbDevice) {
165 DBG("ERR: Couldn't grab device from interface (%08x)\n", kr);
172 kr = IOCreatePlugInInterfaceForService(usbDevice,
178 if ((kIOReturnSuccess != kr) || (!plugInInterface)) {
179 DBG("ERR: Unable to create a device plug-in (%08x)\n", kr);
307 IOReturn kr; local
[all...]

Completed in 61 milliseconds