Lines Matching refs:ASSERT_OK
64 ASSERT_OK(status); in connect_cb()
70 ASSERT_OK(status); in write_cb()
79 ASSERT_OK(status); in connection_cb()
80 ASSERT_OK(uv_accept(handle, (uv_stream_t*) &peer_handle)); in connection_cb()
81 ASSERT_OK(uv_read_start((uv_stream_t*) &peer_handle, alloc_cb, read_cb)); in connection_cb()
82 ASSERT_OK(uv_write(&write_req, (uv_stream_t*) &peer_handle, in connection_cb()
91 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
94 ASSERT_OK(uv_timer_init(loop, &timer_handle)); in TEST_IMPL()
95 ASSERT_OK(uv_timer_start(&timer_handle, timer_cb, 1000, 0)); in TEST_IMPL()
96 ASSERT_OK(uv_check_init(loop, &check_handle)); in TEST_IMPL()
97 ASSERT_OK(uv_check_start(&check_handle, check_cb)); in TEST_IMPL()
98 ASSERT_OK(uv_tcp_init(loop, &server_handle)); in TEST_IMPL()
99 ASSERT_OK(uv_tcp_init(loop, &client_handle)); in TEST_IMPL()
100 ASSERT_OK(uv_tcp_init(loop, &peer_handle)); in TEST_IMPL()
101 ASSERT_OK(uv_tcp_bind(&server_handle, (const struct sockaddr*) &addr, 0)); in TEST_IMPL()
102 ASSERT_OK(uv_listen((uv_stream_t*) &server_handle, 1, connection_cb)); in TEST_IMPL()
103 ASSERT_OK(uv_tcp_connect(&connect_req, in TEST_IMPL()
107 ASSERT_OK(uv_run(loop, UV_RUN_DEFAULT)); in TEST_IMPL()