Lines Matching refs:ASSERT_OK
49 ASSERT_OK(r); in startup()
69 ASSERT_OK(r); in create_tcp_socket()
84 ASSERT_OK(r); in close_socket()
106 ASSERT_OK(status); in shutdown_cb()
118 ASSERT_OK(memcmp("PING", buf->base, nread)); in read_cb()
169 ASSERT_OK(r); in write1_cb()
180 ASSERT_OK(r); in timer_cb()
191 ASSERT_OK(status); in connect_cb()
197 ASSERT_OK(r); in connect_cb()
201 ASSERT_OK(r); in connect_cb()
205 ASSERT_OK(r); in connect_cb()
215 ASSERT_OK(status); in connect1_cb()
221 ASSERT_OK(r); in connect1_cb()
224 ASSERT_OK(r); in connect1_cb()
228 ASSERT_OK(r); in connect1_cb()
232 ASSERT_OK(r); in connect1_cb()
242 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
248 ASSERT_OK(r); in TEST_IMPL()
251 ASSERT_OK(r); in TEST_IMPL()
257 ASSERT_OK(r); in TEST_IMPL()
262 ASSERT_OK(r); in TEST_IMPL()
295 ASSERT_OK(r); in TEST_IMPL()
298 ASSERT_OK(r); in TEST_IMPL()
320 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
322 ASSERT_OK(uv_tcp_init(uv_default_loop(), &server)); in TEST_IMPL()
324 ASSERT_OK(bind(sock, (struct sockaddr*) &addr, sizeof(addr))); in TEST_IMPL()
326 ASSERT_OK(uv_tcp_open(&server, sock)); in TEST_IMPL()
328 ASSERT_OK(uv_listen((uv_stream_t*) &server, 128, NULL)); in TEST_IMPL()
341 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
346 ASSERT_OK(connect(sock, (struct sockaddr*) &addr, sizeof(addr))); in TEST_IMPL()
348 ASSERT_OK(uv_tcp_init(uv_default_loop(), &client)); in TEST_IMPL()
350 ASSERT_OK(uv_tcp_open(&client, sock)); in TEST_IMPL()
352 ASSERT_OK(uv_write(&write_req, in TEST_IMPL()
358 ASSERT_OK(uv_shutdown(&shutdown_req, in TEST_IMPL()
362 ASSERT_OK(uv_read_start((uv_stream_t*) &client, alloc_cb, read_cb)); in TEST_IMPL()
380 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
386 ASSERT_OK(r); in TEST_IMPL()
389 ASSERT_OK(r); in TEST_IMPL()
395 ASSERT_OK(r); in TEST_IMPL()