Home
last modified time | relevance | path

Searched refs:factories_ (Results 1 – 8 of 8) sorted by relevance

/external/grpc-grpc/src/core/ext/filters/client_channel/
Dlb_policy_registry.cc38 for (size_t i = 0; i < factories_.size(); ++i) { in RegisterLoadBalancingPolicyFactory()
39 GPR_ASSERT(strcmp(factories_[i]->name(), factory->name()) != 0); in RegisterLoadBalancingPolicyFactory()
41 factories_.push_back(std::move(factory)); in RegisterLoadBalancingPolicyFactory()
46 for (size_t i = 0; i < factories_.size(); ++i) { in GetLoadBalancingPolicyFactory()
47 if (strcmp(name, factories_[i]->name()) == 0) { in GetLoadBalancingPolicyFactory()
48 return factories_[i].get(); in GetLoadBalancingPolicyFactory()
55 InlinedVector<UniquePtr<LoadBalancingPolicyFactory>, 10> factories_; member in grpc_core::__anona224f5cb0111::RegistryState
Dresolver_registry.cc44 for (size_t i = 0; i < factories_.size(); ++i) { in RegisterResolverFactory()
45 GPR_ASSERT(strcmp(factories_[i]->scheme(), factory->scheme()) != 0); in RegisterResolverFactory()
47 factories_.push_back(std::move(factory)); in RegisterResolverFactory()
51 for (size_t i = 0; i < factories_.size(); ++i) { in LookupResolverFactory()
52 if (strcmp(scheme, factories_[i]->scheme()) == 0) { in LookupResolverFactory()
53 return factories_[i].get(); in LookupResolverFactory()
93 InlinedVector<UniquePtr<ResolverFactory>, 10> factories_; member in grpc_core::__anon535594a00111::RegistryState
/external/tensorflow/tensorflow/core/framework/
Dallocator_registry.cc31 for (auto& entry : factories_) { in FindEntry()
65 factories_.push_back(std::move(entry)); in Register()
72 for (auto& entry : factories_) { in GetAllocator()
94 for (auto& entry : factories_) { in GetSubAllocator()
Dallocator_registry.h103 std::vector<FactoryEntry> factories_ GUARDED_BY(mu_);
/external/tensorflow/tensorflow/stream_executor/
Dplugin_registry.cc167 auto iter = factories_.find(platform_id); in HasFactory()
168 if (iter != factories_.end()) { in HasFactory()
197 &factories_[platform_id].FACTORY_VAR); \
225 return GetFactoryInternal(plugin_id, factories_[platform_id].FACTORY_VAR, \
Dplugin_registry.h150 std::map<Platform::Id, PluginFactories> factories_; variable
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/
Dsplit_collection_operators.cc27 SplitCollectionOperatorFactory::factories_; // NOLINT member in tensorflow::tensorforest::SplitCollectionOperatorFactory
33 auto it = factories_.find(params.collection_type()); in CreateSplitCollectionOperator()
34 if (it == factories_.end()) { in CreateSplitCollectionOperator()
Dsplit_collection_operators.h106 static std::unordered_map<int, CollectionCreator*> factories_; variable
113 SplitCollectionOperatorFactory::factories_[type] = this; in AnyCollectionCreator()