/third_party/libevdev/test/ |
D | test-event-names.c | 11 ck_assert(libevdev_event_type_get_name(EV_MAX + 1) == NULL); in START_TEST() 21 ck_assert(libevdev_event_code_get_name(EV_MAX + 1, 0) == NULL); in START_TEST() 39 ck_assert_str_eq(libevdev_event_type_get_name(EV_MAX), "EV_MAX"); in START_TEST() 193 for (type = 0; type < EV_MAX; type++) { in START_TEST() 236 ck_assert_int_eq(libevdev_event_type_get_max(EV_MAX - 1), -1); in START_TEST() 237 ck_assert_int_eq(libevdev_event_type_get_max(EV_MAX + 1), -1); in START_TEST() 255 ck_assert_int_eq(libevdev_event_is_type(&ev, EV_MAX + 1), 0); in START_TEST() 277 ck_assert_int_eq(libevdev_event_is_code(&ev, EV_MAX + 1, ev.code), 0); in START_TEST()
|
D | test-event-codes.c | 22 ck_assert_int_eq(libevdev_event_type_from_name("EV_MAX"), EV_MAX); in START_TEST() 125 ck_assert_int_eq(libevdev_event_code_from_name(EV_MAX, "MAX_FAKE"), -1); in START_TEST()
|
D | test-libevdev-has-event.c | 45 for (i = 0; i <= EV_MAX; i++) { in START_TEST() 78 ck_assert_int_eq(libevdev_has_event_type(dev, EV_MAX + 1), 0); in START_TEST() 791 ck_assert_int_eq(libevdev_enable_event_code(dev, EV_MAX + 1, ABS_MAX + 1, &abs), -1); in START_TEST() 792 ck_assert_int_eq(libevdev_enable_event_type(dev, EV_MAX + 1), -1); in START_TEST() 868 ck_assert_int_eq(libevdev_disable_event_code(dev, EV_MAX + 1, ABS_MAX + 1), -1); in START_TEST() 869 ck_assert_int_eq(libevdev_disable_event_type(dev, EV_MAX + 1), -1); in START_TEST()
|
D | test-libevdev-events.c | 1921 ck_assert_int_eq(libevdev_set_event_value(dev, EV_MAX + 1, 0, 1), -1); in START_TEST()
|
/third_party/pulseaudio/src/modules/ |
D | module-mmkbd-evdev.c | 160 uint8_t evtype_bitmask[EV_MAX/8 + 1]; in pa__init() 219 if (ioctl(u->fd, EVIOCGBIT(0, EV_MAX), evtype_bitmask) < 0) { in pa__init()
|
/third_party/libevdev/tools/ |
D | libevdev-list-codes.c | 38 for (unsigned int type = 0; type <= EV_MAX; type++) { in main()
|
D | libevdev-events.c | 60 for (i = 0; i <= EV_MAX; i++) { in print_bits()
|
/third_party/libevdev/libevdev/ |
D | libevdev.c | 79 for (type = EV_KEY; type < EV_MAX; type++) { in init_event_queue() 1317 return type == EV_SYN ||(type <= EV_MAX && bit_is_set(dev->bits, type)); in libevdev_has_event_type() 1530 if (type > EV_MAX) in libevdev_enable_event_type() 1555 if (type > EV_MAX || type == EV_SYN) in libevdev_disable_event_type() 1621 if (type > EV_MAX || type == EV_SYN) in libevdev_disable_event_code() 1721 if (type > EV_MAX) in libevdev_event_type_get_name() 1767 if (type > EV_MAX) in libevdev_event_type_get_max()
|
D | libevdev-uinput.c | 475 if (type > EV_MAX) in libevdev_uinput_write_event()
|
/third_party/libinput/include/linux/freebsd/ |
D | input-event-codes.h | 50 #define EV_MAX 0x1f macro 51 #define EV_CNT (EV_MAX+1)
|
/third_party/FreeBSD/sys/dev/evdev/ |
D | input-event-codes.h | 64 #define EV_MAX 0x1f macro 65 #define EV_CNT (EV_MAX+1)
|
/third_party/libinput/include/linux/linux/ |
D | input-event-codes.h | 50 #define EV_MAX 0x1f macro 51 #define EV_CNT (EV_MAX+1)
|
/third_party/libevdev/include/linux/linux/ |
D | input-event-codes.h | 50 #define EV_MAX 0x1f macro 51 #define EV_CNT (EV_MAX+1)
|
/third_party/libevdev/include/ |
D | event-names.h | 6 static const char * const ev_map[EV_MAX + 1] = { 19 [EV_MAX] = "EV_MAX", 790 static const char * const * const event_type_map[EV_MAX + 1] = { 810 static const int ev_max[EV_MAX + 1] = { 869 { .name = "EV_MAX", .value = EV_MAX },
|
/third_party/rust/crates/libc/src/unix/linux_like/android/ |
D | mod.rs | 2399 pub const EV_MAX: ::__u16 = 0x1f; constant 2400 pub const EV_CNT: usize = EV_MAX as usize + 1;
|
/third_party/rust/crates/libc/libc-test/semver/ |
D | linux.txt | 651 EV_MAX
|
D | android.txt | 574 EV_MAX
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
D | mod.rs | 3329 pub const EV_MAX: ::__u16 = 0x1f; constant 3330 pub const EV_CNT: usize = EV_MAX as usize + 1;
|
/third_party/libinput/patch/diff_libinput_mmi/libinput/ |
D | libinput_0000.diff | 1220 -#define EV_MAX 0x1f 1221 -#define EV_CNT (EV_MAX+1) 2748 + case EV_MAX:
|
/third_party/libevdev/ |
D | third_party_libevdev.diff | 25824 + ck_assert_int_eq(libevdev_event_type_from_name("EV_MAX"), EV_MAX); 25927 + ck_assert_int_eq(libevdev_event_code_from_name(EV_MAX, "MAX_FAKE"), -1); 26085 + ck_assert(libevdev_event_type_get_name(EV_MAX + 1) == NULL); 26095 + ck_assert(libevdev_event_code_get_name(EV_MAX + 1, 0) == NULL); 26113 + ck_assert_str_eq(libevdev_event_type_get_name(EV_MAX), "EV_MAX"); 26267 + for (type = 0; type < EV_MAX; type++) { 26310 + ck_assert_int_eq(libevdev_event_type_get_max(EV_MAX - 1), -1); 26311 + ck_assert_int_eq(libevdev_event_type_get_max(EV_MAX + 1), -1); 26329 + ck_assert_int_eq(libevdev_event_is_type(&ev, EV_MAX + 1), 0); 26351 + ck_assert_int_eq(libevdev_event_is_code(&ev, EV_MAX + 1, ev.code), 0); [all …]
|