Home
last modified time | relevance | path

Searched refs:client_context (Results 1 – 25 of 30) sorted by relevance

12

/external/python/cpython3/Lib/test/
Dtest_ssl.py317 client_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
318 client_context.load_verify_locations(SIGNING_CA)
324 return client_context, server_context, hostname
2686 def server_params_test(client_context, server_context, indata=b"FOO\n", argument
2698 with client_context.wrap_socket(socket.socket(),
2758 client_context = ssl.SSLContext(client_protocol)
2759 client_context.options |= client_options
2777 if client_context.protocol == ssl.PROTOCOL_TLS:
2778 client_context.set_ciphers("ALL")
2780 for ctx in (client_context, server_context):
[all …]
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_sslproto.py222 client_context = test_utils.simple_client_sslcontext()
266 new_tr = await self.loop.start_tls(tr, proto, client_context)
280 client_context = weakref.ref(client_context)
281 self.assertIsNone(client_context())
287 client_context = test_utils.simple_client_sslcontext()
328 ssl=client_context)
343 client_context = weakref.ref(client_context)
344 self.assertIsNone(client_context())
350 client_context = test_utils.simple_client_sslcontext()
415 new_tr = await self.loop.start_tls(tr, proto, client_context)
[all …]
Dutils.py82 client_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
83 client_context.check_hostname = False
85 client_context.verify_mode = ssl.CERT_NONE
86 return client_context
Dtest_events.py723 client_context = test_utils.simple_client_sslcontext()
725 self.test_connect_accepted_socket(server_context, client_context)
/external/autotest/server/cros/network/
Dattenuator_controller.py149 def set_signal_level(self, client_context, requested_sig_level, argument
163 starting_sig_level = client_context.wifi_signal_level
179 client_context.reassociate(timeout_seconds=1)
180 current_sig_level = client_context.wifi_signal_level
/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_compilation_cache_rpc_lookup.cc151 ::grpc::ClientContext client_context; in RemoteLookupLocked()
152 client_context.set_deadline(TimeToGprTimespec(::absl::Now() + kProtoTimeout)); in RemoteLookupLocked()
153 client_context.set_compression_algorithm(GRPC_COMPRESS_GZIP); in RemoteLookupLocked()
157 FromGrpcStatus(stub_->GetTpuProgram(&client_context, request, &response)); in RemoteLookupLocked()
/external/python/cpython2/Lib/test/
Dtest_ssl.py1969 def server_params_test(client_context, server_context, indata=b"FOO\n", argument
1980 with closing(client_context.wrap_socket(socket.socket(),
2037 client_context = ssl.SSLContext(client_protocol)
2038 client_context.options |= client_options
2045 if client_context.protocol == ssl.PROTOCOL_SSLv23:
2046 client_context.set_ciphers("ALL")
2048 for ctx in (client_context, server_context):
2053 stats = server_params_test(client_context, server_context,
2943 client_context = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
2944 client_context.load_verify_locations(CERTFILE)
[all …]
/external/python/pyopenssl/tests/
Dtest_ssl.py1034 client_context = Context(SSLv23_METHOD)
1036 self._handshake_test(server_context, client_context)
1863 client_context = Context(SSLv23_METHOD)
1864 client_context.set_alpn_protos([b"http/1.1", b"spdy/2"])
1881 client = Connection(client_context, None)
1903 client_context = Context(SSLv23_METHOD)
1921 client = Connection(client_context, None)
1943 client_context = Context(SSLv23_METHOD)
1944 client_context.set_alpn_protos([b"http/1.1", b"spdy/2"])
1961 client = Connection(client_context, None)
[all …]
/external/grpc-grpc/doc/cpp/
Dpending_api_cleanups.md17 `include/grpc++/impl/codegen/client_context.h` (commit `9477724`)
/external/mdnsresponder/mDNSShared/
Ddnssd_ipc.h179 …client_context_t client_context; // context passed from client, returned by server in correspondin…
Duds_daemon.c379 reply->mhdr->client_context = request->hdr.client_context; in create_reply()
903 reply->mhdr->client_context = re->regrec_client_context; in regrecord_callback()
977 …"%3d: Cancel %08X %08X", request->sd, request->hdr.client_context.u32[1], request->hdr.client_cont… in handle_cancel_request()
981 (*req)->hdr.client_context.u32[0] == request->hdr.client_context.u32[0] && in handle_cancel_request()
982 (*req)->hdr.client_context.u32[1] == request->hdr.client_context.u32[1]) in handle_cancel_request()
1016 re->regrec_client_context = request->hdr.client_context; in handle_regrecord_request()
1086 req->hdr.client_context.u32[0] == request->hdr.client_context.u32[0] && in LocateSubordinateRequest()
1087 req->hdr.client_context.u32[1] == request->hdr.client_context.u32[1]) return(req); in LocateSubordinateRequest()
3719 …%d created %08X %08X", req->sd, req->errsd, req->hdr.client_context.u32[1], req->hdr.client_contex… in read_msg()
3864 req->sd, req->errsd, req->hdr.client_context.u32[1], req->hdr.client_context.u32[0], err); in request_callback()
Ddnssd_clientstub.c366 hdr->client_context = ref->uid; in create_hdr()
1577 DNSRecordRef rref = cbh->ipc_hdr.client_context.context; in ConnectionResponse()
1587 …e (op && (op->uid.u32[0] != cbh->ipc_hdr.client_context.u32[0] || op->uid.u32[1] != cbh->ipc_hdr.c… in ConnectionResponse()
1689 hdr->client_context.context = rref; in DNSServiceRegisterRecord()
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/impl/codegen/
Dclient_interceptor.h95 grpc::ClientContext* client_context() { return ctx_; } in client_context() function
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/impl/codegen/
Dclient_interceptor.h95 grpc::ClientContext* client_context() { return ctx_; } in client_context() function
/external/grpc-grpc/test/cpp/end2end/
Dchannelz_service_test.cc67 std::unique_ptr<ClientContext> client_context = in Echo() local
71 return stubs_[idx]->Echo(client_context.get(), *request, response); in Echo()
Dend2end_test.cc176 std::unique_ptr<ClientContext> client_context = in Echo() local
178 return stub_->Echo(client_context.get(), *request, response); in Echo()
/external/grpc-grpc/test/cpp/cocoapods/generic/
Dgeneric.mm26 #include <grpcpp/client_context.h>
/external/grpc-grpc/
DgRPC-C++.podspec79 'include/grpcpp/client_context.h',
134 'include/grpcpp/impl/codegen/client_context.h',
186 'src/cpp/client/client_context.cc',
DBUILD115 "src/cpp/client/client_context.cc",
162 "include/grpc++/client_context.h",
209 "include/grpcpp/client_context.h",
1955 "include/grpc++/impl/codegen/client_context.h",
1988 "include/grpcpp/impl/codegen/client_context.h",
DCMakeLists.txt2785 src/cpp/client/client_context.cc
2858 include/grpc++/client_context.h
2903 include/grpcpp/client_context.h
3006 include/grpc++/impl/codegen/client_context.h
3039 include/grpcpp/impl/codegen/client_context.h
3146 src/cpp/client/client_context.cc
3431 include/grpc++/client_context.h
3476 include/grpcpp/client_context.h
3579 include/grpc++/impl/codegen/client_context.h
3612 include/grpcpp/impl/codegen/client_context.h
[all …]
/external/rust/crates/grpcio-sys/grpc/
DBUILD.gn1250 "include/grpc++/client_context.h",
1268 "include/grpc++/impl/codegen/client_context.h",
1327 "include/grpcpp/client_context.h",
1350 "include/grpcpp/impl/codegen/client_context.h",
1434 "src/cpp/client/client_context.cc",
DBUILD133 "src/cpp/client/client_context.cc",
182 "include/grpc++/client_context.h",
227 "include/grpcpp/client_context.h",
2317 "include/grpc++/impl/codegen/client_context.h",
2352 "include/grpcpp/impl/codegen/client_context.h",
DgRPC-C++.podspec81 'include/grpcpp/client_context.h',
104 'include/grpcpp/impl/codegen/client_context.h',
717 'src/cpp/client/client_context.cc',
DCMakeLists.txt2682 src/cpp/client/client_context.cc
2774 include/grpc++/client_context.h
2792 include/grpc++/impl/codegen/client_context.h
2851 include/grpcpp/client_context.h
2874 include/grpcpp/impl/codegen/client_context.h
3362 src/cpp/client/client_context.cc
3444 include/grpc++/client_context.h
3462 include/grpc++/impl/codegen/client_context.h
3521 include/grpcpp/client_context.h
3544 include/grpcpp/impl/codegen/client_context.h
/external/grpc-grpc/tools/doxygen/
DDoxyfile.c++.internal802 include/grpc++/client_context.h \
820 include/grpc++/impl/codegen/client_context.h \
931 include/grpcpp/client_context.h \
952 include/grpcpp/impl/codegen/client_context.h \
1180 src/cpp/client/client_context.cc \

12