Home
last modified time | relevance | path

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

/external/chromium_org/third_party/libusb/src/libusb/os/
Dwince_usb.c149 return LIBUSB_SUCCESS; in init_dllimports()
156 int r = LIBUSB_SUCCESS; in init_device()
197 if (init_dllimports() != LIBUSB_SUCCESS) { in wince_init()
245 r = LIBUSB_SUCCESS; in wince_init()
248 if (!concurrent_usage && r != LIBUSB_SUCCESS) { // First init failed? in wince_init()
279 if (r != LIBUSB_SUCCESS) in wince_init()
355 int r = LIBUSB_SUCCESS; in wince_get_device_list()
418 return LIBUSB_SUCCESS; in wince_open()
434 return LIBUSB_SUCCESS; in wince_get_device_descriptor()
474 return LIBUSB_SUCCESS; in wince_get_configuration()
[all …]
Dwindows_usb.c42 #define LOOP_CHECK(fcall) { r=fcall; if (r != LIBUSB_SUCCESS) continue; }
245 return LIBUSB_SUCCESS; in init_dlls()
661 if (r != LIBUSB_SUCCESS) { in windows_assign_endpoints()
671 return LIBUSB_SUCCESS; in windows_assign_endpoints()
726 int r = LIBUSB_SUCCESS; in auto_claim()
742 && (libusb_claim_interface(transfer->dev_handle, current_interface) == LIBUSB_SUCCESS) ) { in auto_claim()
782 if (r == LIBUSB_SUCCESS) { in auto_release()
851 if (init_dlls() != LIBUSB_SUCCESS) { in windows_init()
899 r = LIBUSB_SUCCESS; in windows_init()
902 if (!concurrent_usage && r != LIBUSB_SUCCESS) { // First init failed? in windows_init()
[all …]
Dlinux_udev.c111 return LIBUSB_SUCCESS; in linux_udev_start_event_monitor()
158 return LIBUSB_SUCCESS; in linux_udev_stop_event_monitor()
234 if (LIBUSB_SUCCESS != r) { in udev_hotplug_event()
290 return LIBUSB_SUCCESS; in linux_udev_scan_devices()
Dopenbsd_usb.c235 return (LIBUSB_SUCCESS); in obsd_get_device_list()
296 return (LIBUSB_SUCCESS); in obsd_get_device_descriptor()
357 return (LIBUSB_SUCCESS); in obsd_get_configuration()
385 return (LIBUSB_SUCCESS); in obsd_claim_interface()
398 return (LIBUSB_SUCCESS); in obsd_release_interface()
421 return (LIBUSB_SUCCESS); in obsd_set_interface_altsetting()
449 return (LIBUSB_SUCCESS); in obsd_clear_halt()
512 return (LIBUSB_SUCCESS); in obsd_submit_transfer()
588 return (LIBUSB_SUCCESS); in obsd_handle_events()
676 return (LIBUSB_SUCCESS); in _cache_active_config_descriptor()
Dlinux_netlink.c147 return LIBUSB_SUCCESS; in linux_netlink_start_event_monitor()
157 return LIBUSB_SUCCESS; in linux_netlink_stop_event_monitor()
177 return LIBUSB_SUCCESS; in linux_netlink_stop_event_monitor()
Dlinux_usbfs.c426 r = LIBUSB_SUCCESS; in op_init()
431 if (r == LIBUSB_SUCCESS) { in op_init()
433 if (r == LIBUSB_SUCCESS) in op_init()
627 return LIBUSB_SUCCESS; in linux_get_device_address()
649 return LIBUSB_SUCCESS; in linux_get_device_address()
926 return LIBUSB_SUCCESS; in initialize_device()
945 return LIBUSB_SUCCESS; in initialize_device()
951 r = LIBUSB_SUCCESS; in initialize_device()
960 r = LIBUSB_SUCCESS; in initialize_device()
967 r = LIBUSB_SUCCESS; in initialize_device()
[all …]
Ddarwin_usb.c115 return LIBUSB_SUCCESS; in darwin_to_libusb()
417 if (LIBUSB_SUCCESS != rc) { in darwin_init()
525 if (ret != LIBUSB_SUCCESS) in darwin_get_config_descriptor()
733 return LIBUSB_SUCCESS; in darwin_cache_device_descriptor()
740 int ret = LIBUSB_SUCCESS; in darwin_get_cached_device()
1160 if (kresult != LIBUSB_SUCCESS) { in darwin_claim_interface()
1252 return LIBUSB_SUCCESS; in darwin_release_interface()
1376 return LIBUSB_SUCCESS; in darwin_reset_device()
Dwindows_usb.h66 #define LIBUSB_COMPLETED (LIBUSB_SUCCESS + 1)
/external/chromium_org/device/usb/
Dusb_device_impl.cc219 if (LIBUSB_SUCCESS == rv) { in Open()
255 if (rv != LIBUSB_SUCCESS) { in GetConfiguration()
335 if (rv != LIBUSB_SUCCESS) { in GetManufacturer()
366 if (rv != LIBUSB_SUCCESS) { in GetProduct()
397 if (rv != LIBUSB_SUCCESS) { in GetSerialNumber()
Dusb_device_handle_impl.cc147 if (rv != LIBUSB_SUCCESS) { in Claim()
151 return rv == LIBUSB_SUCCESS; in Claim()
263 if (rv == LIBUSB_SUCCESS) { in SetInterfaceAlternateSetting()
272 return rv == LIBUSB_SUCCESS; in SetInterfaceAlternateSetting()
281 if (rv != LIBUSB_SUCCESS) { in ResetDevice()
285 return rv == LIBUSB_SUCCESS; in ResetDevice()
558 if (rv == LIBUSB_SUCCESS) { in SubmitTransfer()
Dusb_service_impl.cc133 if (rv != LIBUSB_SUCCESS) { in RefreshDevices()
188 if (rv != LIBUSB_SUCCESS) { in GetInstance()
Dusb_context_unittest.cc44 ASSERT_EQ(LIBUSB_SUCCESS, libusb_init(&platform_context)); in TEST_F()
Dusb_context.cc59 if (rv != LIBUSB_SUCCESS) { in ThreadMain()
/external/chromium_org/third_party/libusb/src/libusb/
Ddescriptor.c517 return LIBUSB_SUCCESS; in raw_desc_to_config()
536 return LIBUSB_SUCCESS; in usbi_device_cache_descriptor()
793 return LIBUSB_SUCCESS; in libusb_get_ss_endpoint_companion_descriptor()
888 return LIBUSB_SUCCESS; in parse_bos()
1004 return LIBUSB_SUCCESS; in libusb_get_usb_2_0_extension_descriptor()
1062 return LIBUSB_SUCCESS; in libusb_get_ss_usb_device_capability_descriptor()
1119 return LIBUSB_SUCCESS; in libusb_get_container_id_descriptor()
Dstrerror.c158 return LIBUSB_SUCCESS; in libusb_setlocale()
Dhotplug.c276 return LIBUSB_SUCCESS; in libusb_hotplug_register_callback()
Dio.c1453 if (r == LIBUSB_SUCCESS) { in libusb_submit_transfer()
1456 if (r != LIBUSB_SUCCESS) { in libusb_submit_transfer()
Dlibusb.h1059 LIBUSB_SUCCESS = 0, enumerator
Dcore.c1747 return LIBUSB_SUCCESS; in libusb_set_auto_detach_kernel_driver()
/external/libusb/libusb/os/
Ddarwin_usb.c94 return LIBUSB_SUCCESS; in darwin_to_libusb()
853 if (kresult != LIBUSB_SUCCESS) { in darwin_claim_interface()
944 return LIBUSB_SUCCESS; in darwin_release_interface()
/external/libusb/libusb/
Dlibusb.h599 LIBUSB_SUCCESS = 0, enumerator
/external/libusb-compat/libusb/
Dcore.c65 case LIBUSB_SUCCESS: in libusb_to_errno()