Searched refs:factories_ (Results 1 – 8 of 8) sorted by relevance
/external/grpc-grpc/src/core/ext/filters/client_channel/ |
D | lb_policy_registry.cc | 38 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
|
D | resolver_registry.cc | 44 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/ |
D | allocator_registry.cc | 31 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()
|
D | allocator_registry.h | 103 std::vector<FactoryEntry> factories_ GUARDED_BY(mu_);
|
/external/tensorflow/tensorflow/stream_executor/ |
D | plugin_registry.cc | 167 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, \
|
D | plugin_registry.h | 150 std::map<Platform::Id, PluginFactories> factories_; variable
|
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/ |
D | split_collection_operators.cc | 27 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()
|
D | split_collection_operators.h | 106 static std::unordered_map<int, CollectionCreator*> factories_; variable 113 SplitCollectionOperatorFactory::factories_[type] = this; in AnyCollectionCreator()
|