Home
last modified time | relevance | path

Searched refs:uinput_fd (Results 1 - 3 of 3) sorted by relevance

/third_party/libevdev/test/
H A 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()
H A 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/
H A Dlibevdev-uinput.h124 * If uinput_fd is @ref LIBEVDEV_UINPUT_OPEN_MANAGED, libevdev_uinput_create_from_device()
126 * Otherwise, uinput_fd must be opened by the caller and opened with the
146 * @param uinput_fd @ref LIBEVDEV_UINPUT_OPEN_MANAGED or a file descriptor to @c /dev/uinput,
155 int uinput_fd,

Completed in 2 milliseconds