/third_party/libusb/tests/ |
D | stress.c | 36 if (r != LIBUSB_SUCCESS) { in test_init_and_exit() 55 if (r != LIBUSB_SUCCESS) { in test_get_device_list() 87 if (r != LIBUSB_SUCCESS) { in test_many_device_lists() 128 if (r != LIBUSB_SUCCESS) { in test_default_context_change() 139 if (r != LIBUSB_SUCCESS) { in test_default_context_change()
|
/third_party/libusb/libusb/os/ |
D | windows_usbdk.c | 142 return LIBUSB_SUCCESS; in load_usbdk_helper_dll() 229 return LIBUSB_SUCCESS; in usbdk_get_session_id_for_device() 267 return LIBUSB_SUCCESS; in usbdk_cache_config_descriptors() 316 int r = LIBUSB_SUCCESS; in usbdk_get_device_list() 341 if (usbdk_device_priv_init(ctx, dev, &devices[i]) != LIBUSB_SUCCESS) { in usbdk_get_device_list() 425 return LIBUSB_SUCCESS; in usbdk_open() 445 return LIBUSB_SUCCESS; in usbdk_get_configuration() 452 return LIBUSB_SUCCESS; in usbdk_set_configuration() 459 return LIBUSB_SUCCESS; in usbdk_claim_interface() 471 return LIBUSB_SUCCESS; in usbdk_set_interface_altsetting() [all …]
|
D | haiku_usb_backend.cpp | 208 return LIBUSB_SUCCESS; in SubmitTransfer() 220 return LIBUSB_SUCCESS; in CancelTransfer() 258 if (status == LIBUSB_SUCCESS) in ClaimInterface() 268 return LIBUSB_SUCCESS; in ReleaseInterface() 284 return LIBUSB_SUCCESS; in SetConfiguration() 300 return LIBUSB_SUCCESS; in SetAltSetting() 309 return LIBUSB_SUCCESS; in SetAltSetting() 326 return LIBUSB_SUCCESS; in ClearHalt() 411 return LIBUSB_SUCCESS; in ClaimInterface() 417 return LIBUSB_SUCCESS; in ReleaseInterface()
|
D | windows_winusb.c | 254 return LIBUSB_SUCCESS; in get_interface_details() 310 return LIBUSB_SUCCESS; in get_interface_details() 342 return LIBUSB_SUCCESS; in get_interface_details_filter() 408 return LIBUSB_SUCCESS; in get_interface_details_filter() 498 if (r != LIBUSB_SUCCESS) { in windows_assign_endpoints() 510 return LIBUSB_SUCCESS; in windows_assign_endpoints() 530 if (r == LIBUSB_SUCCESS) in windows_assign_endpoints() 576 int r = LIBUSB_SUCCESS; in auto_claim() 591 && (libusb_claim_interface(transfer->dev_handle, current_interface) == LIBUSB_SUCCESS)) { in auto_claim() 628 if (r == LIBUSB_SUCCESS) in auto_release() [all …]
|
D | openbsd_usb.c | 219 return (LIBUSB_SUCCESS); in obsd_get_device_list() 244 return (LIBUSB_SUCCESS); in obsd_open() 312 return (LIBUSB_SUCCESS); in obsd_get_configuration() 342 return (LIBUSB_SUCCESS); in obsd_claim_interface() 357 return (LIBUSB_SUCCESS); in obsd_release_interface() 380 return (LIBUSB_SUCCESS); in obsd_set_interface_altsetting() 408 return (LIBUSB_SUCCESS); in obsd_clear_halt() 463 return (LIBUSB_SUCCESS); in obsd_submit_transfer() 553 return (LIBUSB_SUCCESS); in _cache_active_config_descriptor()
|
D | netbsd_usb.c | 183 return (LIBUSB_SUCCESS); in netbsd_get_device_list() 210 return (LIBUSB_SUCCESS); in netbsd_open() 289 return (LIBUSB_SUCCESS); in netbsd_get_configuration() 316 return (LIBUSB_SUCCESS); in netbsd_claim_interface() 331 return (LIBUSB_SUCCESS); in netbsd_release_interface() 351 return (LIBUSB_SUCCESS); in netbsd_set_interface_altsetting() 371 return (LIBUSB_SUCCESS); in netbsd_clear_halt() 425 return (LIBUSB_SUCCESS); in netbsd_submit_transfer()
|
D | linux_udev.c | 115 return LIBUSB_SUCCESS; in linux_udev_start_event_monitor() 158 return LIBUSB_SUCCESS; in linux_udev_stop_event_monitor() 245 if (LIBUSB_SUCCESS != r) { in udev_hotplug_event() 305 return LIBUSB_SUCCESS; in linux_udev_scan_devices()
|
D | darwin_usb.c | 137 return LIBUSB_SUCCESS; in darwin_to_libusb() 203 return LIBUSB_SUCCESS; in ep_to_pipeRef() 599 if (LIBUSB_SUCCESS != rc) in darwin_init() 624 if (LIBUSB_SUCCESS != rc) { in darwin_init() 722 if (ret != LIBUSB_SUCCESS) in darwin_get_config_descriptor() 749 return LIBUSB_SUCCESS; in darwin_check_configuration() 792 return LIBUSB_SUCCESS; in darwin_check_configuration() 942 return LIBUSB_SUCCESS; in darwin_cache_device_descriptor() 987 enum libusb_error ret = LIBUSB_SUCCESS; in darwin_get_cached_device() 1087 enum libusb_error ret = LIBUSB_SUCCESS; in process_new_device() [all …]
|
D | sunos_usb.c | 537 return (LIBUSB_SUCCESS); in sunos_fill_in_dev_info() 620 if (sunos_fill_in_dev_info(dn, dev) != LIBUSB_SUCCESS) { in sunos_add_devices() 728 return (LIBUSB_SUCCESS); in sunos_usb_open_ep0() 747 return (LIBUSB_SUCCESS); in sunos_usb_open_ep0() 818 return (LIBUSB_SUCCESS); in sunos_find_interface() 980 return (LIBUSB_SUCCESS); in sunos_open() 983 if ((ret = sunos_usb_open_ep0(hpriv, dpriv)) != LIBUSB_SUCCESS) { in sunos_open() 988 return (LIBUSB_SUCCESS); in sunos_open() 1066 return (LIBUSB_SUCCESS); in sunos_get_configuration() 1087 return (LIBUSB_SUCCESS); in sunos_set_configuration() [all …]
|
D | linux_usbfs.c | 391 return LIBUSB_SUCCESS; in op_init() 396 r = LIBUSB_SUCCESS; in op_init() 401 if (r == LIBUSB_SUCCESS) { in op_init() 403 if (r == LIBUSB_SUCCESS) in op_init() 436 return LIBUSB_SUCCESS; in op_set_option() 561 if (ret != LIBUSB_SUCCESS) in sysfs_scan_device() 619 return LIBUSB_SUCCESS; in linux_get_device_address() 636 return LIBUSB_SUCCESS; in linux_get_device_address() 762 return LIBUSB_SUCCESS; in parse_config_descriptors() 864 return LIBUSB_SUCCESS; in usbfs_get_active_config() [all …]
|
D | windows_common.c | 521 if (r != LIBUSB_SUCCESS) in windows_init() 526 if (r == LIBUSB_SUCCESS) { in windows_init() 555 r = LIBUSB_SUCCESS; in windows_init() 558 if ((init_count == 1) && (r != LIBUSB_SUCCESS)) { // First init failed? in windows_init() 630 return LIBUSB_SUCCESS; in windows_set_option() 764 if (r != LIBUSB_SUCCESS) { in windows_submit_transfer() 793 return LIBUSB_SUCCESS; in windows_cancel_transfer()
|
D | haiku_usb_raw.cpp | 41 return LIBUSB_SUCCESS; in haiku_init() 64 return LIBUSB_SUCCESS; in haiku_open()
|
D | null_usb.c | 25 return LIBUSB_SUCCESS; in null_get_device_list()
|
D | linux_netlink.c | 140 return LIBUSB_SUCCESS; in linux_netlink_start_event_monitor() 171 return LIBUSB_SUCCESS; in linux_netlink_stop_event_monitor()
|
D | linux_usbfs.h | 180 return LIBUSB_SUCCESS; in linux_start_event_monitor()
|
D | events_windows.c | 213 return LIBUSB_SUCCESS; in usbi_wait_for_events()
|
D | events_posix.c | 299 return LIBUSB_SUCCESS; in usbi_wait_for_events()
|
/third_party/libusb/examples/ |
D | hotplugtest.c | 40 if (LIBUSB_SUCCESS != rc) { in hotplug_callback() 52 if (LIBUSB_SUCCESS != rc) { in hotplug_callback() 105 if (LIBUSB_SUCCESS != rc) { in main() 113 if (LIBUSB_SUCCESS != rc) { in main()
|
D | testlibusb.c | 51 if (LIBUSB_SUCCESS != ret) in print_endpoint() 218 if (LIBUSB_SUCCESS != ret) { in print_device()
|
D | xusb.c | 363 if (r != LIBUSB_SUCCESS) { in send_mass_storage_command() 387 if (r != LIBUSB_SUCCESS) { in get_mass_storage_status() 855 if (libusb_get_bos_descriptor(handle, &bos_desc) == LIBUSB_SUCCESS) { in test_device() 919 if (r != LIBUSB_SUCCESS) { in test_device()
|
D | sam3u_benchmark.c | 214 if (rc != LIBUSB_SUCCESS) in main()
|
/third_party/libusb/libusb/ |
D | descriptor.c | 477 return LIBUSB_SUCCESS; in raw_desc_to_config() 741 return LIBUSB_SUCCESS; in libusb_get_ss_endpoint_companion_descriptor() 832 return LIBUSB_SUCCESS; in parse_bos() 946 return LIBUSB_SUCCESS; in libusb_get_usb_2_0_extension_descriptor() 1001 return LIBUSB_SUCCESS; in libusb_get_ss_usb_device_capability_descriptor() 1056 return LIBUSB_SUCCESS; in libusb_get_container_id_descriptor()
|
D | strerror.c | 197 return LIBUSB_SUCCESS; in libusb_setlocale()
|
D | io.c | 1554 if (r == LIBUSB_SUCCESS) { in libusb_submit_transfer() 1561 if (r != LIBUSB_SUCCESS) in libusb_submit_transfer() 2025 if (r == LIBUSB_SUCCESS) in handle_timeout() 2225 if (r != LIBUSB_SUCCESS) { in handle_events() 2228 r = LIBUSB_SUCCESS; in handle_events()
|
D | hotplug.c | 316 return LIBUSB_SUCCESS; in libusb_hotplug_register_callback()
|