• Home
  • Raw
  • Download

Lines Matching refs:uidev

20 	struct libevdev_uinput *uidev;  in START_TEST()  local
35 rc = libevdev_uinput_create_from_device(dev, LIBEVDEV_UINPUT_OPEN_MANAGED, &uidev); in START_TEST()
37 ck_assert(uidev != NULL); in START_TEST()
39 uinput_fd = libevdev_uinput_get_fd(uidev); in START_TEST()
42 devnode = libevdev_uinput_get_devnode(uidev); in START_TEST()
63 libevdev_uinput_destroy(uidev); in START_TEST()
76 struct libevdev_uinput *uidev = NULL; in START_TEST() local
88 rc = libevdev_uinput_create_from_device(dev, -1, &uidev); in START_TEST()
90 ck_assert(uidev == NULL); in START_TEST()
100 struct libevdev_uinput *uidev; in START_TEST() local
117 rc = libevdev_uinput_create_from_device(dev, fd, &uidev); in START_TEST()
119 ck_assert(uidev != NULL); in START_TEST()
121 ck_assert_int_eq(libevdev_uinput_get_fd(uidev), fd); in START_TEST()
123 devnode = libevdev_uinput_get_devnode(uidev); in START_TEST()
144 libevdev_uinput_destroy(uidev); in START_TEST()
154 struct libevdev_uinput *uidev, *uidev2; in START_TEST() local
172 rc = libevdev_uinput_create_from_device(dev, fd, &uidev); in START_TEST()
180 devnode = libevdev_uinput_get_devnode(uidev); in START_TEST()
184 devnode2 = libevdev_uinput_get_devnode(uidev); in START_TEST()
192 libevdev_uinput_destroy(uidev); in START_TEST()
204 struct libevdev_uinput *uidev; in START_TEST() local
220 rc = libevdev_uinput_create_from_device(dev, fd, &uidev); in START_TEST()
223 syspath = libevdev_uinput_get_syspath(uidev); in START_TEST()
227 libevdev_uinput_destroy(uidev); in START_TEST()
240 struct libevdev_uinput *uidev, *uidev2;
258 rc = libevdev_uinput_create_from_device(dev, fd, &uidev);
273 syspath = libevdev_uinput_get_syspath(uidev);
277 syspath2 = libevdev_uinput_get_syspath(uidev);
285 libevdev_uinput_destroy(uidev);
296 struct libevdev_uinput *uidev, *uidev2;
314 rc = libevdev_uinput_create_from_device(dev, fd, &uidev);
322 syspath = libevdev_uinput_get_syspath(uidev);
326 syspath2 = libevdev_uinput_get_syspath(uidev);
334 libevdev_uinput_destroy(uidev);
347 struct libevdev_uinput *uidev; in START_TEST() local
373 rc = libevdev_uinput_create_from_device(dev, fd, &uidev); in START_TEST()
375 ck_assert(uidev != NULL); in START_TEST()
377 devnode = libevdev_uinput_get_devnode(uidev); in START_TEST()
383 libevdev_uinput_write_event(uidev, events[i].type, events[i].code, events[i].value); in START_TEST()
395 libevdev_uinput_destroy(uidev); in START_TEST()
404 struct libevdev_uinput *uidev; in START_TEST() local
421 rc = libevdev_uinput_create_from_device(dev, LIBEVDEV_UINPUT_OPEN_MANAGED, &uidev); in START_TEST()
423 ck_assert(uidev != NULL); in START_TEST()
425 devnode = libevdev_uinput_get_devnode(uidev); in START_TEST()
438 libevdev_uinput_destroy(uidev); in START_TEST()