Lines Matching refs:descriptor_size
610 int r, size, descriptor_size;
616 descriptor_size = libusb_control_transfer(handle, LIBUSB_ENDPOINT_IN|LIBUSB_REQUEST_TYPE_STANDARD|LIBUSB_RECIPIENT_INTERFACE,
618 if (descriptor_size < 0) {
622 display_buffer_hex(hid_report_descriptor, descriptor_size);
624 if (fwrite(hid_report_descriptor, 1, descriptor_size, fd) != descriptor_size) {
630 size = get_hid_record_size(hid_report_descriptor, descriptor_size, HID_REPORT_TYPE_FEATURE);
661 size = get_hid_record_size(hid_report_descriptor, descriptor_size, HID_REPORT_TYPE_INPUT);