Home
last modified time | relevance | path

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

/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.py249 server_context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
250 server_context.load_cert_chain(server_cert)
251 server_context.load_verify_locations(SIGNING_CA)
253 return client_context, server_context, hostname
2573 def server_params_test(client_context, server_context, indata=b"FOO\n", argument
2581 server = ThreadedEchoServer(context=server_context,
2647 server_context = ssl.SSLContext(server_protocol)
2648 server_context.options |= server_options
2654 and hasattr(server_context, 'minimum_version')
2656 and server_context.minimum_version > min_version):
[all …]
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Deager_service_impl.cc152 ServerContext* server_context, in ExecuteOp() argument
159 if (is_function && !server_context->Context()->FindFunctionByName(name)) { in ExecuteOp()
168 op.reset(new tensorflow::EagerOperation(server_context->Context(), name, in ExecuteOp()
175 TF_RETURN_IF_ERROR(server_context->GetTensorHandle( in ExecuteOp()
187 TF_RETURN_IF_ERROR(GetNumRetvals(server_context->Context(), operation.name(), in ExecuteOp()
193 server_context->AddOperationOutputs(retvals, operation.id()); in ExecuteOp()
305 uint64 context_id, ServerContext** server_context) { in GetServerContext() argument
309 *server_context = nullptr; in GetServerContext()
316 *server_context = iter->second; in GetServerContext()
317 (*server_context)->Ref(); in GetServerContext()
[all …]
Deager_service_impl.h198 Status ExecuteOp(const Operation& operation, ServerContext* server_context,
/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.py73 server_context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
74 server_context.load_cert_chain(ONLYCERT, ONLYKEY)
75 server_context.check_hostname = False
76 server_context.verify_mode = ssl.CERT_NONE
77 return server_context
Dtest_sslproto.py216 server_context = test_utils.simple_server_sslcontext()
225 sock.start_tls(server_context, server_side=True)
276 server_context = test_utils.simple_server_sslcontext()
286 sock.start_tls(server_context, server_side=True)
428 server_context = test_utils.simple_server_sslcontext()
479 tr, proto, server_context,
Dtest_events.py850 server_context = test_utils.simple_server_sslcontext()
853 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.txt2798 src/cpp/server/server_context.cc
2876 include/grpc++/server_context.h
2921 include/grpcpp/server_context.h
3009 include/grpc++/impl/codegen/server_context.h
3042 include/grpcpp/impl/codegen/server_context.h
3159 src/cpp/server/server_context.cc
3449 include/grpc++/server_context.h
3494 include/grpcpp/server_context.h
3582 include/grpc++/impl/codegen/server_context.h
3615 include/grpcpp/impl/codegen/server_context.h
[all …]
Dgrpc.gyp1405 'src/cpp/server/server_context.cc',
1552 '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 \