Lines Matching refs:tty_out
47 uv_tty_t tty_in, tty_out; in TEST_IMPL() local
102 r = uv_tty_init(loop, &tty_out, ttyout_fd, 0); /* Writable. */ in TEST_IMPL()
104 ASSERT(!uv_is_readable((uv_stream_t*) &tty_out)); in TEST_IMPL()
105 ASSERT(uv_is_writable((uv_stream_t*) &tty_out)); in TEST_IMPL()
107 r = uv_tty_get_winsize(&tty_out, &width, &height); in TEST_IMPL()
140 uv_close((uv_handle_t*) &tty_out, NULL); in TEST_IMPL()
221 uv_tty_t tty_out; in TEST_IMPL() local
245 r = uv_tty_init(loop, &tty_out, ttyout_fd, 0); /* Writable. */ in TEST_IMPL()
247 ASSERT(!uv_is_readable((uv_stream_t*) &tty_out)); in TEST_IMPL()
248 ASSERT(uv_is_writable((uv_stream_t*) &tty_out)); in TEST_IMPL()
253 r = uv_try_write((uv_stream_t*) &tty_out, bufs, 1); in TEST_IMPL()
256 uv_close((uv_handle_t*) &tty_out, NULL); in TEST_IMPL()
267 uv_tty_t tty_out; in TEST_IMPL() local
291 r = uv_tty_init(loop, &tty_out, ttyout_fd, 0); /* Writable. */ in TEST_IMPL()
299 r = uv_try_write((uv_stream_t*) &tty_out, bufs, 1); in TEST_IMPL()
302 uv_close((uv_handle_t*) &tty_out, NULL); in TEST_IMPL()