Home
last modified time | relevance | path

Searched refs:MakeOrphanable (Results 1 – 25 of 28) sorted by relevance

12

/external/grpc-grpc/test/core/gprpp/
Dorphanable_test.cc51 TEST(MakeOrphanable, DefaultConstructor) { in TEST() argument
52 auto foo = MakeOrphanable<Foo>(); in TEST()
56 TEST(MakeOrphanable, WithParameters) { in TEST() argument
57 auto foo = MakeOrphanable<Foo>(5); in TEST()
77 auto bar = MakeOrphanable<Bar>(); in TEST()
107 auto baz = MakeOrphanable<Baz>(); in TEST()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/client/insecure/
Dchannel_create.cc44 Subchannel::Create(MakeOrphanable<Chttp2Connector>(), new_args); in CreateSubchannel()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gprpp/
Dorphanable.h70 inline OrphanablePtr<T> MakeOrphanable(Args&&... args) { in MakeOrphanable() function
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dwork_serializer.cc146 : impl_(MakeOrphanable<WorkSerializerImpl>()) {} in WorkSerializer()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/round_robin/
Dround_robin.cc447 latest_pending_subchannel_list_ = MakeOrphanable<RoundRobinSubchannelList>( in UpdateLocked()
484 return MakeOrphanable<RoundRobin>(std::move(args)); in CreateLoadBalancingPolicy()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/weighted_target/
Dweighted_target.cc293 targets_.emplace(name, MakeOrphanable<WeightedChild>( in UpdateLocked()
458 MakeOrphanable<ChildPolicyHandler>(std::move(lb_policy_args), in CreateChildPolicyLocked()
628 return MakeOrphanable<WeightedTargetLb>(std::move(args)); in CreateLoadBalancingPolicy()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/xds/
Dxds_cluster_manager.cc280 .emplace(name, MakeOrphanable<ClusterChild>( in UpdateLocked()
444 MakeOrphanable<ChildPolicyHandler>(std::move(lb_policy_args), in CreateChildPolicyLocked()
613 return MakeOrphanable<XdsClusterManagerLb>(std::move(args)); in CreateLoadBalancingPolicy()
Dxds_cluster_resolver.cc628 grpc_core::MakeOrphanable<EdsDiscoveryMechanism>( in UpdateLocked()
634 grpc_core::MakeOrphanable<LogicalDNSDiscoveryMechanism>( in UpdateLocked()
1033 return MakeOrphanable<XdsClusterResolverChildHandler>(std::move(xds_client), in CreateLoadBalancingPolicy()
1240 return MakeOrphanable<XdsClusterResolverLb>(xds_client_, std::move(args)); in CreateLoadBalancingPolicy()
Dxds_cluster_impl.cc500 MakeOrphanable<ChildPolicyHandler>(std::move(lb_policy_args), in CreateChildPolicyLocked()
624 return MakeOrphanable<XdsClusterImplLb>(std::move(xds_client), in CreateLoadBalancingPolicy()
Dcds.cc587 return MakeOrphanable<CdsLb>(std::move(xds_client), std::move(args)); in CreateLoadBalancingPolicy()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/
Dpick_first.cc188 auto subchannel_list = MakeOrphanable<PickFirstSubchannelList>( in AttemptToConnectUsingLatestUpdateArgsLocked()
494 return MakeOrphanable<PickFirst>(std::move(args)); in CreateLoadBalancingPolicy()
/external/grpc-grpc/src/core/lib/gprpp/
Dorphanable.h71 inline OrphanablePtr<T> MakeOrphanable(Args&&... args) { in MakeOrphanable() function
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/sockaddr/
Dsockaddr_resolver.cc112 return MakeOrphanable<SockaddrResolver>(std::move(addresses), in CreateSockaddrResolver()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/client/secure/
Dsecure_channel_create.cc54 Subchannel::Create(MakeOrphanable<Chttp2Connector>(), new_args); in CreateSubchannel()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/priority/
Dpriority.cc430 child = MakeOrphanable<ChildPriority>( in TryNextPriorityLocked()
579 MakeOrphanable<ChildPolicyHandler>(std::move(lb_policy_args), in CreateChildPolicyLocked()
780 return MakeOrphanable<PriorityLb>(std::move(args)); in CreateLoadBalancingPolicy()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/dns/native/
Ddns_resolver.cc290 return MakeOrphanable<NativeDnsResolver>(std::move(args)); in CreateResolver()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/
Dsubchannel.cc505 health_check_client_ = MakeOrphanable<HealthCheckClient>( in StartHealthCheckingLocked()
531 auto w = MakeOrphanable<HealthWatcher>( in AddWatcherLocked()
1120 pollset_set_, MakeOrphanable<ConnectedSubchannelStateWatcher>(this)); in PublishTransportLocked()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/fake/
Dfake_resolver.cc368 return MakeOrphanable<FakeResolver>(std::move(args)); in CreateResolver()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/xds/
Dxds_client.cc618 calld_ = MakeOrphanable<T>( in StartNewCallLocked()
848 state = MakeOrphanable<ResourceState>( in Subscribe()
1561 reporter_ = MakeOrphanable<Reporter>( in MaybeStartReportingLocked()
1745 certificate_provider_store_(MakeOrphanable<CertificateProviderStore>( in XdsClient()
1760 chand_ = MakeOrphanable<ChannelState>( in XdsClient()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
Dgrpclb.cc1510 lb_calld_ = MakeOrphanable<BalancerCallState>(Ref()); in StartBalancerCallLocked()
1636 MakeOrphanable<ChildPolicyHandler>(std::move(lb_policy_args), in CreateChildPolicyLocked()
1691 return MakeOrphanable<GrpcLb>(std::move(args)); in CreateLoadBalancingPolicy()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Ddns_resolver_ares.cc454 return MakeOrphanable<AresDnsResolver>(std::move(args)); in CreateResolver()
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/
Dpick_first.cc361 auto subchannel_list = MakeOrphanable<PickFirstSubchannelList>( in UpdateLocked()
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/round_robin/
Dround_robin.cc695 latest_pending_subchannel_list_ = MakeOrphanable<RoundRobinSubchannelList>( in UpdateLocked()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/health/
Dhealth_check_client.cc130 call_state_ = MakeOrphanable<CallState>(Ref(), interested_parties_); in StartCallLocked()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/surface/
Dserver.cc1068 op->start_connectivity_watch = MakeOrphanable<ConnectivityWatcher>(this); in InitTransport()
1475 c_server->core_server = grpc_core::MakeOrphanable<grpc_core::Server>(args); in grpc_server_create()

12