Lines Matching refs:ASSERT_OK
54 ASSERT_OK(close(duped_fd)); in read_data2()
69 ASSERT_OK(uv_pipe_open(&p2, newpipefds[0])); in idle_cb()
70 ASSERT_OK(uv_read_start((uv_stream_t*) &p2, alloc_buffer, read_data2)); in idle_cb()
72 ASSERT_OK(uv_idle_stop(handle)); in idle_cb()
73 ASSERT_OK(close(newpipefds[1])); in idle_cb()
83 ASSERT_OK(uv_idle_start(&idle_handle, idle_cb)); in read_data()
91 ASSERT_OK(uv_pipe_init(loop, &p1, 0)); in TEST_IMPL()
92 ASSERT_OK(uv_pipe_init(loop, &p2, 0)); in TEST_IMPL()
93 ASSERT_OK(uv_idle_init(loop, &idle_handle)); in TEST_IMPL()
94 ASSERT_OK(pipe(pipefds)); in TEST_IMPL()
95 ASSERT_OK(pipe(newpipefds)); in TEST_IMPL()
97 ASSERT_OK(uv_pipe_open(&p1, pipefds[0])); in TEST_IMPL()
101 ASSERT_OK(uv_read_start((uv_stream_t*) &p1, alloc_buffer, read_data)); in TEST_IMPL()
102 ASSERT_OK(close(pipefds[1])); /* Close write end, generate POLLHUP. */ in TEST_IMPL()
105 ASSERT_OK(uv_run(loop, UV_RUN_DEFAULT)); in TEST_IMPL()