Home
last modified time | relevance | path

Searched refs:kresult (Results 1 – 1 of 1) sorted by relevance

/external/libusb/libusb/os/
Ddarwin_usb.c288 IOReturn kresult; in darwin_device_from_service() local
296 kresult = IOCreatePlugInInterfaceForService(service, kIOUSBDeviceUserClientTypeID, in darwin_device_from_service()
299 if (kIOReturnSuccess == kresult && plugInInterface) { in darwin_device_from_service()
303 usbi_dbg ("set up plugin for service retry: %s", darwin_error_str (kresult)); in darwin_device_from_service()
309 if (kIOReturnSuccess != kresult || !plugInInterface) { in darwin_device_from_service()
310 usbi_dbg ("could not set up plugin for service: %s", darwin_error_str (kresult)); in darwin_device_from_service()
448 IOReturn kresult; in darwin_event_thread_main() local
494 kresult = IOServiceAddMatchingNotification (libusb_notification_port, kIOTerminatedNotification, in darwin_event_thread_main()
499 if (kresult != kIOReturnSuccess) { in darwin_event_thread_main()
500 usbi_err (ctx, "could not add hotplug event source: %s", darwin_error_str (kresult)); in darwin_event_thread_main()
[all …]