/libuv/src/win/ |
H A D | internal.h | 158 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, 174 uv_tty_t* stream, 176 void uv__tty_endgame(uv_loop_t* loop, uv_tty_t* handle);
|
H A D | tty.c | 69 static int uv__cancel_read_console(uv_tty_t* handle); 432 uv_tty_t* handle; in uv_tty_post_raw_read() 439 handle = (uv_tty_t*) req->data; in uv_tty_post_raw_read() 483 uv_tty_t* handle; in uv_tty_line_read_thread() 497 handle = (uv_tty_t*) req->data; in uv_tty_line_read_thread() 1043 int uv__tty_read_stop(uv_tty_t* handle) { in uv__tty_read_stop() 1578 static int uv__tty_restore_state(uv_tty_t* handle, in uv__tty_restore_state() 1663 static int uv__tty_write_bufs(uv_tty_t* handle, 2174 uv_tty_t* handle, 2202 int uv__tty_try_write(uv_tty_t* handle, [all …]
|
H A D | stream.c | 84 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()
|
H A D | handle.c | 88 uv__tty_close((uv_tty_t*) handle); in uv_close()
|
H A D | handle-inl.h | 117 uv__tty_endgame(loop, (uv_tty_t*) handle); in uv__process_endgames()
|
H A D | req-inl.h | 131 (uv_tty_t*) ((req)->handle_at), \
|
H A D | process-stdio.c | 314 stream_handle = ((uv_tty_t*) stream)->handle; in uv__stdio_create()
|
H A D | core.c | 701 fd_out = ((uv_tty_t*) handle)->handle; in uv_fileno()
|
/libuv/test/ |
H A D | test-tty.c | 47 uv_tty_t tty_in, tty_out; in TEST_IMPL() 168 uv_tty_t tty_in; in TEST_IMPL() 221 uv_tty_t tty_out; in TEST_IMPL() 267 uv_tty_t tty_out; in TEST_IMPL() 313 uv_tty_t tty_in; in TEST_IMPL() 348 uv_tty_t tty; in TEST_IMPL() 349 uv_tty_t tty_ro; in TEST_IMPL() 350 uv_tty_t tty_wo; in TEST_IMPL() 437 uv_tty_t master_tty, slave_tty; in TEST_IMPL()
|
H A D | test-tty-escape-sequence-processing.c | 378 uv_tty_t tty_out; in TEST_IMPL() 429 uv_tty_t tty_out; in TEST_IMPL() 480 uv_tty_t tty_out; in TEST_IMPL() 541 uv_tty_t tty_out; in TEST_IMPL() 602 uv_tty_t tty_out; in TEST_IMPL() 653 uv_tty_t tty_out; in TEST_IMPL() 704 uv_tty_t tty_out; in TEST_IMPL() 750 uv_tty_t tty_out; in TEST_IMPL() 806 uv_tty_t tty_out; in TEST_IMPL() 841 uv_tty_t tty_out; in TEST_IMPL() [all …]
|
H A D | test-osx-select.c | 55 uv_tty_t tty; in TEST_IMPL() 94 uv_tty_t tty; in TEST_IMPL()
|
H A D | benchmark-sizes.c | 33 fprintf(stderr, "uv_tty_t: %u bytes\n", (unsigned int) sizeof(uv_tty_t)); in BENCHMARK_IMPL()
|
H A D | test-tty-duplicate-key.c | 137 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()
|
H A D | test-handle-fileno.c | 54 uv_tty_t tty; in TEST_IMPL()
|
H A D | test-ipc-send-recv.c | 40 uv_tty_t tty;
|
/libuv/docs/src/ |
H A D | tty.rst | 4 :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)
|
H A D | signal.rst | 27 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,
|
H A D | stream.rst | 9 in the form of :c:type:`uv_tcp_t`, :c:type:`uv_pipe_t` and :c:type:`uv_tty_t`.
|
/libuv/src/unix/ |
H A D | tty.c | 136 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() 338 void uv__tty_close(uv_tty_t* handle) { in uv__tty_close() 369 int uv_tty_get_winsize(uv_tty_t* tty, int* width, int* height) { in uv_tty_get_winsize()
|
H A D | internal.h | 300 void uv__tty_close(uv_tty_t* handle);
|
/libuv/docs/code/tty/ |
H A D | main.c | 7 uv_tty_t tty;
|
/libuv/docs/code/tty-gravity/ |
H A D | main.c | 7 uv_tty_t tty;
|
/libuv/include/ |
H A D | uv.h | 226 typedef struct uv_tty_s uv_tty_t; typedef 821 UV_EXTERN int uv_tty_init(uv_loop_t*, uv_tty_t*, uv_file fd, int readable); 822 UV_EXTERN int uv_tty_set_mode(uv_tty_t*, uv_tty_mode_t mode); 824 UV_EXTERN int uv_tty_get_winsize(uv_tty_t*, int* width, int* height); 831 inline int uv_tty_set_mode(uv_tty_t* handle, int mode) { in uv_tty_set_mode()
|
/libuv/docs/src/guide/ |
H A D | utilities.rst | 374 libuv provides the ``uv_tty_t`` abstraction (a stream) and related functions to 381 The first thing to do is to initialize a ``uv_tty_t`` with the file descriptor 384 int uv_tty_init(uv_loop_t*, uv_tty_t*, uv_file fd, int unused)
|
H A D | basics.rst | 155 typedef struct uv_tty_s uv_tty_t;
|