Home
last modified time | relevance | path

Searched refs:reportDescriptor (Results 1 – 4 of 4) sorted by relevance

/haiku/src/bin/hid_decode/
H A Dhid_decode.cpp34 uint8 *reportDescriptor = (uint8 *)malloc(descriptorLength); in main() local
35 if (reportDescriptor == NULL) { in main()
40 ssize_t read = file.Read(reportDescriptor, descriptorLength); in main()
48 status_t result = parser.ParseReportDescriptor(reportDescriptor, in main()
51 free(reportDescriptor); in main()
/haiku/src/add-ons/kernel/drivers/input/usb_hid/
H A DHIDDevice.cpp41 uint8 *reportDescriptor = NULL; in HIDDevice() local
56 reportDescriptor = (uint8 *)descriptorWriter.Buffer(); in HIDDevice()
113 reportDescriptor = (uint8 *)malloc(descriptorLength); in HIDDevice()
114 if (reportDescriptor == NULL) { in HIDDevice()
124 reportDescriptor, &descriptorLength); in HIDDevice()
130 free(reportDescriptor); in HIDDevice()
145 write(fd, reportDescriptor, descriptorLength); in HIDDevice()
150 status_t result = fParser.ParseReportDescriptor(reportDescriptor, in HIDDevice()
153 free(reportDescriptor); in HIDDevice()
/haiku/src/add-ons/kernel/drivers/input/hid_shared/
H A DHIDParser.h24 const uint8 *reportDescriptor,
H A DHIDParser.cpp43 HIDParser::ParseReportDescriptor(const uint8 *reportDescriptor, in ParseReportDescriptor() argument
64 const uint8 *pointer = reportDescriptor; in ParseReportDescriptor()