Home
last modified time | relevance | path

Searched refs:LED_MAX (Results 1 – 16 of 16) sorted by relevance

/third_party/libevdev/test/
Dtest-event-names.c15 ck_assert(libevdev_event_code_get_name(EV_LED, LED_MAX + 1) == NULL); in START_TEST()
111 ck_assert_str_eq(libevdev_event_code_get_name(EV_LED, LED_MAX), "LED_MAX"); in START_TEST()
113 ck_assert(libevdev_event_code_get_name(EV_LED, LED_MAX - 1) == NULL); in START_TEST()
Dtest-event-codes.c174 ck_assert_int_eq(libevdev_event_code_from_name(EV_LED, "LED_MAX"), LED_MAX); in START_TEST()
185 ck_assert_int_eq(libevdev_event_code_from_code_name("LED_MAX"), LED_MAX); in START_TEST()
Dtest-libevdev-events.c574 EV_LED, LED_MAX, in START_TEST()
579 uinput_device_event(uidev, EV_LED, LED_MAX, 1); in START_TEST()
592 assert_event(&ev, EV_LED, LED_MAX, 1); in START_TEST()
601 ck_assert_int_eq(libevdev_get_event_value(dev, EV_LED, LED_MAX), 1); in START_TEST()
Dtest-libevdev-has-event.c1075 rc = libevdev_kernel_set_led_value(dev, LED_MAX + 1, LIBEVDEV_LED_ON); in START_TEST()
1090 LED_MAX + 1, LIBEVDEV_LED_ON, in START_TEST()
/third_party/libinput/include/linux/freebsd/
Dinput-event-codes.h923 #define LED_MAX 0x0f macro
924 #define LED_CNT (LED_MAX+1)
/third_party/FreeBSD/sys/dev/evdev/
Dinput-event-codes.h935 #define LED_MAX 0x0f macro
936 #define LED_CNT (LED_MAX+1)
/third_party/libinput/include/linux/linux/
Dinput-event-codes.h923 #define LED_MAX 0x0f macro
924 #define LED_CNT (LED_MAX+1)
/third_party/libevdev/include/linux/linux/
Dinput-event-codes.h930 #define LED_MAX 0x0f macro
931 #define LED_CNT (LED_MAX+1)
/third_party/libevdev/tools/
Dlibevdev-events.c74 print_code_bits(dev, EV_LED, LED_MAX); in print_bits()
/third_party/libevdev/include/
Devent-names.h684 static const char * const led_map[LED_MAX + 1] = {
696 [LED_MAX] = "LED_MAX",
828 LED_MAX,
1547 { .name = "LED_MAX", .value = LED_MAX },
/third_party/libevdev/libevdev/
Dlibevdev.c1019 if (e->code > LED_MAX) in update_led_state()
1796 struct input_event ev[LED_MAX + 1]; in libevdev_kernel_set_led_values()
1816 if (code > LED_MAX) { in libevdev_kernel_set_led_values()
/third_party/rust/crates/libc/src/unix/linux_like/android/
Dmod.rs2413 pub const LED_MAX: ::__u16 = 0x0f; constant
2414 pub const LED_CNT: usize = LED_MAX as usize + 1;
/third_party/rust/crates/libc/libc-test/semver/
Dlinux.txt1205 LED_MAX
Dandroid.txt1063 LED_MAX
/third_party/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs3343 pub const LED_MAX: ::__u16 = 0x0f; constant
3344 pub const LED_CNT: usize = LED_MAX as usize + 1;
/third_party/libevdev/
Dthird_party_libevdev.diff25976 + ck_assert_int_eq(libevdev_event_code_from_name(EV_LED, "LED_MAX"), LED_MAX);
25987 + ck_assert_int_eq(libevdev_event_code_from_code_name("LED_MAX"), LED_MAX);
26089 + ck_assert(libevdev_event_code_get_name(EV_LED, LED_MAX + 1) == NULL);
26185 + ck_assert_str_eq(libevdev_event_code_get_name(EV_LED, LED_MAX), "LED_MAX");
26187 + ck_assert(libevdev_event_code_get_name(EV_LED, LED_MAX - 1) == NULL);
27472 + EV_LED, LED_MAX,
27477 + uinput_device_event(uidev, EV_LED, LED_MAX, 1);
27490 + assert_event(&ev, EV_LED, LED_MAX, 1);
27499 + ck_assert_int_eq(libevdev_get_event_value(dev, EV_LED, LED_MAX), 1);
30061 + rc = libevdev_kernel_set_led_value(dev, LED_MAX + 1, LIBEVDEV_LED_ON);
[all …]