Lines Matching refs:fds
306 uv_os_sock_t fds[2]; in socketpair_pinger_new() local
318 ASSERT_OK(uv_socketpair(SOCK_STREAM, 0, fds, UV_NONBLOCK_PIPE, UV_NONBLOCK_PIPE)); in socketpair_pinger_new()
321 ASSERT_EQ(uv_guess_handle((uv_file) fds[0]), UV_NAMED_PIPE); in socketpair_pinger_new()
322 ASSERT_EQ(uv_guess_handle((uv_file) fds[1]), UV_NAMED_PIPE); in socketpair_pinger_new()
327 ASSERT_OK(uv_tcp_open(&pinger->stream.tcp, fds[1])); in socketpair_pinger_new()
333 ASSERT_OK(uv_tcp_open(ponger, fds[0])); in socketpair_pinger_new()
347 uv_file fds[2]; in pipe2_pinger_new() local
352 ASSERT_OK(uv_pipe(fds, UV_NONBLOCK_PIPE, UV_NONBLOCK_PIPE)); in pipe2_pinger_new()
353 ASSERT_EQ(uv_guess_handle(fds[0]), UV_NAMED_PIPE); in pipe2_pinger_new()
354 ASSERT_EQ(uv_guess_handle(fds[1]), UV_NAMED_PIPE); in pipe2_pinger_new()
359 ASSERT_OK(uv_pipe_open(ponger, fds[0])); in pipe2_pinger_new()
368 ASSERT_OK(uv_pipe_open(&pinger->stream.pipe, fds[1])); in pipe2_pinger_new()