Lines Matching refs:ASSERT_OK
50 ASSERT_OK(status); in write_cb()
71 ASSERT_OK(status); in connect_cb()
78 ASSERT_OK(uv_write(&write_reqs[i], outgoing, &buf, 1, write_cb)); in connect_cb()
93 ASSERT_OK(uv_read_stop(stream)); in read_cb()
109 ASSERT_OK(uv_tcp_init(loop, &tcp_check)); in read_cb()
110 ASSERT_OK(uv_tcp_connect(&tcp_check_req, in read_cb()
114 ASSERT_OK(uv_read_start((uv_stream_t*) &tcp_check, alloc_cb, read_cb)); in read_cb()
129 ASSERT_OK(uv_tcp_init(server->loop, incoming)); in connection_cb()
130 ASSERT_OK(uv_accept(server, (uv_stream_t*) incoming)); in connection_cb()
138 ASSERT_OK(uv_read_start((uv_stream_t*) incoming, alloc_cb, read_cb)); in connection_cb()
165 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
167 ASSERT_OK(uv_tcp_init(loop, &tcp_server)); in TEST_IMPL()
168 ASSERT_OK(uv_tcp_bind(&tcp_server, (const struct sockaddr*) &addr, 0)); in TEST_IMPL()
169 ASSERT_OK(uv_listen((uv_stream_t*) &tcp_server, in TEST_IMPL()
176 ASSERT_OK(uv_tcp_init(loop, client)); in TEST_IMPL()
177 ASSERT_OK(uv_tcp_connect(&connect_reqs[i], in TEST_IMPL()