Searched refs:EVIOCGBIT (Results 1 – 6 of 6) sorted by relevance
/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/qemu/distrib/sdl-1.2.15/src/joystick/linux/ |
D | SDL_sysjoystick.c | 386 if ( (ioctl(fd, EVIOCGBIT(0, sizeof(evbit)), evbit) < 0) || in EV_IsJoystick() 387 (ioctl(fd, EVIOCGBIT(EV_KEY, sizeof(keybit)), keybit) < 0) || in EV_IsJoystick() 388 (ioctl(fd, EVIOCGBIT(EV_ABS, sizeof(absbit)), absbit) < 0) ) { in EV_IsJoystick() 679 if ( (ioctl(fd, EVIOCGBIT(EV_KEY, sizeof(keybit)), keybit) >= 0) && in EV_ConfigJoystick() 680 (ioctl(fd, EVIOCGBIT(EV_ABS, sizeof(absbit)), absbit) >= 0) && in EV_ConfigJoystick() 681 (ioctl(fd, EVIOCGBIT(EV_REL, sizeof(relbit)), relbit) >= 0) ) { in EV_ConfigJoystick()
|
/external/chromium_org/ui/events/ozone/evdev/ |
D | event_device_info.cc | 17 if (ioctl(fd, EVIOCGBIT(type, size), buf) < 0) { in GetEventBits()
|
/external/kernel-headers/original/uapi/linux/ |
D | input.h | 146 #define EVIOCGBIT(ev,len) _IOC(_IOC_READ, 'E', 0x20 + (ev), len) /* get event bits */ macro
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_platform_limits_posix.cc | 456 unsigned IOCTL_EVIOCGBIT = EVIOCGBIT(0, 0);
|
D | sanitizer_common_interceptors_ioctl.inc | 140 _(EVIOCGBIT, WRITE, struct_input_id_sz); // fixup
|