Home
last modified time | relevance | path

Searched refs:tty_out (Results 1 – 3 of 3) sorted by relevance

/third_party/libuv/test/
Dtest-tty-escape-sequence-processing.c96 static void get_screen_info(uv_tty_t* tty_out, struct screen_info* si) { in get_screen_info() argument
97 ASSERT(GetConsoleScreenBufferInfo(tty_out->handle, &(si->csbi))); in get_screen_info()
105 static void set_cursor_position(uv_tty_t* tty_out, COORD pos) { in set_cursor_position() argument
106 HANDLE handle = tty_out->handle; in set_cursor_position()
114 static void get_cursor_position(uv_tty_t* tty_out, COORD* cursor_position) { in get_cursor_position() argument
115 HANDLE handle = tty_out->handle; in get_cursor_position()
122 static void set_cursor_to_home(uv_tty_t* tty_out) { in set_cursor_to_home() argument
124 set_cursor_position(tty_out, origin); in set_cursor_to_home()
127 static CONSOLE_CURSOR_INFO get_cursor_info(uv_tty_t* tty_out) { in get_cursor_info() argument
128 HANDLE handle = tty_out->handle; in get_cursor_info()
[all …]
Dtest-tty.c47 uv_tty_t tty_in, tty_out; in TEST_IMPL() local
102 r = uv_tty_init(uv_default_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()
144 uv_close((uv_handle_t*) &tty_out, NULL); in TEST_IMPL()
225 uv_tty_t tty_out; in TEST_IMPL() local
249 r = uv_tty_init(uv_default_loop(), &tty_out, ttyout_fd, 0); /* Writable. */ in TEST_IMPL()
251 ASSERT(!uv_is_readable((uv_stream_t*) &tty_out)); in TEST_IMPL()
252 ASSERT(uv_is_writable((uv_stream_t*) &tty_out)); in TEST_IMPL()
[all …]
/third_party/openssl/crypto/ui/
Dui_openssl.c180 static FILE *tty_in, *tty_out; variable
212 fputs(UI_get0_output_string(uis), tty_out); in write_string()
213 fflush(tty_out); in write_string()
230 fputs(UI_get0_output_string(uis), tty_out); in read_string()
231 fputs(UI_get0_action_string(uis), tty_out); in read_string()
232 fflush(tty_out); in read_string()
237 fputs(UI_get0_output_string(uis), tty_out); in read_string()
238 fflush(tty_out); in read_string()
243 fprintf(tty_out, "Verifying - %s", UI_get0_output_string(uis)); in read_string()
244 fflush(tty_out); in read_string()
[all …]