/third_party/grpc/test/cpp/end2end/ |
D | grpclb_end2end_test.cc | 589 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 …]
|
D | shutdown_test.cc | 66 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
|
D | proto_server_reflection_test.cc | 46 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
|
D | nonblocking_test.cc | 73 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
|
D | cfstream_test.cc | 128 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
|
D | client_lb_end2end_test.cc | 264 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 …]
|
D | server_builder_plugin_test.cc | 140 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
|
D | flaky_network_test.cc | 181 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
|
D | port_sharing_end2end_test.cc | 95 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
|
D | raw_end2end_test.cc | 104 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
|
D | service_config_end2end_test.cc | 218 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/ |
D | server.h | 47 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/ |
D | node_options.h | 19 : 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
|
D | inspector_socket_server.cc | 213 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()
|
D | inspector_socket_server.h | 95 int port_; variable
|
/third_party/grpc/test/cpp/microbenchmarks/ |
D | fullstack_fixtures.h | 116 : 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/ |
D | devtools_manager_delegate.cc | 45 : 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/ |
D | client_channel_stress_test.cc | 157 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/ |
D | alts_concurrent_connectivity_test.cc | 340 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/ |
D | server_ssl_common.cc | 77 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/ |
D | server_test.cc | 54 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/ |
D | gtest-death-test.cc | 816 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/ |
D | gtest-death-test.cc | 834 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/ |
D | shrpx_client_handler.h | 192 StringRef port_; variable
|
/third_party/cares/test/ |
D | dns-proto.h | 131 : DNSRR(name, ns_t_srv, ttl), prio_(prio), weight_(weight), port_(port), target_(target) {} in DNSSrvRR() 135 int port_; member
|