Home
last modified time | relevance | path

Searched refs:uv_tty_t (Results 1 – 25 of 36) sorted by relevance

12

/third_party/node/deps/uv/src/win/
Dinternal.h158 int uv__tty_read_start(uv_tty_t* handle, uv_alloc_cb alloc_cb,
160 int uv__tty_read_stop(uv_tty_t* handle);
161 int uv__tty_write(uv_loop_t* loop, uv_write_t* req, uv_tty_t* handle,
163 int uv__tty_try_write(uv_tty_t* handle, const uv_buf_t bufs[],
165 void uv__tty_close(uv_tty_t* handle);
167 void uv__process_tty_read_req(uv_loop_t* loop, uv_tty_t* handle,
169 void uv__process_tty_write_req(uv_loop_t* loop, uv_tty_t* handle,
175 void uv__process_tty_accept_req(uv_loop_t* loop, uv_tty_t* handle,
181 void uv__process_tty_connect_req(uv_loop_t* loop, uv_tty_t* handle,
184 uv_tty_t* stream,
[all …]
Dtty.c74 static int uv__cancel_read_console(uv_tty_t* handle);
190 int uv_tty_init(uv_loop_t* loop, uv_tty_t* tty, uv_file fd, int unused) { in uv_tty_init()
350 int uv_tty_set_mode(uv_tty_t* tty, uv_tty_mode_t mode) { in uv_tty_set_mode()
417 int uv_tty_get_winsize(uv_tty_t* tty, int* width, int* height) { in uv_tty_get_winsize()
437 uv_tty_t* handle; in uv_tty_post_raw_read()
444 handle = (uv_tty_t*) req->data; in uv_tty_post_raw_read()
455 static void uv__tty_queue_read_raw(uv_loop_t* loop, uv_tty_t* handle) { in uv__tty_queue_read_raw()
488 uv_tty_t* handle; in uv_tty_line_read_thread()
500 handle = (uv_tty_t*) req->data; in uv_tty_line_read_thread()
582 static void uv__tty_queue_read_line(uv_loop_t* loop, uv_tty_t* handle) { in uv__tty_queue_read_line()
[all …]
Dstream.c84 err = uv__tty_read_start((uv_tty_t*) handle, alloc_cb, read_cb); in uv__read_start()
102 err = uv__tty_read_stop((uv_tty_t*) handle); in uv_read_stop()
136 err = uv__tty_write(loop, req, (uv_tty_t*) handle, bufs, nbufs, cb); in uv_write()
183 return uv__tty_try_write((uv_tty_t*) stream, bufs, nbufs); in uv_try_write()
Dhandle.c88 uv__tty_close((uv_tty_t*) handle); in uv_close()
Dhandle-inl.h117 uv__tty_endgame(loop, (uv_tty_t*) handle); in uv__process_endgames()
Dreq-inl.h131 (uv_tty_t*) ((req)->handle_at), \
/third_party/libuv/src/win/
Dinternal.h160 int uv__tty_read_start(uv_tty_t* handle, uv_alloc_cb alloc_cb,
162 int uv__tty_read_stop(uv_tty_t* handle);
163 int uv__tty_write(uv_loop_t* loop, uv_write_t* req, uv_tty_t* handle,
165 int uv__tty_try_write(uv_tty_t* handle, const uv_buf_t bufs[],
167 void uv__tty_close(uv_tty_t* handle);
169 void uv__process_tty_read_req(uv_loop_t* loop, uv_tty_t* handle,
171 void uv__process_tty_write_req(uv_loop_t* loop, uv_tty_t* handle,
177 void uv__process_tty_accept_req(uv_loop_t* loop, uv_tty_t* handle,
183 void uv__process_tty_connect_req(uv_loop_t* loop, uv_tty_t* handle,
186 uv_tty_t* stream,
[all …]
Dtty.c74 static int uv__cancel_read_console(uv_tty_t* handle);
190 int uv_tty_init(uv_loop_t* loop, uv_tty_t* tty, uv_file fd, int unused) { in uv_tty_init()
350 int uv_tty_set_mode(uv_tty_t* tty, uv_tty_mode_t mode) { in uv_tty_set_mode()
417 int uv_tty_get_winsize(uv_tty_t* tty, int* width, int* height) { in uv_tty_get_winsize()
437 uv_tty_t* handle; in uv_tty_post_raw_read()
444 handle = (uv_tty_t*) req->data; in uv_tty_post_raw_read()
455 static void uv__tty_queue_read_raw(uv_loop_t* loop, uv_tty_t* handle) { in uv__tty_queue_read_raw()
488 uv_tty_t* handle; in uv_tty_line_read_thread()
500 handle = (uv_tty_t*) req->data; in uv_tty_line_read_thread()
582 static void uv__tty_queue_read_line(uv_loop_t* loop, uv_tty_t* handle) { in uv__tty_queue_read_line()
[all …]
Dstream.c84 err = uv__tty_read_start((uv_tty_t*) handle, alloc_cb, read_cb); in uv__read_start()
102 err = uv__tty_read_stop((uv_tty_t*) handle); in uv_read_stop()
136 err = uv__tty_write(loop, req, (uv_tty_t*) handle, bufs, nbufs, cb); in uv_write()
183 return uv__tty_try_write((uv_tty_t*) stream, bufs, nbufs); in uv_try_write()
Dhandle.c88 uv__tty_close((uv_tty_t*) handle); in uv_close()
Dhandle-inl.h117 uv__tty_endgame(loop, (uv_tty_t*) handle); in uv__process_endgames()
Dreq-inl.h131 (uv_tty_t*) ((req)->handle_at), \
/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()
105 static void set_cursor_position(uv_tty_t* tty_out, COORD pos) { in set_cursor_position()
114 static void get_cursor_position(uv_tty_t* tty_out, COORD* cursor_position) { in get_cursor_position()
122 static void set_cursor_to_home(uv_tty_t* tty_out) { in set_cursor_to_home()
127 static CONSOLE_CURSOR_INFO get_cursor_info(uv_tty_t* tty_out) { in get_cursor_info()
134 static void set_cursor_size(uv_tty_t* tty_out, DWORD size) { in set_cursor_size()
140 static DWORD get_cursor_size(uv_tty_t* tty_out) { in get_cursor_size()
144 static void set_cursor_visibility(uv_tty_t* tty_out, BOOL visible) { in set_cursor_visibility()
150 static BOOL get_cursor_visibility(uv_tty_t* tty_out) { in get_cursor_visibility()
154 static BOOL is_scrolling(uv_tty_t* tty_out, struct screen_info si) { in is_scrolling()
[all …]
Dtest-tty.c47 uv_tty_t tty_in, tty_out; in TEST_IMPL()
172 uv_tty_t tty_in; in TEST_IMPL()
225 uv_tty_t tty_out; in TEST_IMPL()
271 uv_tty_t tty_out; in TEST_IMPL()
317 uv_tty_t tty_in; in TEST_IMPL()
352 uv_tty_t tty; in TEST_IMPL()
353 uv_tty_t tty_ro; in TEST_IMPL()
354 uv_tty_t tty_wo; in TEST_IMPL()
443 uv_tty_t master_tty, slave_tty; in TEST_IMPL()
Dtest-osx-select.c55 uv_tty_t tty; in TEST_IMPL()
94 uv_tty_t tty; in TEST_IMPL()
Dtest-tty-duplicate-key.c137 uv_tty_t tty_in; in TEST_IMPL()
190 uv_tty_t tty_in; in TEST_IMPL()
256 uv_tty_t tty_in; in TEST_IMPL()
Dbenchmark-sizes.c33 fprintf(stderr, "uv_tty_t: %u bytes\n", (unsigned int) sizeof(uv_tty_t)); in BENCHMARK_IMPL()
Dtest-handle-fileno.c54 uv_tty_t tty; in TEST_IMPL()
/third_party/libuv/docs/src/
Dtty.rst4 :c:type:`uv_tty_t` --- TTY handle
9 :c:type:`uv_tty_t` is a 'subclass' of :c:type:`uv_stream_t`.
15 .. c:type:: uv_tty_t
67 .. c:function:: int uv_tty_init(uv_loop_t* loop, uv_tty_t* handle, uv_file fd, int unused)
98 .. c:function:: int uv_tty_set_mode(uv_tty_t* handle, uv_tty_mode_t mode)
114 .. c:function:: int uv_tty_get_winsize(uv_tty_t* handle, int* width, int* height)
Dsignal.rst27 For a writable :c:type:`uv_tty_t` handle libuv will only detect size changes
28 when the cursor is moved. When a readable :c:type:`uv_tty_t` handle is used,
/third_party/libuv/src/unix/
Dtty.c136 int uv_tty_init(uv_loop_t* loop, uv_tty_t* tty, int fd, int unused) { in uv_tty_init()
281 int uv_tty_set_mode(uv_tty_t* tty, uv_tty_mode_t mode) { in uv_tty_set_mode()
333 int uv_tty_get_winsize(uv_tty_t* tty, int* width, int* height) { in uv_tty_get_winsize()
/third_party/node/deps/uv/src/unix/
Dtty.c136 int uv_tty_init(uv_loop_t* loop, uv_tty_t* tty, int fd, int unused) { in uv_tty_init()
281 int uv_tty_set_mode(uv_tty_t* tty, uv_tty_mode_t mode) { in uv_tty_set_mode()
333 int uv_tty_get_winsize(uv_tty_t* tty, int* width, int* height) { in uv_tty_get_winsize()
/third_party/libuv/docs/code/tty/
Dmain.c7 uv_tty_t tty;
/third_party/libuv/docs/code/tty-gravity/
Dmain.c7 uv_tty_t tty;
/third_party/node/src/
Dtty_wrap.h58 uv_tty_t handle_;

12