Home
last modified time | relevance | path

Searched refs:server_context (Results 1 – 25 of 26) sorted by relevance

12

/external/grpc-grpc/include/grpcpp/impl/codegen/
Dmethod_handler_impl.h68 return func_(service_, param.server_context, &req, &rsp); in RunHandler()
72 GPR_CODEGEN_ASSERT(!param.server_context->sent_initial_metadata_); in RunHandler()
76 ops.SendInitialMetadata(param.server_context->initial_metadata_, in RunHandler()
77 param.server_context->initial_metadata_flags()); in RunHandler()
78 if (param.server_context->compression_level_set()) { in RunHandler()
79 ops.set_compression_level(param.server_context->compression_level()); in RunHandler()
84 ops.ServerSendStatus(param.server_context->trailing_metadata_, status); in RunHandler()
110 ServerReader<RequestType> reader(param.call, param.server_context); in RunHandler()
113 return func_(service_, param.server_context, &reader, &rsp); in RunHandler()
119 if (!param.server_context->sent_initial_metadata_) { in RunHandler()
[all …]
Drpc_service_method.h44 : call(c), server_context(context) { in HandlerParameter()
49 ServerContext* server_context; member
Dclient_context.h180 const ServerContext& server_context,
/external/python/cpython3/Lib/test/
Dtest_ssl.py316 server_context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
317 server_context.load_cert_chain(server_cert)
318 server_context.load_verify_locations(SIGNING_CA)
320 return client_context, server_context, hostname
2681 def server_params_test(client_context, server_context, indata=b"FOO\n", argument
2689 server = ThreadedEchoServer(context=server_context,
2755 server_context = ssl.SSLContext(server_protocol)
2756 server_context.options |= server_options
2762 and hasattr(server_context, 'minimum_version')
2764 and server_context.minimum_version > min_version):
[all …]
/external/tensorflow/tensorflow/c/experimental/
Drendezvous_internal.h71 void* (*init_function)(void* server_context);
76 void* server_context; member
88 void* server_context);
121 rendezvous_builder_->server_context); in Create()
124 rendezvous_builder_->server_context)); in Create()
Drendezvous.cc39 void* server_context) in CRemoteRendezvous() argument
83 void* (*init_function)(void* server_context), in TF_NewRemoteRendezvousBuilder() argument
Drendezvous.h47 void* (*init_function)(void* server_context),
Dnetwork_test.cc93 void* rendezvous_init_function(void* server_context) { in rendezvous_init_function() argument
/external/python/pyopenssl/examples/sni/
Dserver.py37 server_context = Context(TLSv1_METHOD)
38 server_context.set_tlsext_servername_callback(pick_certificate)
40 server_ssl = Connection(server_context, server)
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Deager_service_impl.cc227 ServerContext* server_context = nullptr; in UpdateContext() local
228 TF_RETURN_IF_ERROR(GetServerContext(request->context_id(), &server_context)); in UpdateContext()
229 core::ScopedUnref context_unref(server_context); in UpdateContext()
231 tensorflow::EagerContext* ctx = server_context->Context(); in UpdateContext()
322 ServerContext* server_context = in CreateMasterContext() local
325 contexts_.emplace(context_id, server_context); in CreateMasterContext()
548 uint64 context_id, ServerContext** server_context) { in GetServerContext() argument
552 *server_context = nullptr; in GetServerContext()
559 *server_context = iter->second; in GetServerContext()
560 (*server_context)->Ref(); in GetServerContext()
[all …]
/external/python/pyopenssl/tests/
Dtest_ssl.py1750 server_context = Context(TLSv1_METHOD)
1751 server_context.set_npn_advertise_callback(advertise)
1757 server_context.use_privatekey(
1759 server_context.use_certificate(
1763 server = Connection(server_context, None)
1793 server_context = Context(TLSv1_METHOD)
1794 server_context.set_npn_advertise_callback(advertise)
1800 server_context.use_privatekey(
1802 server_context.use_certificate(
1806 server = Connection(server_context, None)
[all …]
/external/python/cpython2/Lib/test/
Dtest_ssl.py1969 def server_params_test(client_context, server_context, indata=b"FOO\n", argument
1976 server = ThreadedEchoServer(context=server_context,
2039 server_context = ssl.SSLContext(server_protocol)
2040 server_context.options |= server_options
2048 for ctx in (client_context, server_context):
2053 stats = server_params_test(client_context, server_context,
2132 server_context = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
2133 server_context.load_cert_chain(SIGNED_CERTFILE)
2142 server = ThreadedEchoServer(context=server_context, chatty=True)
2152 server = ThreadedEchoServer(context=server_context, chatty=True)
[all …]
/external/python/cpython3/Lib/test/test_asyncio/
Dutils.py74 server_context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
75 server_context.load_cert_chain(ONLYCERT, ONLYKEY)
76 server_context.check_hostname = False
77 server_context.verify_mode = ssl.CERT_NONE
78 return server_context
Dtest_sslproto.py220 server_context = test_utils.simple_server_sslcontext()
229 sock.start_tls(server_context, server_side=True)
284 server_context = test_utils.simple_server_sslcontext()
290 sock.start_tls(server_context, server_side=True)
346 server_context = test_utils.simple_server_sslcontext()
356 sock.start_tls(server_context, server_side=True)
498 server_context = test_utils.simple_server_sslcontext()
549 tr, proto, server_context,
Dtest_events.py717 server_context = test_utils.simple_server_sslcontext()
720 self.test_connect_accepted_socket(server_context, client_context)
/external/grpc-grpc/test/cpp/end2end/
Dexception_test.cc42 Status Echo(ServerContext* server_context, const EchoRequest* request, in Echo() argument
Dchannelz_service_test.cc65 Status Echo(ServerContext* server_context, const EchoRequest* request, in Echo() argument
68 ClientContext::FromServerContext(*server_context); in Echo()
Dend2end_test.cc174 Status Echo(ServerContext* server_context, const EchoRequest* request, in Echo() argument
177 ClientContext::FromServerContext(*server_context); in Echo()
/external/grpc-grpc/test/core/tsi/alts/fake_handshaker/
Dfake_handshaker_server.cc62 ServerContext* server_context, in DoHandshake() argument
/external/grpc-grpc/test/cpp/cocoapods/generic/
Dgeneric.mm32 #include <grpcpp/server_context.h>
/external/grpc-grpc/
DgRPC-C++.podspec108 'include/grpcpp/server_context.h',
148 'include/grpcpp/impl/codegen/server_context.h',
210 'src/cpp/server/server_context.cc',
DBUILD139 "src/cpp/server/server_context.cc",
193 "include/grpc++/server_context.h",
240 "include/grpcpp/server_context.h",
1969 "include/grpc++/impl/codegen/server_context.h",
2002 "include/grpcpp/impl/codegen/server_context.h",
DCMakeLists.txt2809 src/cpp/server/server_context.cc
2887 include/grpc++/server_context.h
2932 include/grpcpp/server_context.h
3020 include/grpc++/impl/codegen/server_context.h
3053 include/grpcpp/impl/codegen/server_context.h
3170 src/cpp/server/server_context.cc
3460 include/grpc++/server_context.h
3505 include/grpcpp/server_context.h
3593 include/grpc++/impl/codegen/server_context.h
3626 include/grpcpp/impl/codegen/server_context.h
[all …]
DAndroid.bp1036 "src/cpp/server/server_context.cc",
/external/grpc-grpc/tools/doxygen/
DDoxyfile.c++.internal838 include/grpc++/impl/codegen/server_context.h \
864 include/grpc++/server_context.h \
972 include/grpcpp/impl/codegen/server_context.h \
998 include/grpcpp/server_context.h \
1221 src/cpp/server/server_context.cc \

12