/external/chromium_org/third_party/libusb/src/libusb/os/ |
D | wince_usb.c | 149 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 …]
|
D | windows_usb.c | 42 #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 …]
|
D | linux_udev.c | 111 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()
|
D | openbsd_usb.c | 235 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()
|
D | linux_netlink.c | 147 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()
|
D | linux_usbfs.c | 426 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 …]
|
D | darwin_usb.c | 115 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()
|
D | windows_usb.h | 66 #define LIBUSB_COMPLETED (LIBUSB_SUCCESS + 1)
|
/external/chromium_org/device/usb/ |
D | usb_device_impl.cc | 219 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()
|
D | usb_device_handle_impl.cc | 147 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()
|
D | usb_service_impl.cc | 133 if (rv != LIBUSB_SUCCESS) { in RefreshDevices() 188 if (rv != LIBUSB_SUCCESS) { in GetInstance()
|
D | usb_context_unittest.cc | 44 ASSERT_EQ(LIBUSB_SUCCESS, libusb_init(&platform_context)); in TEST_F()
|
D | usb_context.cc | 59 if (rv != LIBUSB_SUCCESS) { in ThreadMain()
|
/external/chromium_org/third_party/libusb/src/libusb/ |
D | descriptor.c | 517 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()
|
D | strerror.c | 158 return LIBUSB_SUCCESS; in libusb_setlocale()
|
D | hotplug.c | 276 return LIBUSB_SUCCESS; in libusb_hotplug_register_callback()
|
D | io.c | 1453 if (r == LIBUSB_SUCCESS) { in libusb_submit_transfer() 1456 if (r != LIBUSB_SUCCESS) { in libusb_submit_transfer()
|
D | libusb.h | 1059 LIBUSB_SUCCESS = 0, enumerator
|
D | core.c | 1747 return LIBUSB_SUCCESS; in libusb_set_auto_detach_kernel_driver()
|
/external/libusb/libusb/os/ |
D | darwin_usb.c | 94 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/ |
D | libusb.h | 599 LIBUSB_SUCCESS = 0, enumerator
|
/external/libusb-compat/libusb/ |
D | core.c | 65 case LIBUSB_SUCCESS: in libusb_to_errno()
|