Home
last modified time | relevance | path

Searched refs:client_options (Results 1 – 16 of 16) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/pjrt/distributed/
Dclient_server_test.cc49 DistributedRuntimeClient::Options client_options; in TEST() local
50 client_options.node_id = node_id; in TEST()
52 server->InProcessChannel(::grpc::ChannelArguments()), client_options); in TEST()
136 DistributedRuntimeClient::Options client_options; in TEST() local
137 client_options.node_id = 0; in TEST()
139 server->InProcessChannel(::grpc::ChannelArguments()), client_options); in TEST()
154 DistributedRuntimeClient::Options client_options; in TEST() local
155 client_options.node_id = 1; in TEST()
157 server->InProcessChannel(::grpc::ChannelArguments()), client_options); in TEST()
198 DistributedRuntimeClient::Options client_options; in TEST() local
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/alts/
Dgrpc_alts_credentials_client_options.cc56 auto client_options = in grpc_alts_credentials_client_options_add_target_service_account() local
59 node->next = client_options->target_account_list_head; in grpc_alts_credentials_client_options_add_target_service_account()
60 client_options->target_account_list_head = node; in grpc_alts_credentials_client_options_add_target_service_account()
77 auto client_options = static_cast<grpc_alts_credentials_client_options*>( in grpc_alts_credentials_client_options_create() local
79 client_options->base.vtable = &vtable; in grpc_alts_credentials_client_options_create()
80 return &client_options->base; in grpc_alts_credentials_client_options_create()
119 auto* client_options = in alts_client_options_destroy() local
121 target_service_account* node = client_options->target_account_list_head; in alts_client_options_destroy()
/external/grpc-grpc/src/core/lib/security/credentials/alts/
Dgrpc_alts_credentials_client_options.cc56 auto client_options = in grpc_alts_credentials_client_options_add_target_service_account() local
59 node->next = client_options->target_account_list_head; in grpc_alts_credentials_client_options_add_target_service_account()
60 client_options->target_account_list_head = node; in grpc_alts_credentials_client_options_add_target_service_account()
76 auto client_options = static_cast<grpc_alts_credentials_client_options*>( in grpc_alts_credentials_client_options_create() local
78 client_options->base.vtable = &vtable; in grpc_alts_credentials_client_options_create()
79 return &client_options->base; in grpc_alts_credentials_client_options_create()
118 auto* client_options = in alts_client_options_destroy() local
120 target_service_account* node = client_options->target_account_list_head; in alts_client_options_destroy()
/external/rust/crates/grpcio-sys/grpc/test/core/security/
Dgrpc_alts_credentials_options_test.cc45 auto client_options = in get_target_service_account_num() local
48 target_service_account* node = client_options->target_account_list_head; in get_target_service_account_num()
68 auto client_options = in test_client_options_api_success() local
70 GPR_ASSERT(strcmp(client_options->target_account_list_head->data, in test_client_options_api_success()
72 GPR_ASSERT(strcmp(client_options->target_account_list_head->next->data, in test_client_options_api_success()
/external/grpc-grpc/test/core/security/
Dgrpc_alts_credentials_options_test.cc45 auto client_options = in get_target_service_account_num() local
48 target_service_account* node = client_options->target_account_list_head; in get_target_service_account_num()
68 auto client_options = in test_client_options_api_success() local
70 GPR_ASSERT(strcmp(client_options->target_account_list_head->data, in test_client_options_api_success()
72 GPR_ASSERT(strcmp(client_options->target_account_list_head->next->data, in test_client_options_api_success()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_platform_info.cc59 xla::LocalClientOptions client_options; in BuildXlaCompilationCache() local
60 client_options.set_platform(platform.ValueOrDie()); in BuildXlaCompilationCache()
61 client_options.set_intra_op_parallelism_threads( in BuildXlaCompilationCache()
63 auto client = xla::ClientLibrary::GetOrCreateLocalClient(client_options); in BuildXlaCompilationCache()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dmultiple_devices_on_host_test.cc61 xla::LocalClientOptions client_options; in TestWithDeviceCount() local
62 client_options.set_platform(platform); in TestWithDeviceCount()
65 xla::ClientLibrary::GetOrCreateLocalClient(client_options)); in TestWithDeviceCount()
Dclient_library_test_base.cc45 const LocalClientOptions& client_options) { in GetOrCreateLocalClientOrDie() argument
47 ClientLibrary::GetOrCreateLocalClient(client_options); in GetOrCreateLocalClientOrDie()
62 se::Platform* platform, const LocalClientOptions& client_options) in ClientLibraryTestBase() argument
63 : client_(GetOrCreateLocalClientOrDie(client_options)), in ClientLibraryTestBase()
65 CHECK_EQ(platform, client_options.platform()); in ClientLibraryTestBase()
Dcpu_gpu_fusion_test.cc835 xla::LocalClientOptions client_options; in BM_ParallelFusion() local
836 client_options.set_platform(platform); in BM_ParallelFusion()
837 client_options.set_intra_op_parallelism_threads(intra_op_parallelism_threads); in BM_ParallelFusion()
839 ClientLibrary::GetOrCreateLocalClient(client_options).ValueOrDie(); in BM_ParallelFusion()
Ddot_operation_test.cc1818 xla::LocalClientOptions client_options; in DOT_ReorderContracting() local
1819 client_options.set_platform(platform); in DOT_ReorderContracting()
1821 ClientLibrary::GetOrCreateLocalClient(client_options).ValueOrDie(); in DOT_ReorderContracting()
Dclient_library_test_base.h72 const LocalClientOptions& client_options);
/external/grpc-grpc/test/core/tsi/
Dssl_transport_security_test.cc109 tsi_ssl_client_handshaker_options client_options; in ssl_test_setup_handshakers() local
110 memset(&client_options, 0, sizeof(client_options)); in ssl_test_setup_handshakers()
111 client_options.pem_root_certs = key_cert_lib->root_cert; in ssl_test_setup_handshakers()
113 client_options.pem_key_cert_pair = in ssl_test_setup_handshakers()
121 client_options.alpn_protocols = alpn_lib->client_alpn_protocols; in ssl_test_setup_handshakers()
122 client_options.num_alpn_protocols = alpn_lib->num_client_alpn_protocols; in ssl_test_setup_handshakers()
124 client_options.root_store = in ssl_test_setup_handshakers()
127 client_options.session_cache = ssl_fixture->session_cache; in ssl_test_setup_handshakers()
130 &client_options, &ssl_fixture->client_handshaker_factory) == in ssl_test_setup_handshakers()
/external/python/cpython2/Lib/test/
Dtest_ssl.py2016 certsreqs=None, server_options=0, client_options=0): argument
2038 client_context.options |= client_options
2298 client_options=ssl.OP_NO_SSLv2)
2300 client_options=ssl.OP_NO_SSLv3)
2302 client_options=ssl.OP_NO_TLSv1)
2357 client_options=ssl.OP_NO_SSLv3)
2362 False, client_options=ssl.OP_NO_SSLv2)
2377 client_options=ssl.OP_NO_TLSv1)
2393 client_options=ssl.OP_NO_TLSv1_1)
2410 client_options=ssl.OP_NO_SSLv3|ssl.OP_NO_SSLv2,)
[all …]
/external/python/cpython3/Lib/test/
Dtest_ssl.py2737 certsreqs=None, server_options=0, client_options=0): argument
2759 client_context.options |= client_options
3220 client_options=ssl.OP_NO_SSLv2)
3222 client_options=ssl.OP_NO_SSLv3)
3224 client_options=ssl.OP_NO_TLSv1)
3279 client_options=ssl.OP_NO_SSLv3)
3284 False, client_options=ssl.OP_NO_SSLv2)
3299 client_options=ssl.OP_NO_TLSv1)
3313 client_options=ssl.OP_NO_TLSv1_1)
3327 client_options=ssl.OP_NO_SSLv3|ssl.OP_NO_SSLv2,)
[all …]
/external/grpc-grpc/tools/run_tests/
Drun_interop_tests.py871 client_options = interop_only_options + common_options
872 cmdline = bash_cmdline(language.client_cmd(client_options))
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/
Drun_interop_tests.py1010 client_options = interop_only_options + common_options
1011 cmdline = bash_cmdline(language.client_cmd(client_options))