/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::__anoncba075320111::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::__anon641b43270111::RegistryState
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/xds/ |
D | certificate_provider_registry.cc | 35 for (size_t i = 0; i < factories_.size(); ++i) { in RegisterCertificateProviderFactory() 36 GPR_ASSERT(strcmp(factories_[i]->name(), factory->name()) != 0); in RegisterCertificateProviderFactory() 38 factories_.push_back(std::move(factory)); in RegisterCertificateProviderFactory() 43 for (size_t i = 0; i < factories_.size(); ++i) { in LookupCertificateProviderFactory() 44 if (name == factories_[i]->name()) { in LookupCertificateProviderFactory() 45 return factories_[i].get(); in LookupCertificateProviderFactory() 58 factories_; member in grpc_core::__anon60f7b3e60111::RegistryState
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/channel/ |
D | handshaker_registry.cc | 48 absl::InlinedVector<std::unique_ptr<HandshakerFactory>, 2> factories_; member in grpc_core::__anon4e4902c20111::HandshakerFactoryList 57 factories_.push_back(std::move(factory)); in Register() 59 auto* end = &factories_[factories_.size() - 1]; in Register() 60 std::rotate(&factories_[0], end, end + 1); in Register() 67 for (size_t idx = 0; idx < factories_.size(); ++idx) { in AddHandshakers() 68 auto& handshaker_factory = factories_[idx]; in AddHandshakers()
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/ |
D | lb_policy_registry.cc | 44 for (size_t i = 0; i < factories_.size(); ++i) { in RegisterLoadBalancingPolicyFactory() 45 GPR_ASSERT(strcmp(factories_[i]->name(), factory->name()) != 0); in RegisterLoadBalancingPolicyFactory() 47 factories_.push_back(std::move(factory)); in RegisterLoadBalancingPolicyFactory() 52 for (size_t i = 0; i < factories_.size(); ++i) { in GetLoadBalancingPolicyFactory() 53 if (strcmp(name, factories_[i]->name()) == 0) { in GetLoadBalancingPolicyFactory() 54 return factories_[i].get(); in GetLoadBalancingPolicyFactory() 62 factories_; member in grpc_core::__anond20c5a860111::RegistryState
|
D | resolver_registry.cc | 48 for (size_t i = 0; i < factories_.size(); ++i) { in RegisterResolverFactory() 49 GPR_ASSERT(strcmp(factories_[i]->scheme(), factory->scheme()) != 0); in RegisterResolverFactory() 51 factories_.push_back(std::move(factory)); in RegisterResolverFactory() 55 for (size_t i = 0; i < factories_.size(); ++i) { in LookupResolverFactory() 56 if (scheme == factories_[i]->scheme()) { in LookupResolverFactory() 57 return factories_[i].get(); in LookupResolverFactory() 106 absl::InlinedVector<std::unique_ptr<ResolverFactory>, 10> factories_; member in grpc_core::__anon0735cdfb0111::RegistryState
|
/external/tensorflow/tensorflow/lite/experimental/acceleration/configuration/ |
D | delegate_registry.cc | 28 factories_[name] = creator_function; in RegisterImpl() 34 auto it = factories_.find(name); in CreateImpl() 35 return (it != factories_.end()) ? it->second(settings) : nullptr; in CreateImpl()
|
D | delegate_registry.h | 83 std::unordered_map<std::string, CreatorFunction> factories_
|
/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 | 104 std::vector<FactoryEntry> factories_ TF_GUARDED_BY(mu_);
|
/external/tensorflow/tensorflow/stream_executor/ |
D | plugin_registry.cc | 170 auto iter = factories_.find(platform_id); in HasFactory() 171 if (iter != factories_.end()) { in HasFactory() 200 &factories_[platform_id].FACTORY_VAR); \ 229 return GetFactoryInternal(plugin_id, factories_[platform_id].FACTORY_VAR, \
|
D | plugin_registry.h | 149 std::map<Platform::Id, PluginFactories> factories_; variable
|