Home
last modified time | relevance | path

Searched refs:uinput_fd (Results 1 – 4 of 4) sorted by relevance

/third_party/libevdev/test/
Dtest-common-uinput.c31 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()
Dtest-uinput.c21 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/
Dlibevdev-uinput.h155 int uinput_fd,
/third_party/libevdev/
Dthird_party_libevdev.diff18519 …>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 …>&#160; <span class="keywordtype">int</span> uinput_fd,</div>
18942 …>&#160; <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 …]