Lines Matching defs:num_slots
661 const int num_slots = 15;
663 unsigned long terminated[NLONGS(num_slots)];
664 unsigned long restarted[NLONGS(num_slots)];
670 { .value = ABS_MT_SLOT, .maximum = num_slots },
694 for (i = num_slots; i >= 0; i--) {
712 for (i = num_slots; i >= 0; i--) {
717 EV_ABS, ABS_MT_TRACKING_ID, num_slots + i,
767 ck_assert_int_eq(ev.value, num_slots + slot);
792 for (i = 0; i < num_slots; i++) {
816 const int num_slots = 5;
822 { .value = ABS_MT_SLOT, .maximum = num_slots },
852 for (int i = 0; i < num_slots; i++) {
1625 int num_slots = 2;
1631 { .value = ABS_MT_SLOT, .maximum = num_slots - 1 },
1647 ev[0].value = num_slots;
1658 ck_assert_int_eq(ev[0].value, num_slots - 1);
1674 ck_assert_int_eq(ev[0].value, num_slots - 1);
1676 ck_assert_int_eq(libevdev_get_current_slot(dev), num_slots - 1);
1678 ck_assert_int_eq(libevdev_set_event_value(dev, EV_ABS, ABS_MT_SLOT, num_slots), -1);