| /src/tests/lib/libusbhid/ |
| t_usbhid.c | 117 report_desc_t hrd; local 124 ATF_REQUIRE((hrd = hid_use_report_desc(range_test_report_descriptor, 126 ATF_REQUIRE(hid_locate(hrd, 0xff000001U, hid_input, &hi, 130 ATF_REQUIRE(hid_locate(hrd, 0xff000002U, hid_input, &hi, 134 ATF_REQUIRE(hid_locate(hrd, 0xff000003U, hid_input, &hi, 139 hid_dispose_report_desc(hrd); 140 hrd = NULL; 142 ATF_REQUIRE((hrd = hid_use_report_desc( 145 ATF_REQUIRE(hid_locate(hrd, 0xff000011U, hid_input, &hi, 152 ATF_REQUIRE(hid_locate(hrd, 0xff000012U, hid_input, &hi 180 report_desc_t hrd; local 242 report_desc_t hrd; local 338 report_desc_t hrd; local 426 report_desc_t hrd; local [all...] |
| t_usbhid.c | 117 report_desc_t hrd; local 124 ATF_REQUIRE((hrd = hid_use_report_desc(range_test_report_descriptor, 126 ATF_REQUIRE(hid_locate(hrd, 0xff000001U, hid_input, &hi, 130 ATF_REQUIRE(hid_locate(hrd, 0xff000002U, hid_input, &hi, 134 ATF_REQUIRE(hid_locate(hrd, 0xff000003U, hid_input, &hi, 139 hid_dispose_report_desc(hrd); 140 hrd = NULL; 142 ATF_REQUIRE((hrd = hid_use_report_desc( 145 ATF_REQUIRE(hid_locate(hrd, 0xff000011U, hid_input, &hi, 152 ATF_REQUIRE(hid_locate(hrd, 0xff000012U, hid_input, &hi 180 report_desc_t hrd; local 242 report_desc_t hrd; local 338 report_desc_t hrd; local 426 report_desc_t hrd; local [all...] |
| /src/external/bsd/libfido2/dist/src/ |
| hid_hidapi.c | 101 get_report_descriptor(const char *path, struct hidraw_report_descriptor *hrd) 118 hrd->size = (unsigned)s; 120 if (ioctl(fd, IOCTL_REQ(HIDIOCGRDESC), hrd) < 0) { 137 struct hidraw_report_descriptor *hrd; local 139 if ((hrd = calloc(1, sizeof(*hrd))) == NULL || 140 get_report_descriptor(hdi->path, hrd) < 0 || 141 fido_hid_get_usage(hrd->value, hrd->size, &usage_page) < 0) 144 free(hrd); [all...] |
| hid_hidapi.c | 101 get_report_descriptor(const char *path, struct hidraw_report_descriptor *hrd) 118 hrd->size = (unsigned)s; 120 if (ioctl(fd, IOCTL_REQ(HIDIOCGRDESC), hrd) < 0) { 137 struct hidraw_report_descriptor *hrd; local 139 if ((hrd = calloc(1, sizeof(*hrd))) == NULL || 140 get_report_descriptor(hdi->path, hrd) < 0 || 141 fido_hid_get_usage(hrd->value, hrd->size, &usage_page) < 0) 144 free(hrd); [all...] |
| hid_linux.c | 31 get_report_descriptor(int fd, struct hidraw_report_descriptor *hrd) 45 hrd->size = (unsigned)s; 47 if (ioctl(fd, IOCTL_REQ(HIDIOCGRDESC), hrd) == -1) { 60 struct hidraw_report_descriptor *hrd = NULL; local 62 if ((hrd = calloc(1, sizeof(*hrd))) == NULL || 65 if (get_report_descriptor(fd, hrd) < 0 || 66 fido_hid_get_usage(hrd->value, hrd->size, &usage_page) < 0) 70 free(hrd); 261 struct hidraw_report_descriptor *hrd; local [all...] |
| hid_linux.c | 31 get_report_descriptor(int fd, struct hidraw_report_descriptor *hrd) 45 hrd->size = (unsigned)s; 47 if (ioctl(fd, IOCTL_REQ(HIDIOCGRDESC), hrd) == -1) { 60 struct hidraw_report_descriptor *hrd = NULL; local 62 if ((hrd = calloc(1, sizeof(*hrd))) == NULL || 65 if (get_report_descriptor(fd, hrd) < 0 || 66 fido_hid_get_usage(hrd->value, hrd->size, &usage_page) < 0) 70 free(hrd); 261 struct hidraw_report_descriptor *hrd; local [all...] |
| /src/external/bsd/libfido2/dist/fuzz/ |
| udev.c | 234 struct hidraw_report_descriptor *hrd; local 250 hrd = va_arg(ap, struct hidraw_report_descriptor *); 251 assert(hrd->size == report_descriptor->len); 252 memcpy(hrd->value, report_descriptor->body, hrd->size);
|
| udev.c | 234 struct hidraw_report_descriptor *hrd; local 250 hrd = va_arg(ap, struct hidraw_report_descriptor *); 251 assert(hrd->size == report_descriptor->len); 252 memcpy(hrd->value, report_descriptor->body, hrd->size);
|
| /src/sys/kern/ |
| uipc_mbufdebug.c | 466 uint16_t hrd, op; local 483 hrd = ntohs(ar.ar_hrd); 484 (*pr)("ARP: AddressType = %u(", hrd); 485 switch (hrd) {
|
| uipc_mbufdebug.c | 466 uint16_t hrd, op; local 483 hrd = ntohs(ar.ar_hrd); 484 (*pr)("ARP: AddressType = %u(", hrd); 485 switch (hrd) {
|
| /src/external/bsd/tcpdump/dist/ |
| print-arp.c | 90 #define HRD(ap) GET_BE_U_2((ap)->ar_hrd) 262 u_short pro, hrd, op; local 267 hrd = ATMHRD(ap); 282 tok2str(arphrd_values, "Unknown Hardware (%u)", hrd), 355 u_short pro, hrd, op, linkaddr; local 361 hrd = HRD(ap); 371 switch(hrd) { 395 tok2str(arphrd_values, "Unknown Hardware (%u)", hrd),
|
| print-arp.c | 90 #define HRD(ap) GET_BE_U_2((ap)->ar_hrd) 262 u_short pro, hrd, op; local 267 hrd = ATMHRD(ap); 282 tok2str(arphrd_values, "Unknown Hardware (%u)", hrd), 355 u_short pro, hrd, op, linkaddr; local 361 hrd = HRD(ap); 371 switch(hrd) { 395 tok2str(arphrd_values, "Unknown Hardware (%u)", hrd),
|
| /src/external/apache2/mDNSResponder/dist/mDNSCore/ |
| mDNSEmbeddedAPI.h | 623 mDNSOpaque16 hrd; variable
|
| mDNSEmbeddedAPI.h | 623 mDNSOpaque16 hrd; variable
|