Home
last modified time | relevance | path

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

/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/qemu/distrib/sdl-1.2.15/src/joystick/linux/
DSDL_sysjoystick.c386 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/
Devent_device_info.cc17 if (ioctl(fd, EVIOCGBIT(type, size), buf) < 0) { in GetEventBits()
/external/kernel-headers/original/uapi/linux/
Dinput.h146 #define EVIOCGBIT(ev,len) _IOC(_IOC_READ, 'E', 0x20 + (ev), len) /* get event bits */ macro
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.cc456 unsigned IOCTL_EVIOCGBIT = EVIOCGBIT(0, 0);
Dsanitizer_common_interceptors_ioctl.inc140 _(EVIOCGBIT, WRITE, struct_input_id_sz); // fixup