Home
last modified time | relevance | path

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

/third_party/libusb/libusb/os/
Dhaiku_pollfs.cpp133 memcpy(&dev->device_descriptor, fDevice->Descriptor(), LIBUSB_DT_DEVICE_SIZE); in WatchedEntry()
Dlinux_usbfs.c690 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()
Dnetbsd_usb.c164 memcpy(&dev->device_descriptor, &ddesc, LIBUSB_DT_DEVICE_SIZE); in netbsd_get_device_list()
Dwindows_winusb.c959 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()
Dopenbsd_usb.c191 memcpy(&dev->device_descriptor, &dd.udd_desc, LIBUSB_DT_DEVICE_SIZE); in obsd_get_device_list()
Dwindows_usbdk.c291 memcpy(&dev->device_descriptor, &info->DeviceDescriptor, LIBUSB_DT_DEVICE_SIZE); in usbdk_device_init()
Dsunos_usb.c471 bcopy(rdata, &dev->device_descriptor, LIBUSB_DT_DEVICE_SIZE); in sunos_fill_in_dev_info()
Ddarwin_usb.c1126 memcpy(&dev->device_descriptor, &cached_device->dev_descriptor, LIBUSB_DT_DEVICE_SIZE); in process_new_device()
/third_party/libusb/libusb/
Dlibusb.h288 #define LIBUSB_DT_DEVICE_SIZE 18 macro
Ddescriptor.c535 static_assert(sizeof(dev->device_descriptor) == LIBUSB_DT_DEVICE_SIZE, in libusb_get_device_descriptor()
Dcore.c767 if (dev->device_descriptor.bLength != LIBUSB_DT_DEVICE_SIZE || in usbi_sanitize_device()