Home
last modified time | relevance | path

Searched refs:EVIOCGBIT (Results 1 – 25 of 29) sorted by relevance

12

/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_ioctl_test.cpp56 EXPECT_EQ(EVIOCGBIT(0, 0), ioctl_request_fixup(EVIOCGBIT(0, 16))); in TEST()
57 EXPECT_EQ(EVIOCGBIT(0, 0), ioctl_request_fixup(EVIOCGBIT(1, 16))); in TEST()
58 EXPECT_EQ(EVIOCGBIT(0, 0), ioctl_request_fixup(EVIOCGBIT(1, 17))); in TEST()
59 EXPECT_EQ(EVIOCGBIT(0, 0), ioctl_request_fixup(EVIOCGBIT(31, 16))); in TEST()
60 EXPECT_NE(EVIOCGBIT(0, 0), ioctl_request_fixup(EVIOCGBIT(32, 16))); in TEST()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_ioctl_test.cc57 EXPECT_EQ(EVIOCGBIT(0, 0), ioctl_request_fixup(EVIOCGBIT(0, 16))); in TEST()
58 EXPECT_EQ(EVIOCGBIT(0, 0), ioctl_request_fixup(EVIOCGBIT(1, 16))); in TEST()
59 EXPECT_EQ(EVIOCGBIT(0, 0), ioctl_request_fixup(EVIOCGBIT(1, 17))); in TEST()
60 EXPECT_EQ(EVIOCGBIT(0, 0), ioctl_request_fixup(EVIOCGBIT(31, 16))); in TEST()
61 EXPECT_NE(EVIOCGBIT(0, 0), ioctl_request_fixup(EVIOCGBIT(32, 16))); in TEST()
/external/strace/tests-m32/
Dioctl_evdev.c142 TEST_NULL_ARG(EVIOCGBIT(0, 0)); in main()
143 TEST_NULL_ARG(EVIOCGBIT(EV_KEY, 1)); in main()
144 TEST_NULL_ARG(EVIOCGBIT(EV_REL, 2)); in main()
145 TEST_NULL_ARG(EVIOCGBIT(EV_ABS, 3)); in main()
146 TEST_NULL_ARG(EVIOCGBIT(EV_MSC, 4)); in main()
147 TEST_NULL_ARG(EVIOCGBIT(EV_SW, 5)); in main()
148 TEST_NULL_ARG(EVIOCGBIT(EV_LED, 6)); in main()
149 TEST_NULL_ARG(EVIOCGBIT(EV_SND, 7)); in main()
150 TEST_NULL_ARG(EVIOCGBIT(EV_REP, 8)); in main()
151 TEST_NULL_ARG(EVIOCGBIT(EV_FF, 9)); in main()
[all …]
Dioctl_evdev-success.c212 { { ARG_STR(EVIOCGBIT(0, 0)), ev_more, print_getbit }, &ev_more_str }, in main()
213 { { ARG_STR(EVIOCGBIT(0, 0)), ev_less, print_getbit }, &ev_less_str }, in main()
214 { { ARG_STR(EVIOCGBIT(0, 0)), ev_zero, print_getbit }, &ev_zero_str }, in main()
215 { { ARG_STR(EVIOCGBIT(EV_KEY, 0)), key, print_getbit }, &key_str}, in main()
Dioctl.c53 && defined EVIOCGBIT \
84 (void) ioctl(-1, EVIOCGBIT(EV_KEY, 8), &data); in main()
/external/strace/tests-mx32/
Dioctl_evdev.c142 TEST_NULL_ARG(EVIOCGBIT(0, 0)); in main()
143 TEST_NULL_ARG(EVIOCGBIT(EV_KEY, 1)); in main()
144 TEST_NULL_ARG(EVIOCGBIT(EV_REL, 2)); in main()
145 TEST_NULL_ARG(EVIOCGBIT(EV_ABS, 3)); in main()
146 TEST_NULL_ARG(EVIOCGBIT(EV_MSC, 4)); in main()
147 TEST_NULL_ARG(EVIOCGBIT(EV_SW, 5)); in main()
148 TEST_NULL_ARG(EVIOCGBIT(EV_LED, 6)); in main()
149 TEST_NULL_ARG(EVIOCGBIT(EV_SND, 7)); in main()
150 TEST_NULL_ARG(EVIOCGBIT(EV_REP, 8)); in main()
151 TEST_NULL_ARG(EVIOCGBIT(EV_FF, 9)); in main()
[all …]
Dioctl_evdev-success.c212 { { ARG_STR(EVIOCGBIT(0, 0)), ev_more, print_getbit }, &ev_more_str }, in main()
213 { { ARG_STR(EVIOCGBIT(0, 0)), ev_less, print_getbit }, &ev_less_str }, in main()
214 { { ARG_STR(EVIOCGBIT(0, 0)), ev_zero, print_getbit }, &ev_zero_str }, in main()
215 { { ARG_STR(EVIOCGBIT(EV_KEY, 0)), key, print_getbit }, &key_str}, in main()
Dioctl.c53 && defined EVIOCGBIT \
84 (void) ioctl(-1, EVIOCGBIT(EV_KEY, 8), &data); in main()
/external/strace/tests/
Dioctl_evdev.c142 TEST_NULL_ARG(EVIOCGBIT(0, 0)); in main()
143 TEST_NULL_ARG(EVIOCGBIT(EV_KEY, 1)); in main()
144 TEST_NULL_ARG(EVIOCGBIT(EV_REL, 2)); in main()
145 TEST_NULL_ARG(EVIOCGBIT(EV_ABS, 3)); in main()
146 TEST_NULL_ARG(EVIOCGBIT(EV_MSC, 4)); in main()
147 TEST_NULL_ARG(EVIOCGBIT(EV_SW, 5)); in main()
148 TEST_NULL_ARG(EVIOCGBIT(EV_LED, 6)); in main()
149 TEST_NULL_ARG(EVIOCGBIT(EV_SND, 7)); in main()
150 TEST_NULL_ARG(EVIOCGBIT(EV_REP, 8)); in main()
151 TEST_NULL_ARG(EVIOCGBIT(EV_FF, 9)); in main()
[all …]
Dioctl_evdev-success.c212 { { ARG_STR(EVIOCGBIT(0, 0)), ev_more, print_getbit }, &ev_more_str }, in main()
213 { { ARG_STR(EVIOCGBIT(0, 0)), ev_less, print_getbit }, &ev_less_str }, in main()
214 { { ARG_STR(EVIOCGBIT(0, 0)), ev_zero, print_getbit }, &ev_zero_str }, in main()
215 { { ARG_STR(EVIOCGBIT(EV_KEY, 0)), key, print_getbit }, &key_str}, in main()
Dioctl.c53 && defined EVIOCGBIT \
84 (void) ioctl(-1, EVIOCGBIT(EV_KEY, 8), &data); in main()
/external/crosvm/devices/src/virtio/input/
Devdev.rs104 ioctl_ior_nr!(EVIOCGBIT, EVDEV, 0x20 + evt, evdev_buffer, evt);
202 EVIOCGBIT(0), in supported_events()
223 EVIOCGBIT(ev as c_uint), in supported_events()
/external/autotest/client/site_tests/hardware_Keyboard/src/
Devtest.c355 ioctl(fd, EVIOCGBIT(EV_KEY, KEY_MAX), bit[EV_KEY]); in is_key_supported()
376 ioctl(fd, EVIOCGBIT(0,EV_MAX), bit[0]); in do_check_num_keys()
378 ioctl(fd, EVIOCGBIT(EV_KEY, KEY_MAX), bit[EV_KEY]); in do_check_num_keys()
411 ioctl(fd, EVIOCGBIT(0, EV_MAX), bit[0]); in do_evtest_dumpall()
418 ioctl(fd, EVIOCGBIT(i, KEY_MAX), bit[i]); in do_evtest_dumpall()
/external/crosvm/sys_util/src/
Dioctl.rs192 ioctl_ior_nr!(EVIOCGBIT, EVDEV, 0x20 + evt, [u8; 128], evt);
202 assert_eq!(0x80804522, EVIOCGBIT(2)); in ioctl_macros()
/external/adhd/cras/src/server/
Dcras_gpio_jack.c36 return ioctl(fd, EVIOCGBIT(EV_SW, n_bytes), buf); in gpio_switch_eviocgbit()
/external/adhd/seccomp/
Dcras-seccomp-amd64.policy87 # SNDRV_CTL_IOCTL_*, and EVIOCGSW(8), EVIOCGNAME(256), EVIOCGBIT(0x05, 8),
Dcras-seccomp-arm.policy96 # SNDRV_CTL_IOCTL_*, and EVIOCGSW(8), EVIOCGNAME(256), EVIOCGBIT(0x05, 8),
Dcras-seccomp-arm64.policy7 # SNDRV_CTL_IOCTL_*, and EVIOCGSW(8), EVIOCGNAME(256), EVIOCGBIT(0x05, 8),
/external/libxkbcommon/tools/
Dinteractive-evdev.c79 ioctl(fd, EVIOCGBIT(0, sizeof(evbits)), evbits); in is_keyboard()
87 ioctl(fd, EVIOCGBIT(EV_KEY, sizeof(keybits)), keybits); in is_keyboard()
/external/kernel-headers/original/uapi/linux/
Dinput.h175 #define EVIOCGBIT(ev,len) _IOC(_IOC_READ, 'E', 0x20 + (ev), len) /* get event bits */ macro
/external/autotest/client/bin/input/
Dinput_device.py271 count = fcntl.ioctl(self.f, EVIOCGBIT(ev_type, size), ev_code, 1)
289 fcntl.ioctl(self.f, EVIOCGBIT(EV_SYN, EV_CNT // 8), ev_types, 1)
Dlinux_input.py129 def EVIOCGBIT(ev,length): function
/external/strace/
Devdev.c376 if ((_IOC_NR(code) & ~EV_MAX) == _IOC_NR(EVIOCGBIT(0, 0))) in evdev_read_ioctl()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.cc539 unsigned IOCTL_EVIOCGBIT = EVIOCGBIT(0, 0);
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.cpp540 unsigned IOCTL_EVIOCGBIT = EVIOCGBIT(0, 0);

12