Searched refs:LIBUSB_DT_DEVICE_SIZE (Results 1 – 11 of 11) sorted by relevance
/third_party/libusb/libusb/os/ |
D | haiku_pollfs.cpp | 133 memcpy(&dev->device_descriptor, fDevice->Descriptor(), LIBUSB_DT_DEVICE_SIZE); in WatchedEntry()
|
D | linux_usbfs.c | 690 buffer = (uint8_t *)priv->descriptors + LIBUSB_DT_DEVICE_SIZE; in parse_config_descriptors() 691 remaining = priv->descriptors_len - LIBUSB_DT_DEVICE_SIZE; in parse_config_descriptors() 966 if (priv->descriptors_len < LIBUSB_DT_DEVICE_SIZE) { in initialize_device() 975 memcpy(&dev->device_descriptor, priv->descriptors, LIBUSB_DT_DEVICE_SIZE); in initialize_device()
|
D | netbsd_usb.c | 164 memcpy(&dev->device_descriptor, &ddesc, LIBUSB_DT_DEVICE_SIZE); in netbsd_get_device_list()
|
D | windows_winusb.c | 959 dev->device_descriptor.bLength = LIBUSB_DT_DEVICE_SIZE; in init_root_hub() 1110 if ((conn_info.DeviceDescriptor.bLength != LIBUSB_DT_DEVICE_SIZE) in init_device() 1118 memcpy(&dev->device_descriptor, &conn_info.DeviceDescriptor, LIBUSB_DT_DEVICE_SIZE); in init_device() 1131 if ((conn_info.DeviceDescriptor.bLength != LIBUSB_DT_DEVICE_SIZE) in init_device() 3202 d.bLength = LIBUSB_DT_DEVICE_SIZE; in _hid_get_device_descriptor() 3217 if (*size > LIBUSB_DT_DEVICE_SIZE) in _hid_get_device_descriptor() 3218 *size = LIBUSB_DT_DEVICE_SIZE; in _hid_get_device_descriptor()
|
D | openbsd_usb.c | 191 memcpy(&dev->device_descriptor, &dd.udd_desc, LIBUSB_DT_DEVICE_SIZE); in obsd_get_device_list()
|
D | windows_usbdk.c | 291 memcpy(&dev->device_descriptor, &info->DeviceDescriptor, LIBUSB_DT_DEVICE_SIZE); in usbdk_device_init()
|
D | sunos_usb.c | 471 bcopy(rdata, &dev->device_descriptor, LIBUSB_DT_DEVICE_SIZE); in sunos_fill_in_dev_info()
|
D | darwin_usb.c | 1126 memcpy(&dev->device_descriptor, &cached_device->dev_descriptor, LIBUSB_DT_DEVICE_SIZE); in process_new_device()
|
/third_party/libusb/libusb/ |
D | libusb.h | 288 #define LIBUSB_DT_DEVICE_SIZE 18 macro
|
D | descriptor.c | 535 static_assert(sizeof(dev->device_descriptor) == LIBUSB_DT_DEVICE_SIZE, in libusb_get_device_descriptor()
|
D | core.c | 767 if (dev->device_descriptor.bLength != LIBUSB_DT_DEVICE_SIZE || in usbi_sanitize_device()
|