Lines Matching refs:ASSERT_OK
36 ASSERT_OK(status); in on_write_close_immediately()
43 ASSERT_OK(status); in on_write()
53 ASSERT_OK(uv_write(req, stream, &buf, 1, cb)); in do_write()
72 ASSERT_OK(uv_read_stop(stream)); in on_read1()
74 ASSERT_OK(uv_read_start(stream, on_alloc, on_read2)); in on_read1()
89 ASSERT_OK(status); in on_connection()
91 ASSERT_OK(uv_tcp_init(server->loop, &connection)); in on_connection()
93 ASSERT_OK(uv_accept(server, (uv_stream_t* )&connection)); in on_connection()
95 ASSERT_OK(uv_read_start((uv_stream_t*)&connection, on_alloc, on_read1)); in on_connection()
99 ASSERT_OK(status); in on_connect()
110 ASSERT_OK(uv_ip4_addr("0.0.0.0", TEST_PORT, &addr)); in TEST_IMPL()
112 ASSERT_OK(uv_tcp_init(loop, &server)); in TEST_IMPL()
114 ASSERT_OK(uv_tcp_bind(&server, (struct sockaddr*) & addr, 0)); in TEST_IMPL()
116 ASSERT_OK(uv_listen((uv_stream_t*)&server, 10, on_connection)); in TEST_IMPL()
122 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
124 ASSERT_OK(uv_tcp_init(loop, &client)); in TEST_IMPL()
126 ASSERT_OK(uv_tcp_connect(&connect_req, &client, in TEST_IMPL()
130 ASSERT_OK(uv_run(loop, UV_RUN_DEFAULT)); in TEST_IMPL()