Home
last modified time | relevance | path

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

12

/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/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/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/grpc-grpc/test/core/client_channel/resolvers/
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()
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()
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()
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()
/external/grpc-grpc/src/core/lib/transport/
Dbyte_stream.h146 explicit ByteStreamCache(OrphanablePtr<ByteStream> underlying_stream);
156 OrphanablePtr<ByteStream> underlying_stream_;
Dtransport.h191 grpc_core::OrphanablePtr<grpc_core::ByteStream> send_message;
218 grpc_core::OrphanablePtr<grpc_core::ByteStream>* 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/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()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dresolver_registry.cc135 OrphanablePtr<Resolver> ResolverRegistry::CreateResolver( in CreateResolver()
148 OrphanablePtr<Resolver> resolver = in CreateResolver()
Dlb_policy_registry.h48 static OrphanablePtr<LoadBalancingPolicy> CreateLoadBalancingPolicy(
Dresolver_registry.h65 static OrphanablePtr<Resolver> CreateResolver(const char* target,
Dresolver_factory.h49 virtual OrphanablePtr<Resolver> CreateResolver(const ResolverArgs& args) const
Dlb_policy_factory.h117 virtual OrphanablePtr<LoadBalancingPolicy> CreateLoadBalancingPolicy(
Dlb_policy_registry.cc85 OrphanablePtr<LoadBalancingPolicy>
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/
Dpick_first.cc133 OrphanablePtr<PickFirstSubchannelList> subchannel_list_;
135 OrphanablePtr<PickFirstSubchannelList> latest_pending_subchannel_list_;
619 OrphanablePtr<LoadBalancingPolicy> CreateLoadBalancingPolicy( in CreateLoadBalancingPolicy()
621 return OrphanablePtr<LoadBalancingPolicy>(New<PickFirst>(args)); in CreateLoadBalancingPolicy()
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/round_robin/
Dround_robin.cc208 OrphanablePtr<RoundRobinSubchannelList> subchannel_list_;
214 OrphanablePtr<RoundRobinSubchannelList> latest_pending_subchannel_list_;
721 OrphanablePtr<LoadBalancingPolicy> CreateLoadBalancingPolicy( in CreateLoadBalancingPolicy()
723 return OrphanablePtr<LoadBalancingPolicy>(New<RoundRobin>(args)); in CreateLoadBalancingPolicy()
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/fake/
Dfake_resolver.cc265 OrphanablePtr<Resolver> CreateResolver( in CreateResolver()
267 return OrphanablePtr<Resolver>(New<FakeResolver>(args)); in CreateResolver()
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dframe_data.h82 grpc_core::OrphanablePtr<grpc_core::ByteStream>* stream_out);
/external/grpc-grpc/src/cpp/ext/filters/census/
Dserver_filter.h91 grpc_core::OrphanablePtr<grpc_core::ByteStream>* recv_message_;
Dclient_filter.h93 grpc_core::OrphanablePtr<grpc_core::ByteStream>* recv_message_;
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Ddns_resolver_ares.cc440 OrphanablePtr<Resolver> CreateResolver( in CreateResolver()
442 return OrphanablePtr<Resolver>(New<AresDnsResolver>(args)); in CreateResolver()

12