/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/ |
D | ioctl_evdev.c | 120 TEST_NULL_ARG(EVIOCGBIT(EV_SYN, 0)); in main() 121 TEST_NULL_ARG(EVIOCGBIT(EV_KEY, 1)); in main() 122 TEST_NULL_ARG(EVIOCGBIT(EV_REL, 2)); in main() 123 TEST_NULL_ARG(EVIOCGBIT(EV_ABS, 3)); in main() 124 TEST_NULL_ARG(EVIOCGBIT(EV_MSC, 4)); in main() 126 TEST_NULL_ARG(EVIOCGBIT(EV_SW, 5)); in main() 128 TEST_NULL_ARG(EVIOCGBIT(EV_LED, 6)); in main() 129 TEST_NULL_ARG(EVIOCGBIT(EV_SND, 7)); in main() 130 TEST_NULL_ARG(EVIOCGBIT(EV_REP, 8)); in main() 131 TEST_NULL_ARG(EVIOCGBIT(EV_FF, 9)); in main() [all …]
|
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 | 120 TEST_NULL_ARG(EVIOCGBIT(EV_SYN, 0)); in main() 121 TEST_NULL_ARG(EVIOCGBIT(EV_KEY, 1)); in main() 122 TEST_NULL_ARG(EVIOCGBIT(EV_REL, 2)); in main() 123 TEST_NULL_ARG(EVIOCGBIT(EV_ABS, 3)); in main() 124 TEST_NULL_ARG(EVIOCGBIT(EV_MSC, 4)); in main() 126 TEST_NULL_ARG(EVIOCGBIT(EV_SW, 5)); in main() 128 TEST_NULL_ARG(EVIOCGBIT(EV_LED, 6)); in main() 129 TEST_NULL_ARG(EVIOCGBIT(EV_SND, 7)); in main() 130 TEST_NULL_ARG(EVIOCGBIT(EV_REP, 8)); in main() 131 TEST_NULL_ARG(EVIOCGBIT(EV_FF, 9)); in main() [all …]
|
D | ioctl.c | 53 && defined EVIOCGBIT \ 84 (void) ioctl(-1, EVIOCGBIT(EV_KEY, 8), &data); in main()
|
/external/strace/tests-m32/ |
D | ioctl_evdev.c | 120 TEST_NULL_ARG(EVIOCGBIT(EV_SYN, 0)); in main() 121 TEST_NULL_ARG(EVIOCGBIT(EV_KEY, 1)); in main() 122 TEST_NULL_ARG(EVIOCGBIT(EV_REL, 2)); in main() 123 TEST_NULL_ARG(EVIOCGBIT(EV_ABS, 3)); in main() 124 TEST_NULL_ARG(EVIOCGBIT(EV_MSC, 4)); in main() 126 TEST_NULL_ARG(EVIOCGBIT(EV_SW, 5)); in main() 128 TEST_NULL_ARG(EVIOCGBIT(EV_LED, 6)); in main() 129 TEST_NULL_ARG(EVIOCGBIT(EV_SND, 7)); in main() 130 TEST_NULL_ARG(EVIOCGBIT(EV_REP, 8)); in main() 131 TEST_NULL_ARG(EVIOCGBIT(EV_FF, 9)); in main() [all …]
|
D | ioctl.c | 53 && defined EVIOCGBIT \ 84 (void) ioctl(-1, EVIOCGBIT(EV_KEY, 8), &data); in main()
|
/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/adhd/cras/src/server/ |
D | cras_gpio_jack.c | 36 return ioctl(fd, EVIOCGBIT(EV_SW, n_bytes), buf); in gpio_switch_eviocgbit()
|
/external/libxkbcommon/xkbcommon/test/ |
D | interactive-evdev.c | 69 ioctl(fd, EVIOCGBIT(0, sizeof(evbits)), evbits); in is_keyboard() 77 ioctl(fd, EVIOCGBIT(EV_KEY, sizeof(keybits)), keybits); in is_keyboard()
|
/external/kernel-headers/original/uapi/linux/ |
D | input.h | 159 #define EVIOCGBIT(ev,len) _IOC(_IOC_READ, 'E', 0x20 + (ev), len) /* get event bits */ macro
|
/external/autotest/client/bin/input/ |
D | input_device.py | 267 count = fcntl.ioctl(self.f, EVIOCGBIT(ev_type, size), ev_code, 1) 284 fcntl.ioctl(self.f, EVIOCGBIT(EV_SYN, EV_CNT / 8), ev_types, 1)
|
D | linux_input.py | 125 def EVIOCGBIT(ev,length): function
|
/external/strace/ |
D | evdev.c | 470 if ((_IOC_NR(code) & ~EV_MAX) == _IOC_NR(EVIOCGBIT(0, 0))) in evdev_read_ioctl()
|
D | ChangeLog | 20993 evdev.c: fix printing of unrecognized event type passed to EVIOCGBIT. 21044 evdev.c: move handling of EVIOCGBIT to a separate function. 21045 * evdev.c (evdev_read_ioctl): Move EVIOCGBIT handling to ...
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_platform_limits_posix.cc | 539 unsigned IOCTL_EVIOCGBIT = EVIOCGBIT(0, 0);
|
D | sanitizer_common_interceptors_ioctl.inc | 143 _(EVIOCGBIT, WRITE, struct_input_id_sz); // fixup
|