Home
last modified time | relevance | path

Searched refs:uinput_paths (Results 1 – 2 of 2) sorted by relevance

/third_party/ltp/libs/libltpuinput/
Dtst_uinput.c19 static const char *uinput_paths[] = { variable
29 for (i = 0; i < ARRAY_SIZE(uinput_paths); i++) { in open_uinput()
30 fd = open(uinput_paths[i], O_WRONLY | O_NONBLOCK); in open_uinput()
33 tst_res(TINFO, "Found uinput dev at %s", uinput_paths[i]); in open_uinput()
38 tst_brk(TBROK | TERRNO, "open(%s)", uinput_paths[i]); in open_uinput()
/third_party/ltp/testcases/kernel/input/
Dinput_helper.c116 static const char *uinput_paths[] = { variable
126 for (i = 0; i < ARRAY_SIZE(uinput_paths); i++) { in try_open_uinput()
127 fd = open(uinput_paths[i], O_WRONLY | O_NONBLOCK); in try_open_uinput()
131 uinput_paths[i]); in try_open_uinput()
137 "open(%s)", uinput_paths[i]); in try_open_uinput()