Searched defs:DEVICE_DESC_LENGTH (Results 1 - 5 of 5) sorted by relevance

/external/libusb/libusb/
H A Ddescriptor.c28 #define DEVICE_DESC_LENGTH 18 macro
435 unsigned char raw_desc[DEVICE_DESC_LENGTH];
H A Dlibusbi.h33 #define DEVICE_DESC_LENGTH 18 macro
463 * This function is expected to write DEVICE_DESC_LENGTH (18) bytes into
/external/chromium_org/third_party/libusb/src/libusb/
H A Ddescriptor.c30 #define DEVICE_DESC_LENGTH 18 macro
H A Dlibusbi.h51 #define DEVICE_DESC_LENGTH 18 macro
636 * This function is expected to write DEVICE_DESC_LENGTH (18) bytes into
/external/libusb/libusb/os/
H A Dlinux_usbfs.c275 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); local
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...]

Completed in 154 milliseconds