Lines Matching refs:uv_stream_t
99 ASSERT(uv_is_readable((uv_stream_t*) &tty_in)); in TEST_IMPL()
100 ASSERT(!uv_is_writable((uv_stream_t*) &tty_in)); in TEST_IMPL()
104 ASSERT(!uv_is_readable((uv_stream_t*) &tty_out)); in TEST_IMPL()
105 ASSERT(uv_is_writable((uv_stream_t*) &tty_out)); in TEST_IMPL()
155 static void tty_raw_read(uv_stream_t* tty_in, ssize_t nread, const uv_buf_t* buf) { in tty_raw_read()
189 ASSERT(uv_is_readable((uv_stream_t*) &tty_in)); in TEST_IMPL()
190 ASSERT(!uv_is_writable((uv_stream_t*) &tty_in)); in TEST_IMPL()
192 r = uv_read_start((uv_stream_t*)&tty_in, tty_raw_alloc, tty_raw_read); in TEST_IMPL()
247 ASSERT(!uv_is_readable((uv_stream_t*) &tty_out)); in TEST_IMPL()
248 ASSERT(uv_is_writable((uv_stream_t*) &tty_out)); in TEST_IMPL()
253 r = uv_try_write((uv_stream_t*) &tty_out, bufs, 1); in TEST_IMPL()
299 r = uv_try_write((uv_stream_t*) &tty_out, bufs, 1); in TEST_IMPL()
333 r = uv_read_start((uv_stream_t*)&tty_in, tty_raw_alloc, tty_raw_read); in TEST_IMPL()
336 r = uv_read_stop((uv_stream_t*) &tty_in); in TEST_IMPL()
382 ASSERT(uv_is_readable((uv_stream_t*) &tty)); in TEST_IMPL()
383 ASSERT(uv_is_writable((uv_stream_t*) &tty)); in TEST_IMPL()
385 ASSERT(!uv_is_readable((uv_stream_t*) &tty)); in TEST_IMPL()
386 ASSERT(!uv_is_writable((uv_stream_t*) &tty)); in TEST_IMPL()
393 ASSERT(uv_is_readable((uv_stream_t*) &tty_ro)); in TEST_IMPL()
394 ASSERT(!uv_is_writable((uv_stream_t*) &tty_ro)); in TEST_IMPL()
396 ASSERT(!uv_is_readable((uv_stream_t*) &tty_ro)); in TEST_IMPL()
397 ASSERT(!uv_is_writable((uv_stream_t*) &tty_ro)); in TEST_IMPL()
404 ASSERT(!uv_is_readable((uv_stream_t*) &tty_wo)); in TEST_IMPL()
405 ASSERT(uv_is_writable((uv_stream_t*) &tty_wo)); in TEST_IMPL()
407 ASSERT(!uv_is_readable((uv_stream_t*) &tty_wo)); in TEST_IMPL()
408 ASSERT(!uv_is_writable((uv_stream_t*) &tty_wo)); in TEST_IMPL()
447 ASSERT(uv_is_readable((uv_stream_t*) &slave_tty)); in TEST_IMPL()
448 ASSERT(uv_is_writable((uv_stream_t*) &slave_tty)); in TEST_IMPL()
449 ASSERT(uv_is_readable((uv_stream_t*) &master_tty)); in TEST_IMPL()
450 ASSERT(uv_is_writable((uv_stream_t*) &master_tty)); in TEST_IMPL()