Home
last modified time | relevance | path

Searched refs:OrphanablePtr (Results 1 – 25 of 86) sorted by relevance

1234

/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/sockaddr/
Dsockaddr_resolver.cc116 OrphanablePtr<Resolver> CreateSockaddrResolver( in CreateSockaddrResolver()
122 return OrphanablePtr<Resolver>(nullptr); in CreateSockaddrResolver()
147 return OrphanablePtr<Resolver>(nullptr); in CreateSockaddrResolver()
150 return OrphanablePtr<Resolver>(New<SockaddrResolver>(args, addresses)); in CreateSockaddrResolver()
155 OrphanablePtr<Resolver> CreateResolver( in CreateResolver()
165 OrphanablePtr<Resolver> CreateResolver( in CreateResolver()
176 OrphanablePtr<Resolver> CreateResolver( in CreateResolver()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/
Dchild_policy_handler.h54 virtual OrphanablePtr<LoadBalancingPolicy> CreateLoadBalancingPolicy(
62 OrphanablePtr<LoadBalancingPolicy> CreateChildPolicy(
76 OrphanablePtr<LoadBalancingPolicy> child_policy_;
77 OrphanablePtr<LoadBalancingPolicy> pending_child_policy_;
Dchild_policy_handler.cc259 OrphanablePtr<LoadBalancingPolicy> ChildPolicyHandler::CreateChildPolicy( in CreateChildPolicy()
267 OrphanablePtr<LoadBalancingPolicy> lb_policy = in CreateChildPolicy()
293 OrphanablePtr<LoadBalancingPolicy>
/external/grpc-grpc/test/core/gprpp/
Dorphanable_test.cc46 TEST(OrphanablePtr, Basic) { in TEST() argument
47 OrphanablePtr<Foo> foo(New<Foo>()); in TEST()
76 TEST(OrphanablePtr, InternallyRefCounted) { in TEST() argument
106 TEST(OrphanablePtr, InternallyRefCountedWithTracing) { in TEST() argument
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/sockaddr/
Dsockaddr_resolver.cc107 OrphanablePtr<Resolver> CreateSockaddrResolver( in CreateSockaddrResolver()
122 OrphanablePtr<Resolver> CreateResolver(ResolverArgs args) const override { in CreateResolver()
135 OrphanablePtr<Resolver> CreateResolver(ResolverArgs args) const override { in CreateResolver()
149 OrphanablePtr<Resolver> CreateResolver(ResolverArgs args) const override { in CreateResolver()
166 OrphanablePtr<Resolver> CreateResolver(ResolverArgs args) const override { in CreateResolver()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gprpp/
Dorphanable.h67 using OrphanablePtr = std::unique_ptr<T, Deleter>; variable
70 inline OrphanablePtr<T> MakeOrphanable(Args&&... args) { in MakeOrphanable()
71 return OrphanablePtr<T>(new T(std::forward<Args>(args)...)); in MakeOrphanable()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/
Dsubchannel.h81 OrphanablePtr<ConnectivityStateWatcherInterface> watcher);
216 Subchannel(SubchannelKey* key, OrphanablePtr<SubchannelConnector> connector,
221 static Subchannel* Create(OrphanablePtr<SubchannelConnector> connector,
354 std::map<std::string, OrphanablePtr<HealthWatcher>> map_;
395 OrphanablePtr<SubchannelConnector> connector_;
/external/grpc-grpc/src/core/lib/gprpp/
Dorphanable.h68 using OrphanablePtr = std::unique_ptr<T, Deleter>; variable
71 inline OrphanablePtr<T> MakeOrphanable(Args&&... args) { in MakeOrphanable()
72 return OrphanablePtr<T>(New<T>(std::forward<Args>(args)...)); in MakeOrphanable()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/xds/
Dxds_client.h241 OrphanablePtr<RetryableCall<AdsCallState>> ads_calld_;
242 OrphanablePtr<RetryableCall<LrsCallState>> lrs_calld_;
299 OrphanablePtr<CertificateProviderStore> certificate_provider_store_;
305 OrphanablePtr<ChannelState> chand_;
/external/grpc-grpc/test/core/client_channel/resolvers/
Ddns_resolver_test.cc40 grpc_core::OrphanablePtr<grpc_core::Resolver> resolver = in test_succeeds()
56 grpc_core::OrphanablePtr<grpc_core::Resolver> resolver = in test_fails()
Ddns_resolver_connectivity_test.cc85 static grpc_core::OrphanablePtr<grpc_core::Resolver> create_resolver( in create_resolver()
94 grpc_core::OrphanablePtr<grpc_core::Resolver> resolver = in create_resolver()
155 grpc_core::OrphanablePtr<grpc_core::Resolver> resolver = in main()
Dsockaddr_resolver_test.cc53 grpc_core::OrphanablePtr<grpc_core::Resolver> resolver = in test_succeeds()
80 grpc_core::OrphanablePtr<grpc_core::Resolver> resolver = in test_fails()
Dfake_resolver_test.cc36 static grpc_core::OrphanablePtr<grpc_core::Resolver> build_fake_resolver( in build_fake_resolver()
48 grpc_core::OrphanablePtr<grpc_core::Resolver> resolver = in build_fake_resolver()
123 grpc_core::OrphanablePtr<grpc_core::Resolver> resolver = in test_fake_resolver()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/transport/
Dconnectivity_state.h113 OrphanablePtr<ConnectivityStateWatcherInterface> watcher);
139 OrphanablePtr<ConnectivityStateWatcherInterface>>
Dbyte_stream.h147 explicit ByteStreamCache(OrphanablePtr<ByteStream> underlying_stream);
157 OrphanablePtr<ByteStream> underlying_stream_;
Dtransport.h258 grpc_core::OrphanablePtr<grpc_core::ByteStream> send_message;
297 grpc_core::OrphanablePtr<grpc_core::ByteStream>* recv_message = nullptr;
334 grpc_core::OrphanablePtr<grpc_core::ConnectivityStateWatcherInterface>
/external/grpc-grpc/src/core/lib/transport/
Dbyte_stream.h146 explicit ByteStreamCache(OrphanablePtr<ByteStream> underlying_stream);
156 OrphanablePtr<ByteStream> underlying_stream_;
/external/rust/crates/grpcio-sys/grpc/src/core/lib/surface/
Dserver.h120 void AddListener(OrphanablePtr<ListenerInterface> listener);
320 explicit Listener(OrphanablePtr<ListenerInterface> l) in Listener()
322 OrphanablePtr<ListenerInterface> listener;
404 grpc_core::OrphanablePtr<grpc_core::Server> core_server;
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/health/
Dhealth_check_client.h126 OrphanablePtr<ByteStream> recv_message_;
164 OrphanablePtr<CallState> call_state_;
/external/rust/crates/grpcio-sys/grpc/src/cpp/common/
Dchannel_filter.h185 grpc_core::OrphanablePtr<grpc_core::ByteStream>* send_message() const { in send_message()
190 grpc_core::OrphanablePtr<grpc_core::ByteStream> send_message) { in set_send_message()
195 grpc_core::OrphanablePtr<grpc_core::ByteStream>* recv_message() const { in recv_message()
200 grpc_core::OrphanablePtr<grpc_core::ByteStream>* recv_message) { in set_recv_message()
/external/grpc-grpc/src/cpp/common/
Dchannel_filter.h185 grpc_core::OrphanablePtr<grpc_core::ByteStream>* send_message() const { in send_message()
190 grpc_core::OrphanablePtr<grpc_core::ByteStream> send_message) { in set_send_message()
195 grpc_core::OrphanablePtr<grpc_core::ByteStream>* recv_message() const { in recv_message()
200 grpc_core::OrphanablePtr<grpc_core::ByteStream>* recv_message) { in set_recv_message()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/weighted_target/
Dweighted_target.cc161 OrphanablePtr<LoadBalancingPolicy> CreateChildPolicyLocked(
178 OrphanablePtr<LoadBalancingPolicy> child_policy_;
204 std::map<std::string, OrphanablePtr<WeightedChild>> targets_;
449 OrphanablePtr<LoadBalancingPolicy>
457 OrphanablePtr<LoadBalancingPolicy> lb_policy = in CreateChildPolicyLocked()
626 OrphanablePtr<LoadBalancingPolicy> CreateLoadBalancingPolicy( in CreateLoadBalancingPolicy()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/xds/
Dxds_cluster_manager.cc162 OrphanablePtr<LoadBalancingPolicy> CreateChildPolicyLocked(
174 OrphanablePtr<LoadBalancingPolicy> child_policy_;
200 std::map<std::string, OrphanablePtr<ClusterChild>> children_;
434 OrphanablePtr<LoadBalancingPolicy>
443 OrphanablePtr<LoadBalancingPolicy> lb_policy = in CreateChildPolicyLocked()
611 OrphanablePtr<LoadBalancingPolicy> CreateLoadBalancingPolicy( in CreateLoadBalancingPolicy()
/external/grpc-grpc/test/core/transport/
Dbyte_stream_test.cc133 ByteStreamCache cache((OrphanablePtr<ByteStream>(&underlying_stream))); in TEST()
168 ByteStreamCache cache((OrphanablePtr<ByteStream>(&underlying_stream))); in TEST()
210 ByteStreamCache cache((OrphanablePtr<ByteStream>(&underlying_stream))); in TEST()
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/native/
Ddns_resolver.cc310 OrphanablePtr<Resolver> CreateResolver( in CreateResolver()
314 return OrphanablePtr<Resolver>(nullptr); in CreateResolver()
316 return OrphanablePtr<Resolver>(New<NativeDnsResolver>(args)); in CreateResolver()

1234