Lines Matching refs:client_fd
214 unique_fd server_fd, client_fd; in TEST() local
215 EXPECT_FALSE(socket_spec_connect(&client_fd, "tcp:localhost:7777", &port, &serial, &error)); in TEST()
218 EXPECT_TRUE(socket_spec_connect(&client_fd, "tcp:localhost:7777", &port, &serial, &error)); in TEST()
219 EXPECT_NE(client_fd.get(), -1); in TEST()
225 unique_fd client_fd; in TEST() local
226 EXPECT_FALSE(socket_spec_connect(&client_fd, "tcp:", &port, &serial, &error)); in TEST()
227 EXPECT_FALSE(socket_spec_connect(&client_fd, "acceptfd:", &port, &serial, &error)); in TEST()
228 EXPECT_FALSE(socket_spec_connect(&client_fd, "vsock:", &port, &serial, &error)); in TEST()
229 EXPECT_FALSE(socket_spec_connect(&client_fd, "vsock:x", &port, &serial, &error)); in TEST()
230 EXPECT_FALSE(socket_spec_connect(&client_fd, "vsock:5", &port, &serial, &error)); in TEST()
231 EXPECT_FALSE(socket_spec_connect(&client_fd, "vsock:5:x", &port, &serial, &error)); in TEST()
232 EXPECT_FALSE(socket_spec_connect(&client_fd, "sneakernet:", &port, &serial, &error)); in TEST()
238 unique_fd server_fd, client_fd; in TEST() local
246 EXPECT_FALSE(socket_spec_connect(&client_fd, sock_addr, &port, &serial, &error)); in TEST()
250 EXPECT_TRUE(socket_spec_connect(&client_fd, sock_addr, &port, &serial, &error)); in TEST()
251 EXPECT_NE(client_fd.get(), -1); in TEST()