/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_ioctl_test.cpp | 56 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/ |
D | sanitizer_ioctl_test.cc | 57 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/ |
D | ioctl_evdev.c | 142 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 …]
|
D | ioctl_evdev-success.c | 212 { { 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()
|
D | ioctl.c | 53 && defined EVIOCGBIT \ 84 (void) ioctl(-1, EVIOCGBIT(EV_KEY, 8), &data); in main()
|
/external/strace/tests-mx32/ |
D | ioctl_evdev.c | 142 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 …]
|
D | ioctl_evdev-success.c | 212 { { 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()
|
D | ioctl.c | 53 && defined EVIOCGBIT \ 84 (void) ioctl(-1, EVIOCGBIT(EV_KEY, 8), &data); in main()
|
/external/strace/tests/ |
D | ioctl_evdev.c | 142 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 …]
|
D | ioctl_evdev-success.c | 212 { { 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()
|
D | ioctl.c | 53 && defined EVIOCGBIT \ 84 (void) ioctl(-1, EVIOCGBIT(EV_KEY, 8), &data); in main()
|
/external/crosvm/devices/src/virtio/input/ |
D | evdev.rs | 104 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/ |
D | evtest.c | 355 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/ |
D | ioctl.rs | 192 ioctl_ior_nr!(EVIOCGBIT, EVDEV, 0x20 + evt, [u8; 128], evt); 202 assert_eq!(0x80804522, EVIOCGBIT(2)); in ioctl_macros()
|
/external/adhd/cras/src/server/ |
D | cras_gpio_jack.c | 36 return ioctl(fd, EVIOCGBIT(EV_SW, n_bytes), buf); in gpio_switch_eviocgbit()
|
/external/adhd/seccomp/ |
D | cras-seccomp-amd64.policy | 87 # SNDRV_CTL_IOCTL_*, and EVIOCGSW(8), EVIOCGNAME(256), EVIOCGBIT(0x05, 8),
|
D | cras-seccomp-arm.policy | 96 # SNDRV_CTL_IOCTL_*, and EVIOCGSW(8), EVIOCGNAME(256), EVIOCGBIT(0x05, 8),
|
D | cras-seccomp-arm64.policy | 7 # SNDRV_CTL_IOCTL_*, and EVIOCGSW(8), EVIOCGNAME(256), EVIOCGBIT(0x05, 8),
|
/external/libxkbcommon/tools/ |
D | interactive-evdev.c | 79 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/ |
D | input.h | 175 #define EVIOCGBIT(ev,len) _IOC(_IOC_READ, 'E', 0x20 + (ev), len) /* get event bits */ macro
|
/external/autotest/client/bin/input/ |
D | input_device.py | 271 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)
|
D | linux_input.py | 129 def EVIOCGBIT(ev,length): function
|
/external/strace/ |
D | evdev.c | 376 if ((_IOC_NR(code) & ~EV_MAX) == _IOC_NR(EVIOCGBIT(0, 0))) in evdev_read_ioctl()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_platform_limits_posix.cc | 539 unsigned IOCTL_EVIOCGBIT = EVIOCGBIT(0, 0);
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_platform_limits_posix.cpp | 540 unsigned IOCTL_EVIOCGBIT = EVIOCGBIT(0, 0);
|