/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/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...] |
openbsd_usb.c | 248 memcpy(buf, &dpriv->ddesc, DEVICE_DESC_LENGTH);
|
darwin_usb.c | 423 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/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
|
core.c | 560 unsigned char raw_desc[DEVICE_DESC_LENGTH]; 568 num_configurations = raw_desc[DEVICE_DESC_LENGTH - 1]; [all...] |