Lines Matching defs:code
22 unsigned int type, code;
55 for (code = 0; code < (unsigned int)max; code++) {
56 ck_assert_int_eq(libevdev_has_event_code(dev, type, code),
57 libevdev_has_event_code(dev2, type, code));
102 unsigned int type, code;
136 for (code = 0; code < (unsigned int)max; code++) {
137 ck_assert_int_eq(libevdev_has_event_code(dev, type, code),
138 libevdev_has_event_code(dev2, type, code));
265 and exercise that part of the code.
269 /* create a second one to test the syspath time filtering code */
317 /* create a second one to stress the syspath filtering code */
383 libevdev_uinput_write_event(uidev, events[i].type, events[i].code, events[i].value);
390 ck_assert_int_eq(events[i].code, events_read[i].code);