Home
last modified time | relevance | path

Searched refs:channel_args_ (Results 1 – 13 of 13) sorted by relevance

/external/grpc-grpc/test/cpp/common/
Dchannel_arguments_test.cc95 SetChannelArgs(channel_args_, &args); in VerifyDefaultChannelArgs()
104 SetChannelArgs(channel_args_, &args); in HasArg()
125 ChannelArguments channel_args_; member in grpc::testing::ChannelArgumentsTest
142 channel_args_.SetInt(arg_key0, arg0.value.integer); in TEST_F()
148 channel_args_.SetInt(arg_key1, arg1.value.integer); in TEST_F()
171 channel_args_.SetString(key, val); in TEST_F()
179 channel_args_.SetString(key, val); in TEST_F()
197 channel_args_.SetPointer(key, arg0.value.pointer.p); in TEST_F()
209 channel_args_.SetSocketMutator(mutator0); in TEST_F()
212 channel_args_.SetSocketMutator(mutator1); in TEST_F()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/sockaddr/
Dsockaddr_resolver.cc57 const grpc_channel_args* channel_args_ = nullptr; member in grpc_core::__anon87966a480111::SockaddrResolver
64 channel_args_(grpc_channel_args_copy(args.args)) {} in SockaddrResolver()
67 grpc_channel_args_destroy(channel_args_); in ~SockaddrResolver()
74 result.args = channel_args_; in StartLocked()
75 channel_args_ = nullptr; in StartLocked()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Ddns_resolver_ares.cc93 grpc_channel_args* channel_args_; member in grpc_core::__anon027d0f620111::AresDnsResolver
145 channel_args_ = grpc_channel_args_copy(args.args); in AresDnsResolver()
148 channel_args_, GRPC_ARG_SERVICE_CONFIG_DISABLE_RESOLUTION); in AresDnsResolver()
151 arg = grpc_channel_args_find(channel_args_, in AresDnsResolver()
156 arg = grpc_channel_args_find(channel_args_, GRPC_ARG_DNS_ENABLE_SRV_QUERIES); in AresDnsResolver()
164 grpc_channel_args_find(channel_args_, GRPC_ARG_DNS_ARES_QUERY_TIMEOUT_MS); in AresDnsResolver()
173 grpc_channel_args_destroy(channel_args_); in ~AresDnsResolver()
348 channel_args_, service_config_string, &result.service_config_error); in OnResolvedLocked()
356 result.args = grpc_channel_args_copy_and_add(channel_args_, new_args.data(), in OnResolvedLocked()
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/sockaddr/
Dsockaddr_resolver.cc63 grpc_channel_args* channel_args_ = nullptr; member in grpc_core::__anon9200b2740111::SockaddrResolver
76 channel_args_(grpc_channel_args_copy(args.args)) {} in SockaddrResolver()
80 grpc_channel_args_destroy(channel_args_); in ~SockaddrResolver()
104 *target_result_ = grpc_channel_args_copy_and_add(channel_args_, &arg, 1); in MaybeFinishNextLocked()
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Ddns_resolver_ares.cc88 grpc_channel_args* channel_args_; member in grpc_core::__anon509a128e0111::AresDnsResolver
143 channel_args_ = grpc_channel_args_copy(args.args); in AresDnsResolver()
145 channel_args_, GRPC_ARG_SERVICE_CONFIG_DISABLE_RESOLUTION); in AresDnsResolver()
148 arg = grpc_channel_args_find(channel_args_, in AresDnsResolver()
170 grpc_channel_args_destroy(channel_args_); in ~AresDnsResolver()
335 r->channel_args_, args_to_remove, num_args_to_remove, new_args, in OnResolvedLocked()
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/fake/
Dfake_resolver.cc69 grpc_channel_args* channel_args_ = nullptr; member in grpc_core::FakeResolver
85 channel_args_ = grpc_channel_args_copy(args.args); in FakeResolver()
94 grpc_channel_args_destroy(channel_args_); in ~FakeResolver()
118 : grpc_channel_args_union(next_results_, channel_args_); in MaybeFinishNextLocked()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/dns/native/
Ddns_resolver.cc79 grpc_channel_args* channel_args_ = nullptr; member in grpc_core::__anonfd2439120111::NativeDnsResolver
111 channel_args_ = grpc_channel_args_copy(args.args); in NativeDnsResolver()
123 grpc_channel_args_destroy(channel_args_); in ~NativeDnsResolver()
188 result.args = grpc_channel_args_copy(channel_args_); in OnResolvedLocked()
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/native/
Ddns_resolver.cc78 grpc_channel_args* channel_args_ = nullptr; member in grpc_core::__anon1edb90be0111::NativeDnsResolver
120 channel_args_ = grpc_channel_args_copy(args.args); in NativeDnsResolver()
142 grpc_channel_args_destroy(channel_args_); in ~NativeDnsResolver()
210 result = grpc_channel_args_copy_and_add(r->channel_args_, &new_arg, 1); in OnResolvedLocked()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/fake/
Dfake_resolver.cc71 grpc_channel_args* channel_args_ = nullptr; member in grpc_core::FakeResolver
100 channel_args_ = grpc_channel_args_copy_and_remove( in FakeResolver()
107 FakeResolver::~FakeResolver() { grpc_channel_args_destroy(channel_args_); } in ~FakeResolver()
157 result.args = grpc_channel_args_union(next_result_.args, channel_args_); in MaybeSendResultLocked()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/surface/
Dserver.h95 const grpc_channel_args* channel_args() const { return channel_args_; } in channel_args()
359 grpc_channel_args* const channel_args_; variable
Dserver.cc535 : channel_args_(grpc_channel_args_copy(args)), in Server()
540 grpc_channel_args_destroy(channel_args_); in ~Server()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/
Dsecurity_connector.h143 std::unique_ptr<grpc_channel_args> channel_args_; variable
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/
Dclient_channel.cc329 const grpc_channel_args* channel_args_; member in grpc_core::__anon5e2240680111::ChannelData
1932 channel_args_ = grpc_channel_args_copy_and_remove( in ChannelData()
1936 channel_args_, GRPC_ARG_KEEPALIVE_TIME_MS, in ChannelData()
1952 grpc_channel_args_destroy(channel_args_); in ~ChannelData()
2317 channel_args_, args_to_add.data(), args_to_add.size()); in UpdateServiceConfigInDataPlaneLocked()
2357 target_uri_.get(), channel_args_, interested_parties_, work_serializer_, in CreateResolverLocked()