Searched refs:uinput_fd (Results 1 – 4 of 4) sorted by relevance
/third_party/libevdev/test/ |
D | test-common-uinput.c | 31 int uinput_fd; member 45 dev->uinput_fd = -1; in uinput_device_new() 98 if (dev->uinput_fd != -1) { in uinput_device_free() 99 (void)ioctl(dev->uinput_fd, UI_DEV_DESTROY, NULL); in uinput_device_free() 100 close(dev->uinput_fd); in uinput_device_free() 132 d->uinput_fd = fd; in uinput_device_create() 173 if (d->uinput_fd != -1) in uinput_device_create() 174 close(d->uinput_fd); in uinput_device_create()
|
D | test-uinput.c | 21 int fd, uinput_fd; in START_TEST() local 39 uinput_fd = libevdev_uinput_get_fd(uidev); in START_TEST() 40 ck_assert_int_gt(uinput_fd, -1); in START_TEST() 67 ck_assert_int_eq(close(uinput_fd), -1); in START_TEST()
|
/third_party/libevdev/libevdev/ |
D | libevdev-uinput.h | 155 int uinput_fd,
|
/third_party/libevdev/ |
D | third_party_libevdev.diff | 18519 …>int libevdev_uinput_create_from_device(const struct libevdev *dev, int uinput_fd, struct libevdev… 18551 …>int libevdev_uinput_create_from_device(const struct libevdev *dev, int uinput_fd, struct libevdev… 18910 …>  <span class="keywordtype">int</span> uinput_fd,</div> 18942 …>  <span class="keywordtype">int</span> uinput_fd,</div> 18964 …>int libevdev_uinput_create_from_device(const struct libevdev *dev, int uinput_fd, struct libevdev… 18973 …>int libevdev_uinput_create_from_device(const struct libevdev *dev, int uinput_fd, struct libevdev… 25134 + int uinput_fd; 25148 + dev->uinput_fd = -1; 25201 + if (dev->uinput_fd != -1) { 25202 + (void)ioctl(dev->uinput_fd, UI_DEV_DESTROY, NULL); [all …]
|