HomeSort by relevance Sort by last modified time
    Searched defs:DEVICE_DESC_LENGTH (Results 1 - 6 of 6) 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_aah/libusb/
descriptor.c 29 #define DEVICE_DESC_LENGTH 18
438 unsigned char raw_desc[DEVICE_DESC_LENGTH];
libusbi.h 46 #define DEVICE_DESC_LENGTH 18
586 * 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...]
  /external/libusb_aah/libusb/os/
linux_usbfs.c 427 memcpy(buffer, priv->dev_descriptor, DEVICE_DESC_LENGTH);
497 r = read(fd, buffer, DEVICE_DESC_LENGTH);;
502 } else if (r < DEVICE_DESC_LENGTH) {
503 usbi_err(DEVICE_CTX(dev), "short read %d/%d", r, DEVICE_DESC_LENGTH);
640 } else if (off == DEVICE_DESC_LENGTH) {
645 off = lseek(fd, DEVICE_DESC_LENGTH, SEEK_SET);
720 off = lseek(fd, DEVICE_DESC_LENGTH, SEEK_SET);
949 dev_buf = malloc(DEVICE_DESC_LENGTH);
955 r = read(fd, dev_buf, DEVICE_DESC_LENGTH);
962 } else if (r < DEVICE_DESC_LENGTH) {
    [all...]

Completed in 78 milliseconds