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