Home
last modified time | relevance | path

Searched refs:server_address (Results 1 – 25 of 82) sorted by relevance

1234

/external/grpc-grpc/test/cpp/util/
Dgrpc_tool_test.cc223 std::ostringstream server_address; in SetUpServer() local
225 server_address << "localhost:" << port; in SetUpServer()
239 builder.AddListeningPort(server_address.str(), creds); in SetUpServer()
242 return server_address.str(); in SetUpServer()
305 const grpc::string server_address = SetUpServer(); in TEST_F() local
306 const char* argv[] = {"grpc_cli", "ls", server_address.c_str()}; in TEST_F()
323 const grpc::string server_address = SetUpServer(); in TEST_F() local
324 const char* argv[] = {"grpc_cli", "ls", server_address.c_str(), in TEST_F()
353 const grpc::string server_address = SetUpServer(); in TEST_F() local
354 const char* argv[] = {"grpc_cli", "type", server_address.c_str(), in TEST_F()
[all …]
Dgrpc_tool.cc210 const grpc::string& server_address, const CliCredentials& cred) { in CreateCliChannel() argument
215 return grpc::CreateCustomChannel(server_address, cred.GetCredentials(), args); in CreateCliChannel()
334 grpc::string server_address(argv[0]); in ListServices() local
336 CreateCliChannel(server_address, cred); in ListServices()
432 grpc::string server_address(argv[0]); in PrintType() local
434 CreateCliChannel(server_address, cred); in PrintType()
473 grpc::string server_address(argv[0]); in CallMethod() local
481 CreateCliChannel(server_address, cred); in CallMethod()
736 fprintf(stderr, "connecting to %s\n", server_address.c_str()); in CallMethod()
805 grpc::string server_address(argv[0]); in ParseMessage() local
[all …]
/external/grpc-grpc/test/cpp/interop/
Dreconnect_interop_client.cc58 std::ostringstream server_address; in main() local
59 server_address << FLAGS_server_host << ':' << FLAGS_server_control_port; in main()
62 CreateTestChannel(server_address.str(), INSECURE))); in main()
72 server_address.str(""); in main()
73 server_address << FLAGS_server_host << ':' << FLAGS_server_retry_port; in main()
80 CreateTestChannel(server_address.str(), "foo.test.google.fr", TLS, false, in main()
Dreconnect_interop_server.cc163 std::ostringstream server_address; in RunServer() local
164 server_address << "0.0.0.0:" << FLAGS_control_port; in RunServer()
169 builder.AddListeningPort(server_address.str(), in RunServer()
172 gpr_log(GPR_INFO, "Server listening on %s", server_address.str().c_str()); in RunServer()
/external/python/setuptools/setuptools/tests/
Dserver.py22 def __init__(self, server_address=('', 0), argument
24 BaseHTTPServer.HTTPServer.__init__(self, server_address,
59 def __init__(self, server_address=('', 0), argument
61 BaseHTTPServer.HTTPServer.__init__(self, server_address,
/external/tensorflow/tensorflow/core/profiler/rpc/
Dprofiler_server.cc33 string server_address = absl::StrCat("0.0.0.0:", port); in StartProfilerServer() local
37 builder.AddListeningPort(server_address, in StartProfilerServer()
41 LOG(INFO) << "Profiling Server listening on " << server_address; in StartProfilerServer()
/external/honggfuzz/socketfuzzer/
Dhonggfuzz_socketclient.py19 server_address = "/tmp/honggfuzz_socket"
21 server_address += "." + str(self.pid)
22 print( 'connecting to %s' % server_address)
25 self.sock.connect(server_address)
49 server_address = ('localhost', self.targetPort)
52 sock.connect(server_address)
/external/grpc-grpc/examples/cpp/helloworld/
Dgreeter_server.cc50 std::string server_address("0.0.0.0:50051"); in RunServer() local
55 builder.AddListeningPort(server_address, grpc::InsecureServerCredentials()); in RunServer()
61 std::cout << "Server listening on " << server_address << std::endl; in RunServer()
Dgreeter_async_server.cc49 std::string server_address("0.0.0.0:50051"); in Run() local
53 builder.AddListeningPort(server_address, grpc::InsecureServerCredentials()); in Run()
62 std::cout << "Server listening on " << server_address << std::endl; in Run()
/external/webrtc/webrtc/p2p/base/
Dturnport.h49 const ProtocolAddress& server_address, in Create() argument
54 server_address, credentials, server_priority, origin); in Create()
65 const ProtocolAddress& server_address, in Create() argument
70 username, password, server_address, credentials, in Create()
76 const ProtocolAddress& server_address() const { return server_address_; } in server_address() function
162 const ProtocolAddress& server_address,
175 const ProtocolAddress& server_address,
/external/tensorflow/tensorflow/compiler/xla/rpc/
Dgrpc_service_main.cc59 string server_address( in RealMain() local
63 builder.AddListeningPort(server_address, ::grpc::InsecureServerCredentials()); in RealMain()
67 LOG(INFO) << "Server listening on " << server_address; in RealMain()
/external/python/cpython3/Lib/test/
Dtest_imaplib.py225 self.client = self.imap_class(*self.server.server_address)
252 *server.server_address)
261 *server.server_address)
436 self.imap_class(*server.server_address)
440 with self.imap_class(*server.server_address):
445 with self.imap_class(*server.server_address) as imap:
453 with self.imap_class(*server.server_address) as imap:
511 client = self.imap_class(*server.server_address,
520 client = self.imap_class("localhost", server.server_address[1],
548 self.assertEqual(server.server_address, server.socket.getsockname())
[all …]
/external/python/cpython2/Lib/
DSocketServer.py201 def __init__(self, server_address, RequestHandlerClass): argument
203 self.server_address = server_address
410 def __init__(self, server_address, RequestHandlerClass, bind_and_activate=True): argument
412 BaseServer.__init__(self, server_address, RequestHandlerClass)
431 self.socket.bind(self.server_address)
432 self.server_address = self.socket.getsockname()
/external/flatbuffers/grpc/samples/greeter/
Dserver.cpp65 std::string server_address("0.0.0.0:50051"); in RunServer() local
69 builder.AddListeningPort(server_address, grpc::InsecureServerCredentials()); in RunServer()
72 std::cerr << "Server listening on " << server_address << std::endl; in RunServer()
/external/python/cpython3/Lib/
Dsocketserver.py200 def __init__(self, server_address, RequestHandlerClass): argument
202 self.server_address = server_address
445 def __init__(self, server_address, RequestHandlerClass, bind_and_activate=True): argument
447 BaseServer.__init__(self, server_address, RequestHandlerClass)
466 self.socket.bind(self.server_address)
467 self.server_address = self.socket.getsockname()
/external/autotest/client/site_tests/policy_ProxySettings/
Dpolicy_ProxySettings.py44 def __init__(self, server_address, HandlerClass): argument
54 ThreadingTCPServer.__init__(self, server_address, HandlerClass)
75 def __init__(self, server_address): argument
82 self._server = ThreadedProxyServer(server_address, ProxyHandler)
/external/grpc-grpc/test/cpp/qps/
Dserver_sync.cc163 char* server_address = nullptr; in SynchronousServer() local
164 gpr_join_host_port(&server_address, "::", port_num); in SynchronousServer()
165 builder->AddListeningPort(server_address, in SynchronousServer()
167 gpr_free(server_address); in SynchronousServer()
Dqps_worker.cc278 char* server_address = nullptr; in QpsWorker() local
279 gpr_join_host_port(&server_address, "::", driver_port); in QpsWorker()
281 server_address, in QpsWorker()
283 gpr_free(server_address); in QpsWorker()
/external/autotest/client/site_tests/platform_AddPrinter/
Dfake_printer.py14 server_address = ('localhost', 9100)
15 self.sock.bind(server_address)
/external/python/cpython2/Lib/test/
Dtest_imaplib.py115 self.assertEqual(server.server_address, server.socket.getsockname())
152 client = self.imap_class(*server.server_address)
165 self.imap_class, *server.server_address)
176 self.imap_class, *server.server_address)
/external/grpc-grpc/test/core/tsi/alts/fake_handshaker/
Dfake_handshaker_server.cc251 std::ostringstream server_address; in RunServer() local
252 server_address << "[::1]:" << FLAGS_handshaker_port; in RunServer()
255 builder.AddListeningPort(server_address.str(), in RunServer()
260 server_address.str().c_str()); in RunServer()
/external/autotest/client/site_tests/network_ProxyResolver/
Dnetwork_ProxyResolver.py50 def __init__(self, server_address, HandlerClass): argument
57 ThreadingTCPServer.__init__(self, server_address, HandlerClass)
78 def __init__(self, server_address): argument
83 self._server = ThreadedHitServer(server_address, ProxyHandler)
/external/flatbuffers/grpc/tests/
Dgrpctest.cpp82 auto server_address = "0.0.0.0:50051"; in RunServer() local
86 builder.AddListeningPort(server_address, grpc::InsecureServerCredentials()); in RunServer()
95 std::cout << "Server listening on " << server_address << std::endl; in RunServer()
/external/python/pyopenssl/examples/
DSecureXMLRPCServer.py67 def __init__(self, server_address, RequestHandlerClass): argument
69 self, server_address, RequestHandlerClass
/external/autotest/client/cros/
Dhttpd.py165 def __init__(self, server_address, HandlerClass): argument
166 HTTPServer.__init__(self, server_address, HandlerClass)
247 def __init__(self, server_address, HandlerClass, cert_path, key_path): argument
254 BaseServer.__init__(self, server_address, HandlerClass)

1234