Lines Matching refs:ASSERT_OK
49 ASSERT_OK(n); in thread_main()
55 ASSERT_OK(status); in write_cb()
80 ASSERT_OK(uv_pipe_init(uv_default_loop(), &pipe_handle, 0)); in TEST_IMPL()
81 ASSERT_OK(uv_pipe(fd, 0, 0)); in TEST_IMPL()
82 ASSERT_OK(uv_pipe_open(&pipe_handle, fd[1])); in TEST_IMPL()
83 ASSERT_OK(uv_stream_set_blocking((uv_stream_t*) &pipe_handle, 1)); in TEST_IMPL()
87 ASSERT_OK(uv_barrier_init(&ctx.barrier, 2)); in TEST_IMPL()
88 ASSERT_OK(uv_thread_create(&thread, thread_main, &ctx)); in TEST_IMPL()
103 ASSERT_OK(uv_write(&write_req, in TEST_IMPL()
109 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_ONCE)); in TEST_IMPL()
118 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
120 ASSERT_OK(uv_thread_join(&thread)); in TEST_IMPL()
122 ASSERT_OK(_close(fd[0])); /* fd[1] is closed by uv_close(). */ in TEST_IMPL()
124 ASSERT_OK(close(fd[0])); /* fd[1] is closed by uv_close(). */ in TEST_IMPL()