Lines Matching refs:uv_tty_init
97 r = uv_tty_init(uv_default_loop(), &tty_in, ttyin_fd, 1); /* Readable. */ in TEST_IMPL()
102 r = uv_tty_init(uv_default_loop(), &tty_out, ttyout_fd, 0); /* Writable. */ in TEST_IMPL()
191 r = uv_tty_init(uv_default_loop(), &tty_in, ttyin_fd, 1); /* Readable. */ in TEST_IMPL()
249 r = uv_tty_init(uv_default_loop(), &tty_out, ttyout_fd, 0); /* Writable. */ in TEST_IMPL()
295 r = uv_tty_init(uv_default_loop(), &tty_out, ttyout_fd, 0); /* Writable. */ in TEST_IMPL()
333 r = uv_tty_init(uv_default_loop(), &tty_in, ttyin_fd, 1); /* Readable. */ in TEST_IMPL()
361 ASSERT(UV_EINVAL == uv_tty_init(&loop, &tty, fd, 1)); in TEST_IMPL()
364 ASSERT(UV_EINVAL == uv_tty_init(&loop, &tty, fd, 1)); in TEST_IMPL()
371 ASSERT(UV_EINVAL == uv_tty_init(&loop, &tty, fd, 1)); in TEST_IMPL()
378 ASSERT(UV_EINVAL == uv_tty_init(&loop, &tty, fd, 1)); in TEST_IMPL()
384 ASSERT(0 == uv_tty_init(&loop, &tty, fd, 1)); in TEST_IMPL()
395 ASSERT(0 == uv_tty_init(&loop, &tty_ro, fd, 1)); in TEST_IMPL()
406 ASSERT(0 == uv_tty_init(&loop, &tty_wo, fd, 0)); in TEST_IMPL()
451 ASSERT(0 == uv_tty_init(&loop, &slave_tty, slave_fd, 0)); in TEST_IMPL()
452 ASSERT(0 == uv_tty_init(&loop, &master_tty, master_fd, 0)); in TEST_IMPL()