/external/libusb/libusb/os/ |
linux_usbfs.c | 275 memcpy(buffer, priv->dev_descriptor, DEVICE_DESC_LENGTH); 310 r = read(fd, buffer, DEVICE_DESC_LENGTH);; 315 } else if (r < DEVICE_DESC_LENGTH) { 316 usbi_err(DEVICE_CTX(dev), "short read %d/%d", r, DEVICE_DESC_LENGTH); 453 } else if (off == DEVICE_DESC_LENGTH) { 458 off = lseek(fd, DEVICE_DESC_LENGTH, SEEK_SET); 533 off = lseek(fd, DEVICE_DESC_LENGTH, SEEK_SET); 748 dev_buf = malloc(DEVICE_DESC_LENGTH); 754 r = read(fd, dev_buf, DEVICE_DESC_LENGTH); 761 } else if (r < DEVICE_DESC_LENGTH) { [all...] |
darwin_usb.c | 353 memmove (buffer, &(priv->dev_descriptor), DEVICE_DESC_LENGTH); [all...] |
/external/chromium_org/third_party/libusb/src/libusb/os/ |
linux_usbfs.c | 558 memcpy(buffer, priv->descriptors, DEVICE_DESC_LENGTH); 746 descriptors += DEVICE_DESC_LENGTH; 747 size -= DEVICE_DESC_LENGTH; 803 descriptors += DEVICE_DESC_LENGTH; 804 size -= DEVICE_DESC_LENGTH; 919 if (priv->descriptors_len < DEVICE_DESC_LENGTH) { 936 (DEVICE_DESC_LENGTH + LIBUSB_DT_CONFIG_SIZE)) { 939 priv->descriptors + DEVICE_DESC_LENGTH, [all...] |
openbsd_usb.c | 292 memcpy(buf, &dpriv->ddesc, DEVICE_DESC_LENGTH);
|
wince_usb.c | 433 memcpy(buffer, &priv->desc, DEVICE_DESC_LENGTH); [all...] |
darwin_usb.c | 460 memmove (buffer, &(priv->dev_descriptor), DEVICE_DESC_LENGTH); [all...] |
windows_usb.c | [all...] |
/external/libusb/libusb/ |
core.c | 530 unsigned char raw_desc[DEVICE_DESC_LENGTH]; 538 num_configurations = raw_desc[DEVICE_DESC_LENGTH - 1]; [all...] |
descriptor.c | 28 #define DEVICE_DESC_LENGTH 18 435 unsigned char raw_desc[DEVICE_DESC_LENGTH];
|
libusbi.h | 33 #define DEVICE_DESC_LENGTH 18 463 * This function is expected to write DEVICE_DESC_LENGTH (18) bytes into
|
/external/chromium_org/third_party/libusb/src/libusb/ |
libusbi.h | 51 #define DEVICE_DESC_LENGTH 18 636 * This function is expected to write DEVICE_DESC_LENGTH (18) bytes into [all...] |
descriptor.c | 30 #define DEVICE_DESC_LENGTH 18 [all...] |