HelenOS sources

is_descriptor_kind  186 uspace/app/usbinfo/hid.c 	if (is_descriptor_kind(raw_descriptor, USB_DESCTYPE_INTERFACE)) {
is_descriptor_kind  192 uspace/app/usbinfo/hid.c 	if (!is_descriptor_kind(raw_descriptor, USB_DESCTYPE_HID)) {
HelenOS homepage, sources at GitHub