Home
last modified time | relevance | path

Searched refs:port_ (Results 1 – 25 of 31) sorted by relevance

12

/third_party/grpc/test/cpp/end2end/
Dgrpclb_end2end_test.cc589 addresses.emplace_back(AddressData{balancers_[i]->port_, ""}); in SetNextResolutionAllBalancers()
619 backend_ports.push_back(backends_[i]->port_); in GetBackendPorts()
670 : port_(grpc_pick_unused_port_or_die()), in ServerThread()
675 gpr_log(GPR_INFO, "starting %s server on port %d", type_.c_str(), port_); in Start()
696 server_address << server_host << ":" << port_; in Serve()
716 const int port_; member
907 ports.push_back(backends_[0]->port_); in TEST_F()
908 ports.push_back(backends_[0]->port_); in TEST_F()
926 SetNextResolution({AddressData{balancers_[0]->port_, "lb"}}); in TEST_F()
958 SetNextResolution({AddressData{balancers_[0]->port_, "woops"}}); in TEST_F()
[all …]
Dshutdown_test.cc66 port_ = grpc_pick_unused_port_or_die(); in SetUp()
67 server_ = SetUpServer(port_); in SetUp()
85 string target = "dns:localhost:" + to_string(port_); in ResetStub()
114 int port_; member in grpc::testing::ShutdownTest
Dproto_server_reflection_test.cc46 port_ = grpc_pick_unused_port_or_die(); in SetUp()
50 std::string server_address = "localhost:" + to_string(port_); in SetUp()
56 string target = "dns:localhost:" + to_string(port_); in ResetStub()
126 int port_; member in grpc::testing::ProtoServerReflectionTest
Dnonblocking_test.cc73 port_ = grpc_pick_unused_port_or_die(); in SetUp()
74 server_address_ << "localhost:" << port_; in SetUp()
105 grpc_recycle_unused_port(port_); in TearDown()
180 int port_; member in grpc::testing::__anon5b54cd990211::NonblockingTest
Dcfstream_test.cc128 port_ = grpc_pick_unused_port_or_die(); in StartServer()
129 server_.reset(new ServerData(port_, GetParam().credentials_type)); in StartServer()
141 server_address << server_host_ << ":" << port_; in BuildChannel()
246 int port_; member
254 : port_(port), creds_(creds) {} in ServerData()
257 gpr_log(GPR_INFO, "starting server on port %d", port_); in Start()
271 server_address << server_host << ":" << port_; in Serve()
294 int port_; member in grpc::testing::__anon8c859d9a0111::CFStreamTest
Dclient_lb_end2end_test.cc264 ports.push_back(servers_[i]->port_); in GetServersPorts()
334 int port_; member
342 port_ = port > 0 ? port : grpc_pick_unused_port_or_die(); in ServerData()
346 gpr_log(GPR_INFO, "starting server on port %d", port_); in Start()
361 server_address << server_host << ":" << port_; in Serve()
516 response_generator.SetNextResolution({servers_[0]->port_}); in TEST_F()
526 second_response_generator.SetNextResolution({servers_[0]->port_}); in TEST_F()
703 ports.emplace_back(servers_[0]->port_); in TEST_F()
722 ports.emplace_back(servers_[1]->port_); in TEST_F()
730 ports.emplace_back(servers_[2]->port_); in TEST_F()
[all …]
Dserver_builder_plugin_test.cc140 port_ = grpc_pick_unused_port_or_die(); in SetUp()
171 std::string server_address = "localhost:" + to_string(port_); in StartServer()
182 string target = "dns:localhost:" + to_string(port_); in ResetStub()
212 int port_; member in grpc::testing::ServerBuilderPluginTest
Dflaky_network_test.cc181 port_ = SERVER_PORT; in StartServer()
183 server_.reset(new ServerData(port_, GetParam().credentials_type)); in StartServer()
202 server_address << server_host_ << ":" << port_; in BuildChannel()
245 int port_; member
253 : port_(port), creds_(creds) {} in ServerData()
256 gpr_log(GPR_INFO, "starting server on port %d", port_); in Start()
270 server_address << server_host << ":" << port_; in Serve()
318 int port_; member in grpc::testing::__anon732cd2650111::FlakyNetworkTest
Dport_sharing_end2end_test.cc95 port_(grpc_pick_unused_port_or_die()) { in TestTcpServer()
97 server_address << "localhost:" << port_; in TestTcpServer()
107 grpc_recycle_unused_port(port_); in ~TestTcpServer()
114 test_tcp_server_start(&tcp_server_, port_); in Start()
197 int port_ = -1; member in grpc::testing::__anon7907f4340111::TestTcpServer
Draw_end2end_test.cc104 port_ = grpc_pick_unused_port_or_die(); in SetUp()
105 server_address_ << "localhost:" << port_; in SetUp()
116 grpc_recycle_unused_port(port_); in TearDown()
142 int port_; member in grpc::testing::__anon62a4e62e0111::RawEnd2EndTest
Dservice_config_end2end_test.cc218 ports.push_back(servers_[i]->port_); in GetServersPorts()
297 int port_; member
305 port_ = port > 0 ? port : grpc_pick_unused_port_or_die(); in ServerData()
309 gpr_log(GPR_INFO, "starting server on port %d", port_); in Start()
324 server_address << server_host << ":" << port_; in Serve()
/third_party/grpc/test/cpp/qps/
Dserver.h47 port_ = config.port(); in Server()
49 port_ = grpc_pick_unused_port_or_die(); in Server()
95 int port() const { return port_; } in port()
147 int port_;
/third_party/node/src/
Dnode_options.h19 : host_name_(host_name), port_(port) {} in HostPort()
27 void set_port(int port) { port_ = port; } in set_port()
33 CHECK_GE(port_, 0); in port()
34 return port_; in port()
39 if (other.port_ >= 0) port_ = other.port_; in Update()
44 int port_; variable
Dinspector_socket_server.cc213 int port() const { return port_; } in port()
230 int port_ = -1; member in node::inspector::ServerSocket
262 port_(port), in InspectorSocketServer()
397 const std::string port_string = std::to_string(port_); in Start()
421 host_.c_str(), port_, uv_strerror(err)); in Start()
462 return port_; in Port()
533 port_ = ntohs(port); in DetectPort()
558 server_socket->server_->Accept(server_socket->port_, tcp_socket); in SocketConnectedCallback()
Dinspector_socket_server.h95 int port_; variable
/third_party/grpc/test/cpp/microbenchmarks/
Dfullstack_fixtures.h116 : FullstackFixture(service, fixture_configuration, MakeAddress(&port_)) {} in FullstackFixture() argument
118 ~TCP() { grpc_recycle_unused_port(port_); } in ~TCP()
121 int port_;
135 : FullstackFixture(service, fixture_configuration, MakeAddress(&port_)) {} in FullstackFixture() argument
137 ~UDS() { grpc_recycle_unused_port(port_); } in ~UDS()
140 int port_;
/third_party/cef/libcef/browser/devtools/
Ddevtools_manager_delegate.cc45 : address_(address), port_(port) {} in TCPServerSocketFactory()
52 if (socket->ListenWithAddressAndPort(address_, port_, kBackLog) != net::OK) in CreateForHttpServer()
63 uint16_t port_; member in __anonab2bf8e20111::TCPServerSocketFactory
/third_party/grpc/test/cpp/client/
Dclient_channel_stress_test.cc157 addresses.emplace_back(AddressData{balancer_server.port_, ""}); in Run()
179 port_ = grpc_pick_unused_port_or_die(); in ServerThread()
180 gpr_log(GPR_INFO, "starting %s server on port %d", type_.c_str(), port_); in ServerThread()
194 server_address << server_host << ":" << port_; in Start()
210 int port_; member
297 backend_ports.push_back(backend_servers_.back().port_); in Start()
/third_party/grpc/test/core/tsi/alts/handshaker/
Dalts_concurrent_connectivity_test.cc340 port_ = grpc_pick_unused_port_or_die(); in FakeTcpServer()
342 address_ = absl::StrCat("[::]:", port_); in FakeTcpServer()
353 port_, errno); in FakeTcpServer()
363 addr.sin6_port = htons(port_); in FakeTcpServer()
366 gpr_log(GPR_ERROR, "Failed to bind socket to [::1]:%d : %d", port_, in FakeTcpServer()
372 port_, errno); in FakeTcpServer()
480 int port_; member in __anon49df8d7a0111::FakeTcpServer
/third_party/grpc/test/core/handshake/
Dserver_ssl_common.cc77 explicit ServerInfo(int p) : port_(p) {} in ServerInfo()
79 int port() const { return port_; } in port()
93 const int port_; member in __anon079453230111::ServerInfo
/third_party/cef/tests/cefclient/browser/
Dserver_test.cc54 port_ = port; in StartServer()
157 int port() const { return port_; } in port()
203 int port_; member in client::server_test::__anonfabd855f0111::ServerHandler
/third_party/googletest/googletest/src/
Dgtest-death-test.cc816 status = zx_handle_close(port_); in ~FuchsiaDeathTest()
831 zx_handle_t port_ = ZX_HANDLE_INVALID; member in testing::internal::FuchsiaDeathTest
881 port_, in Wait()
889 status_zx = zx_port_wait(port_, ZX_TIME_INFINITE, &packet); in Wait()
986 status = zx_port_create(0, &port_); in AssumeRole()
989 child_process_, port_, 0 /* key */, 0 /*options */); in AssumeRole()
/third_party/boringssl/src/third_party/googletest/src/
Dgtest-death-test.cc834 zx::port port_; member in testing::internal::FuchsiaDeathTest
886 port_, kProcessKey, ZX_PROCESS_TERMINATED, ZX_WAIT_ASYNC_ONCE); in Wait()
890 port_, kSocketKey, ZX_SOCKET_READABLE | ZX_SOCKET_PEER_CLOSED, in Wait()
898 status_zx = port_.wait(zx::time::infinite(), &packet); in Wait()
1034 status = zx::port::create(0, &port_); in AssumeRole()
1037 child_job, port_.get(), 0 /* key */, 0 /*options */); in AssumeRole()
/third_party/nghttp2/src/
Dshrpx_client_handler.h192 StringRef port_; variable
/third_party/cares/test/
Ddns-proto.h131 : DNSRR(name, ns_t_srv, ttl), prio_(prio), weight_(weight), port_(port), target_(target) {} in DNSSrvRR()
135 int port_; member

12