Home
last modified time | relevance | path

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

/third_party/libuv/test/
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(ttyout_fd >= 0); in TEST_IMPL()
95 ASSERT(UV_TTY == uv_guess_handle(ttyout_fd)); in TEST_IMPL()
102 r = uv_tty_init(uv_default_loop(), &tty_out, ttyout_fd, 0); /* Writable. */ in TEST_IMPL()
224 int ttyout_fd; in TEST_IMPL() local
243 ttyout_fd = _open_osfhandle((intptr_t) handle, 0); in TEST_IMPL()
245 ASSERT(ttyout_fd >= 0); in TEST_IMPL()
[all …]
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(ttyout_fd >= 0); in initialize_tty()
367 ASSERT(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()