OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dev_buf
(Results
1 - 2
of
2
) sorted by null
/external/libusb/libusb/os/
linux_usbfs.c
669
unsigned char *
dev_buf
;
local
748
dev_buf
= malloc(DEVICE_DESC_LENGTH);
749
if (!
dev_buf
) {
754
r = read(fd,
dev_buf
, DEVICE_DESC_LENGTH);
758
free(
dev_buf
);
763
free(
dev_buf
);
770
dev->num_configurations =
dev_buf
[DEVICE_DESC_LENGTH - 1];
776
free(
dev_buf
);
782
priv->dev_descriptor =
dev_buf
;
[
all
...]
/external/libusb_aah/libusb/os/
linux_usbfs.c
856
unsigned char *
dev_buf
;
local
949
dev_buf
= malloc(DEVICE_DESC_LENGTH);
950
if (!
dev_buf
) {
955
r = read(fd,
dev_buf
, DEVICE_DESC_LENGTH);
959
free(
dev_buf
);
964
free(
dev_buf
);
971
dev->num_configurations =
dev_buf
[DEVICE_DESC_LENGTH - 1];
977
free(
dev_buf
);
983
priv->dev_descriptor =
dev_buf
;
[
all
...]
Completed in 462 milliseconds