Home
last modified time | relevance | path

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

12

/libuv/src/win/
H A 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,
174 uv_tty_t* stream,
176 void uv__tty_endgame(uv_loop_t* loop, uv_tty_t* handle);
H A Dtty.c69 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 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()
H A Dhandle.c88 uv__tty_close((uv_tty_t*) handle); in uv_close()
H A Dhandle-inl.h117 uv__tty_endgame(loop, (uv_tty_t*) handle); in uv__process_endgames()
H A Dreq-inl.h131 (uv_tty_t*) ((req)->handle_at), \
H A Dprocess-stdio.c314 stream_handle = ((uv_tty_t*) stream)->handle; in uv__stdio_create()
H A Dcore.c701 fd_out = ((uv_tty_t*) handle)->handle; in uv_fileno()
/libuv/test/
H A Dtest-tty.c47 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 Dtest-tty-escape-sequence-processing.c378 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 Dtest-osx-select.c55 uv_tty_t tty; in TEST_IMPL()
94 uv_tty_t tty; in TEST_IMPL()
H A Dbenchmark-sizes.c33 fprintf(stderr, "uv_tty_t: %u bytes\n", (unsigned int) sizeof(uv_tty_t)); in BENCHMARK_IMPL()
H A 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()
H A Dtest-handle-fileno.c54 uv_tty_t tty; in TEST_IMPL()
H A Dtest-ipc-send-recv.c40 uv_tty_t tty;
/libuv/docs/src/
H A 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)
H A 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,
H A Dstream.rst9 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 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()
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 Dinternal.h300 void uv__tty_close(uv_tty_t* handle);
/libuv/docs/code/tty/
H A Dmain.c7 uv_tty_t tty;
/libuv/docs/code/tty-gravity/
H A Dmain.c7 uv_tty_t tty;
/libuv/include/
H A Duv.h226 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 Dutilities.rst374 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 Dbasics.rst155 typedef struct uv_tty_s uv_tty_t;

Completed in 55 milliseconds

12