Home
last modified time | relevance | path

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

/third_party/libuv/test/
Dtest-tty-duplicate-key.c136 int ttyin_fd; in TEST_IMPL() local
154 ttyin_fd = _open_osfhandle((intptr_t) handle, 0); in TEST_IMPL()
155 ASSERT(ttyin_fd >= 0); in TEST_IMPL()
156 ASSERT(UV_TTY == uv_guess_handle(ttyin_fd)); in TEST_IMPL()
158 r = uv_tty_init(uv_default_loop(), &tty_in, ttyin_fd, 1); /* Readable. */ in TEST_IMPL()
189 int ttyin_fd; in TEST_IMPL() local
208 ttyin_fd = _open_osfhandle((intptr_t) handle, 0); in TEST_IMPL()
209 ASSERT(ttyin_fd >= 0); in TEST_IMPL()
210 ASSERT(UV_TTY == uv_guess_handle(ttyin_fd)); in TEST_IMPL()
212 r = uv_tty_init(uv_default_loop(), &tty_in, ttyin_fd, 1); /* Readable. */ in TEST_IMPL()
[all …]
Dtest-tty.c46 int ttyin_fd, ttyout_fd; in TEST_IMPL() local
61 ttyin_fd = _open_osfhandle((intptr_t) handle, 0); in TEST_IMPL()
74 ttyin_fd = open("/dev/tty", O_RDONLY, 0); in TEST_IMPL()
75 if (ttyin_fd < 0) { in TEST_IMPL()
89 ASSERT(ttyin_fd >= 0); in TEST_IMPL()
94 ASSERT(UV_TTY == uv_guess_handle(ttyin_fd)); in TEST_IMPL()
97 r = uv_tty_init(uv_default_loop(), &tty_in, ttyin_fd, 1); /* Readable. */ in TEST_IMPL()
171 int ttyin_fd; in TEST_IMPL() local
187 ttyin_fd = _open_osfhandle((intptr_t) handle, 0); in TEST_IMPL()
188 ASSERT(ttyin_fd >= 0); in TEST_IMPL()
[all …]