Lines Matching refs:p
76 uv_pipe_t* p; in read_cb() local
81 p = (uv_pipe_t*) handle; in read_cb()
84 while (uv_pipe_pending_count(p) != 0) { in read_cb()
85 pending = uv_pipe_pending_type(p); in read_cb()
90 ASSERT_OK(uv_pipe_init(p->loop, inc, 0)); in read_cb()
97 ASSERT_OK(uv_read_stop((uv_stream_t*) p)); in read_cb()
98 uv_close((uv_handle_t*) p, close_cb); in read_cb()
108 uv_pipe_t p; in TEST_IMPL() local
122 ASSERT_OK(uv_pipe_init(uv_default_loop(), &p, 1)); in TEST_IMPL()
123 ASSERT_OK(uv_pipe_open(&p, fds[1])); in TEST_IMPL()
149 ASSERT_OK(uv_read_start((uv_stream_t*) &p, alloc_cb, read_cb)); in TEST_IMPL()