Home
last modified time | relevance | path

Searched refs:ttyout_fd (Results 1 - 2 of 2) sorted by relevance

/third_party/libuv/test/
H A Dtest-tty.c46 int ttyin_fd, ttyout_fd; in TEST_IMPL() local
71 ttyout_fd = _open_osfhandle((intptr_t) handle, 0); in TEST_IMPL()
81 ttyout_fd = open("/dev/tty", O_WRONLY, 0); in TEST_IMPL()
82 if (ttyout_fd < 0) { in TEST_IMPL()
90 ASSERT_GE(ttyout_fd, 0); in TEST_IMPL()
95 ASSERT_EQ(UV_TTY, uv_guess_handle(ttyout_fd)); in TEST_IMPL()
102 r = uv_tty_init(loop, &tty_out, ttyout_fd, 0); /* Writable. */ in TEST_IMPL()
220 int ttyout_fd; in TEST_IMPL() local
239 ttyout_fd = _open_osfhandle((intptr_t) handle, 0); in TEST_IMPL()
241 ASSERT_GE(ttyout_fd, in TEST_IMPL()
266 int ttyout_fd; TEST_IMPL() local
[all...]
H A Dtest-tty-escape-sequence-processing.c352 int ttyout_fd; in initialize_tty() local
365 ttyout_fd = _open_osfhandle((intptr_t) handle, 0); in initialize_tty()
366 ASSERT_GE(ttyout_fd, 0); in initialize_tty()
367 ASSERT_EQ(UV_TTY, uv_guess_handle(ttyout_fd)); in initialize_tty()
368 r = uv_tty_init(uv_default_loop(), tty_out, ttyout_fd, 0); /* Writable. */ in initialize_tty()

Completed in 3 milliseconds