Lines Matching refs:ASSERT_OK

73   ASSERT_OK(uv_fileno((uv_handle_t*)handle, &fd));  in poll_cb()
82 ASSERT_OK(uv_poll_stop(&poll_req[0])); in poll_cb()
83 ASSERT_OK(uv_poll_start(&poll_req[0], in poll_cb()
94 ASSERT_OK(strncmp(buffer, "world", n)); in poll_cb()
100 ASSERT_OK(strncmp(buffer, "hello", n)); in poll_cb()
108 ASSERT_OK(strncmp(buffer, "world", n)); in poll_cb()
122 ASSERT_OK(strncmp(buffer, "foo", n)); in poll_cb()
138 ASSERT_OK(status); in connection_cb()
139 ASSERT_OK(uv_accept(handle, (uv_stream_t*) &peer_handle)); in connection_cb()
140 ASSERT_OK(uv_fileno((uv_handle_t*) &peer_handle, &server_fd)); in connection_cb()
141 ASSERT_OK(uv_poll_init_socket(uv_default_loop(), in connection_cb()
144 ASSERT_OK(uv_poll_init_socket(uv_default_loop(), in connection_cb()
147 ASSERT_OK(uv_poll_start(&poll_req[0], in connection_cb()
150 ASSERT_OK(uv_poll_start(&poll_req[1], in connection_cb()
163 ASSERT_OK(uv_idle_start(&idle, idle_cb)); in connection_cb()
172 ASSERT_OK(uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); in TEST_IMPL()
175 ASSERT_OK(uv_tcp_init(loop, &server_handle)); in TEST_IMPL()
176 ASSERT_OK(uv_tcp_init(loop, &client_handle)); in TEST_IMPL()
177 ASSERT_OK(uv_tcp_init(loop, &peer_handle)); in TEST_IMPL()
178 ASSERT_OK(uv_idle_init(loop, &idle)); in TEST_IMPL()
179 ASSERT_OK(uv_tcp_bind(&server_handle, (const struct sockaddr*) &addr, 0)); in TEST_IMPL()
180 ASSERT_OK(uv_listen((uv_stream_t*) &server_handle, 1, connection_cb)); in TEST_IMPL()
183 ASSERT_OK(uv_tcp_nodelay(&client_handle, 1)); in TEST_IMPL()
191 ASSERT_OK(r); in TEST_IMPL()
193 ASSERT_OK(uv_run(loop, UV_RUN_DEFAULT)); in TEST_IMPL()