Lines Matching refs:ASSERT_OK
65 ASSERT_OK(uv_fileno((uv_handle_t*)handle, &fd)); in read_cb()
66 ASSERT_OK(uv_idle_start(&idle, idle_cb)); in read_cb()
79 ASSERT_OK(status); in connect_cb()
87 ASSERT_OK(status); in connection_cb()
88 ASSERT_OK(uv_accept(handle, (uv_stream_t*) &peer_handle)); in connection_cb()
89 ASSERT_OK(uv_read_start((uv_stream_t*) &peer_handle, alloc_cb, read_cb)); in connection_cb()
92 ASSERT_OK(uv_fileno((uv_handle_t*) &client_handle, &fd)); in connection_cb()
94 ASSERT_OK(uv_stream_set_blocking((uv_stream_t*) &client_handle, 1)); in connection_cb()
109 ASSERT_OK(uv_stream_set_blocking((uv_stream_t*) &client_handle, 0)); in connection_cb()
117 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
120 ASSERT_OK(uv_tcp_init(loop, &server_handle)); in TEST_IMPL()
121 ASSERT_OK(uv_tcp_init(loop, &client_handle)); in TEST_IMPL()
122 ASSERT_OK(uv_tcp_init(loop, &peer_handle)); in TEST_IMPL()
123 ASSERT_OK(uv_idle_init(loop, &idle)); in TEST_IMPL()
124 ASSERT_OK(uv_tcp_bind(&server_handle, (const struct sockaddr*) &addr, 0)); in TEST_IMPL()
125 ASSERT_OK(uv_listen((uv_stream_t*) &server_handle, 1, connection_cb)); in TEST_IMPL()
128 ASSERT_OK(uv_tcp_nodelay(&client_handle, 1)); in TEST_IMPL()
130 ASSERT_OK(uv_tcp_connect(&connect_req, in TEST_IMPL()
134 ASSERT_OK(uv_run(loop, UV_RUN_DEFAULT)); in TEST_IMPL()