/third_party/libuv/test/ |
H A D | test-tty.c | 92 ASSERT_EQ(UV_UNKNOWN_HANDLE, uv_guess_handle(-1)); in TEST_IMPL() 94 ASSERT_EQ(UV_TTY, uv_guess_handle(ttyin_fd)); in TEST_IMPL() 95 ASSERT_EQ(UV_TTY, uv_guess_handle(ttyout_fd)); in TEST_IMPL() 185 ASSERT_EQ(UV_TTY, uv_guess_handle(ttyin_fd)); in TEST_IMPL() 243 ASSERT_EQ(UV_TTY, uv_guess_handle(ttyout_fd)); in TEST_IMPL() 289 ASSERT_EQ(UV_TTY, uv_guess_handle(ttyout_fd)); in TEST_IMPL() 327 ASSERT_EQ(UV_TTY, uv_guess_handle(ttyin_fd)); in TEST_IMPL()
|
H A D | test-tty-duplicate-key.c | 156 ASSERT_EQ(UV_TTY, uv_guess_handle(ttyin_fd)); in TEST_IMPL() 210 ASSERT_EQ(UV_TTY, uv_guess_handle(ttyin_fd)); in TEST_IMPL() 276 ASSERT_EQ(UV_TTY, uv_guess_handle(ttyin_fd)); in TEST_IMPL()
|
H A D | test-ping-pong.c | 321 ASSERT_EQ(uv_guess_handle((uv_file) fds[0]), UV_NAMED_PIPE); in socketpair_pinger_new() 322 ASSERT_EQ(uv_guess_handle((uv_file) fds[1]), UV_NAMED_PIPE); in socketpair_pinger_new() 353 ASSERT_EQ(uv_guess_handle(fds[0]), UV_NAMED_PIPE); in pipe2_pinger_new() 354 ASSERT_EQ(uv_guess_handle(fds[1]), UV_NAMED_PIPE); in pipe2_pinger_new()
|
H A D | test-tcp-rst.c | 52 uv_handle_type type = uv_guess_handle(fd); in read_cb() 76 * RST. Test checks that uv_guess_handle still works on a reset TCP handle.
|
H A D | test-stdio-over-pipes.c | 225 ASSERT_EQ(UV_NAMED_PIPE, uv_guess_handle(0)); in stdio_over_pipes_helper() 226 ASSERT_EQ(UV_NAMED_PIPE, uv_guess_handle(1)); in stdio_over_pipes_helper()
|
H A D | test-tty-escape-sequence-processing.c | 367 ASSERT_EQ(UV_TTY, uv_guess_handle(ttyout_fd)); in initialize_tty()
|
H A D | test-fs.c | 1581 ft = uv_guess_handle(fd); in TEST_IMPL()
|
/third_party/libuv/docs/code/tty/ |
H A D | main.c | 14 if (uv_guess_handle(1) == UV_TTY) { in main()
|
/third_party/node/deps/uvwasi/src/ |
H A D | uv_mapping.c | 263 guess = uv_guess_handle(fd); in uvwasi__get_filetype_by_fd() 277 uv_guess_handle(fd) == UV_UDP) { in uvwasi__get_filetype_by_fd()
|
H A D | wasi_rights.c | 34 if (uv_guess_handle(fd) == UV_TTY) { in uvwasi__get_rights()
|
/third_party/libuv/src/unix/ |
H A D | tty.c | 150 type = uv_guess_handle(fd); in uv_tty_init() 356 uv_handle_type uv_guess_handle(uv_file file) { in uv_guess_handle() function
|
H A D | pipe.c | 425 return uv_guess_handle(handle->accepted_fd); in uv_pipe_pending_type()
|
/third_party/node/deps/uv/src/unix/ |
H A D | tty.c | 150 type = uv_guess_handle(fd); in uv_tty_init() 351 uv_handle_type uv_guess_handle(uv_file file) { in uv_guess_handle() function
|
H A D | pipe.c | 340 return uv_guess_handle(handle->accepted_fd); in uv_pipe_pending_type()
|
/third_party/libuv/src/win/ |
H A D | handle.c | 31 uv_handle_type uv_guess_handle(uv_file file) { in uv_guess_handle() function
|
H A D | fs.c | 1872 file_type = uv_guess_handle(fd); in fs__fstat_handle()
|
/third_party/node/deps/uv/src/win/ |
H A D | handle.c | 31 uv_handle_type uv_guess_handle(uv_file file) { in uv_guess_handle() function
|
/third_party/node/src/ |
H A D | tty_wrap.cc | 85 bool rc = uv_guess_handle(fd) == UV_TTY; in IsTTY()
|
H A D | node.cc | 366 if (env->options()->force_repl || uv_guess_handle(STDIN_FILENO) == UV_TTY) { in StartExecution() 563 if (uv_guess_handle(fd) != UV_TTY) continue; in PlatformInit()
|
H A D | debug_utils.cc | 492 uv_guess_handle(_fileno(file)) != UV_TTY) { in FWrite()
|
H A D | node_util.cc | 310 uv_handle_type t = uv_guess_handle(fd); in GuessHandleType()
|
/third_party/libuv/include/ |
H A D | uv.h | 824 UV_EXTERN uv_handle_type uv_guess_handle(uv_file file);
|
/third_party/libuv/include/uv_ndk/ |
H A D | uv.h | 767 UV_EXTERN uv_handle_type uv_guess_handle(uv_file file);
|
/third_party/node/deps/uv/include/ |
H A D | uv.h | 780 UV_EXTERN uv_handle_type uv_guess_handle(uv_file file);
|