HomeSort by relevance Sort by last modified time
    Searched defs:DEVICE_DESC_LENGTH (Results 1 - 3 of 3) sorted by null

  /external/libusb/libusb/
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/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...]

Completed in 371 milliseconds