Lines Matching refs:ASSERT_OK

55   ASSERT_OK(status);  in pipe_client_connect_cb()
59 ASSERT_OK(r); in pipe_client_connect_cb()
98 ASSERT_OK(status); in pipe_client_autobind_connect_cb()
102 ASSERT_OK(uv_pipe_getpeername(&pipe_client, buf, &len)); in pipe_client_autobind_connect_cb()
115 ASSERT_OK(status); in pipe_server_connection_cb()
137 ASSERT_OK(r); in TEST_IMPL()
151 ASSERT_OK(r); in TEST_IMPL()
161 ASSERT_OK(uv_pipe_getsockname(&pipe_server, buf, &len)); in TEST_IMPL()
165 ASSERT_OK(memcmp(buf, TEST_PIPENAME, len)); in TEST_IMPL()
172 ASSERT_OK(r); in TEST_IMPL()
175 ASSERT_OK(r); in TEST_IMPL()
191 ASSERT_OK(r); in TEST_IMPL()
200 ASSERT_OK(r); in TEST_IMPL()
203 ASSERT_OK(memcmp(buf, TEST_PIPENAME, len)); in TEST_IMPL()
206 ASSERT_OK(r); in TEST_IMPL()
224 ASSERT_OK(uv_pipe_init(uv_default_loop(), &pipe_server, 0)); in TEST_IMPL()
225 ASSERT_OK(uv_pipe_bind2(&pipe_server, name, sizeof(name) - 1, 0)); in TEST_IMPL()
226 ASSERT_OK(uv_pipe_getsockname(&pipe_server, buf, &buflen)); in TEST_IMPL()
229 ASSERT_OK(uv_listen((uv_stream_t*) &pipe_server, in TEST_IMPL()
232 ASSERT_OK(uv_pipe_init(uv_default_loop(), &pipe_client, 0)); in TEST_IMPL()
233 ASSERT_OK(uv_pipe_connect2(&connect_req, in TEST_IMPL()
239 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
246 ASSERT_OK(uv_pipe_init(uv_default_loop(), &pipe_server, 0)); in TEST_IMPL()
248 ASSERT_OK(uv_pipe_init(uv_default_loop(), &pipe_client, 0)); in TEST_IMPL()
257 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
272 ASSERT_OK(uv_pipe_init(uv_default_loop(), &pipe_server, 0)); in TEST_IMPL()
273 ASSERT_OK(uv_pipe_bind2(&pipe_server, "", 0, 0)); in TEST_IMPL()
274 ASSERT_OK(uv_pipe_getsockname(&pipe_server, buf, &buflen)); in TEST_IMPL()
276 ASSERT_OK(uv_listen((uv_stream_t*) &pipe_server, 0, in TEST_IMPL()
278 ASSERT_OK(uv_pipe_init(uv_default_loop(), &pipe_client, 0)); in TEST_IMPL()
279 ASSERT_OK(uv_pipe_connect2(&connect_req, &pipe_client, in TEST_IMPL()
284 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
291 ASSERT_OK(uv_pipe_init(uv_default_loop(), &pipe_server, 0)); in TEST_IMPL()
294 ASSERT_OK(uv_run(uv_default_loop(), UV_RUN_DEFAULT)); in TEST_IMPL()
314 ASSERT_OK(r); in TEST_IMPL()
318 ASSERT_OK(r); in TEST_IMPL()
322 ASSERT_OK(r); in TEST_IMPL()
325 ASSERT_OK(r); in TEST_IMPL()
329 ASSERT_OK(r); in TEST_IMPL()
330 ASSERT_OK(len1); /* It's an annonymous pipe. */ in TEST_IMPL()
335 ASSERT_OK(r); in TEST_IMPL()
340 ASSERT_OK(r); in TEST_IMPL()
341 ASSERT_OK(len2); /* It's an annonymous pipe. */ in TEST_IMPL()
344 ASSERT_OK(r); in TEST_IMPL()
347 ASSERT_OK(memcmp(buf1, buf2, len1)); in TEST_IMPL()