Home
last modified time | relevance | path

Searched refs:EV_MAX (Results 1 – 20 of 20) sorted by relevance

/third_party/libevdev/test/
Dtest-event-names.c11 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()
Dtest-event-codes.c22 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()
Dtest-libevdev-has-event.c45 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()
Dtest-libevdev-events.c1921 ck_assert_int_eq(libevdev_set_event_value(dev, EV_MAX + 1, 0, 1), -1); in START_TEST()
/third_party/pulseaudio/src/modules/
Dmodule-mmkbd-evdev.c160 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/
Dlibevdev-list-codes.c38 for (unsigned int type = 0; type <= EV_MAX; type++) { in main()
Dlibevdev-events.c60 for (i = 0; i <= EV_MAX; i++) { in print_bits()
/third_party/libevdev/libevdev/
Dlibevdev.c79 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()
Dlibevdev-uinput.c475 if (type > EV_MAX) in libevdev_uinput_write_event()
/third_party/libinput/include/linux/freebsd/
Dinput-event-codes.h50 #define EV_MAX 0x1f macro
51 #define EV_CNT (EV_MAX+1)
/third_party/FreeBSD/sys/dev/evdev/
Dinput-event-codes.h64 #define EV_MAX 0x1f macro
65 #define EV_CNT (EV_MAX+1)
/third_party/libinput/include/linux/linux/
Dinput-event-codes.h50 #define EV_MAX 0x1f macro
51 #define EV_CNT (EV_MAX+1)
/third_party/libevdev/include/linux/linux/
Dinput-event-codes.h50 #define EV_MAX 0x1f macro
51 #define EV_CNT (EV_MAX+1)
/third_party/libevdev/include/
Devent-names.h6 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/
Dmod.rs2399 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/
Dlinux.txt651 EV_MAX
Dandroid.txt574 EV_MAX
/third_party/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs3329 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/
Dlibinput_0000.diff1220 -#define EV_MAX 0x1f
1221 -#define EV_CNT (EV_MAX+1)
2748 + case EV_MAX:
/third_party/libevdev/
Dthird_party_libevdev.diff25824 + 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 …]