Lines Matching refs:server
77 uv_pipe_t server; in TEST_IMPL() local
80 r = uv_pipe_init(uv_default_loop(), &server, 0); in TEST_IMPL()
83 r = uv_pipe_bind(&server, BAD_PIPENAME); in TEST_IMPL()
86 uv_close((uv_handle_t*)&server, close_cb); in TEST_IMPL()
98 uv_pipe_t server; in TEST_IMPL() local
101 r = uv_pipe_init(uv_default_loop(), &server, 0); in TEST_IMPL()
103 r = uv_pipe_bind(&server, TEST_PIPENAME); in TEST_IMPL()
105 r = uv_pipe_bind(&server, TEST_PIPENAME_2); in TEST_IMPL()
108 uv_close((uv_handle_t*)&server, close_cb); in TEST_IMPL()
123 uv_pipe_t server; in TEST_IMPL() local
126 r = uv_pipe_init(uv_default_loop(), &server, 0); in TEST_IMPL()
129 r = uv_listen((uv_stream_t*)&server, SOMAXCONN, NULL); in TEST_IMPL()
132 uv_close((uv_handle_t*)&server, close_cb); in TEST_IMPL()
143 uv_pipe_t server; in TEST_IMPL() local
145 ASSERT_OK(uv_pipe_init(uv_default_loop(), &server, 0)); in TEST_IMPL()
146 uv_close((uv_handle_t*) &server, NULL); in TEST_IMPL()
148 ASSERT_EQ(uv_pipe_bind(&server, TEST_PIPENAME), UV_EINVAL); in TEST_IMPL()
150 ASSERT_EQ(uv_listen((uv_stream_t*) &server, SOMAXCONN, NULL), UV_EINVAL); in TEST_IMPL()