Lines Matching refs:ASSERT_OK
48 ASSERT_OK(uv_stream_get_write_queue_size((uv_stream_t*) &client)); in write_cb()
65 ASSERT_OK(status); in connect_cb()
71 ASSERT_OK(r); in connect_cb()
80 ASSERT_OK(r); in connect_cb()
96 ASSERT_OK(status); in connection_cb()
99 ASSERT_OK(uv_tcp_init(tcp->loop, &incoming)); in connection_cb()
100 ASSERT_OK(uv_accept(tcp, (uv_stream_t*) &incoming)); in connection_cb()
101 ASSERT_OK(uv_read_start((uv_stream_t*) &incoming, alloc_cb, read_cb)); in connection_cb()
107 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in start_server()
109 ASSERT_OK(uv_tcp_init(uv_default_loop(), &server)); in start_server()
110 ASSERT_OK(uv_tcp_bind(&server, (struct sockaddr*) &addr, 0)); in start_server()
111 ASSERT_OK(uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
125 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
127 ASSERT_OK(uv_tcp_init(uv_default_loop(), &client)); in TEST_IMPL()
128 ASSERT_OK(uv_tcp_connect(&connect_req, in TEST_IMPL()
133 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()