Lines Matching refs:ASSERT_OK
45 ASSERT_OK(status); in write_cb()
57 ASSERT_OK(buf->len); in conn_read_cb()
68 ASSERT_OK(status); in connect_cb()
73 ASSERT_OK(r); in connect_cb()
78 ASSERT_OK(status); in connection_cb()
80 ASSERT_OK(uv_tcp_init(tcp->loop, &incoming)); in connection_cb()
81 ASSERT_OK(uv_accept(tcp, (uv_stream_t*) &incoming)); in connection_cb()
82 ASSERT_OK(uv_read_start((uv_stream_t*) &incoming, in connection_cb()
93 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in start_server()
95 ASSERT_OK(uv_tcp_init(uv_default_loop(), &server)); in start_server()
96 ASSERT_OK(uv_tcp_bind(&server, (struct sockaddr*) &addr, 0)); in start_server()
97 ASSERT_OK(uv_listen((uv_stream_t*) &server, 128, connection_cb)); in start_server()
107 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
109 ASSERT_OK(uv_tcp_init(uv_default_loop(), &client)); in TEST_IMPL()
110 ASSERT_OK(uv_tcp_connect(&connect_req, in TEST_IMPL()
115 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()