Home
last modified time | relevance | path

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

/external/libusb/libusb/os/
Ddarwin_usb.c384 IOReturn kresult; in darwin_event_thread_main() local
429 kresult = IOServiceAddMatchingNotification (libusb_notification_port, kIOTerminatedNotification, in darwin_event_thread_main()
434 if (kresult != kIOReturnSuccess) { in darwin_event_thread_main()
435 usbi_err (ctx, "could not add hotplug event source: %s", darwin_error_str (kresult)); in darwin_event_thread_main()
441 kresult = IOServiceAddMatchingNotification(libusb_notification_port, kIOFirstMatchNotification, in darwin_event_thread_main()
446 if (kresult != kIOReturnSuccess) { in darwin_event_thread_main()
447 usbi_err (ctx, "could not add hotplug event source: %s", darwin_error_str (kresult)); in darwin_event_thread_main()
578 IOReturn kresult; in get_configuration_index() local
581 kresult = (*(priv->device))->GetNumberOfConfigurations (priv->device, &numConfig); in get_configuration_index()
582 if (kresult != kIOReturnSuccess) in get_configuration_index()
[all …]