Lines Matching refs:uv_tty_init
97 r = uv_tty_init(loop, &tty_in, ttyin_fd, 1); /* Readable. */ in TEST_IMPL()
102 r = uv_tty_init(loop, &tty_out, ttyout_fd, 0); /* Writable. */ in TEST_IMPL()
187 r = uv_tty_init(loop, &tty_in, ttyin_fd, 1); /* Readable. */ in TEST_IMPL()
245 r = uv_tty_init(loop, &tty_out, ttyout_fd, 0); /* Writable. */ in TEST_IMPL()
291 r = uv_tty_init(loop, &tty_out, ttyout_fd, 0); /* Writable. */ in TEST_IMPL()
329 r = uv_tty_init(uv_default_loop(), &tty_in, ttyin_fd, 1); /* Readable. */ in TEST_IMPL()
357 ASSERT_EQ(UV_EINVAL, uv_tty_init(&loop, &tty, fd, 1)); in TEST_IMPL()
360 ASSERT_EQ(UV_EINVAL, uv_tty_init(&loop, &tty, fd, 1)); in TEST_IMPL()
367 ASSERT_EQ(UV_EINVAL, uv_tty_init(&loop, &tty, fd, 1)); in TEST_IMPL()
374 ASSERT_EQ(UV_EINVAL, uv_tty_init(&loop, &tty, fd, 1)); in TEST_IMPL()
380 ASSERT_OK(uv_tty_init(&loop, &tty, fd, 1)); in TEST_IMPL()
391 ASSERT_OK(uv_tty_init(&loop, &tty_ro, fd, 1)); in TEST_IMPL()
402 ASSERT_OK(uv_tty_init(&loop, &tty_wo, fd, 0)); in TEST_IMPL()
445 ASSERT_OK(uv_tty_init(&loop, &slave_tty, slave_fd, 0)); in TEST_IMPL()
446 ASSERT_OK(uv_tty_init(&loop, &master_tty, master_fd, 0)); in TEST_IMPL()