/external/zstd/contrib/pzstd/utils/ |
D | ResourcePool.h | 42 std::vector<T*> resources_; variable 61 if (!resources_.empty()) { in get() 62 UniquePtr resource{resources_.back(), Deleter{*this}}; in get() 63 resources_.pop_back(); in get() 74 for (const auto resource : resources_) { in ~ResourcePool() 88 pool_->resources_.push_back(resource); in operator()
|
/external/webrtc/call/adaptation/ |
D | resource_adaptation_processor.cc | 78 resources_(), in ResourceAdaptationProcessor() 88 RTC_DCHECK(resources_.empty()) in ~ResourceAdaptationProcessor() 131 RTC_DCHECK(absl::c_find(resources_, resource) == resources_.end()) in AddResource() 133 resources_.push_back(resource); in AddResource() 141 return resources_; in GetResources() 151 auto it = absl::c_find(resources_, resource); in RemoveResource() 152 RTC_DCHECK(it != resources_.end()) << "Resource \"" << resource->Name() in RemoveResource() 154 resources_.erase(it); in RemoveResource() 209 if (absl::c_find(resources_, resource) == resources_.end()) { in OnResourceUsageStateMeasured()
|
D | resource_adaptation_processor.h | 153 std::vector<rtc::scoped_refptr<Resource>> resources_
|
/external/libtextclassifier/native/utils/ |
D | resources.cc | 64 if (resources_ == nullptr || resources_->resource_entry() == nullptr) { in FindResource() 69 resources_->resource_entry()->LookupByKey(resource_name.data()); in FindResource() 90 locales[user_locale], resources_->locale()->Get(locale_id)); in BestResourceForLocales()
|
D | resources.h | 32 explicit Resources(const ResourcePool* resources) : resources_(resources) {} in Resources() 63 const ResourcePool* resources_; variable
|
/external/libtextclassifier/native/utils/intents/ |
D | intent-generator.h | 75 resources_(Resources(resources)), in IntentGenerator() 81 const Resources resources_; variable
|
D | intent-generator-test-lib.cc | 122 resources_( in IntentGeneratorTest() 127 const ResourcePool* resources_; member in libtextclassifier3::__anon60bbdd5d0111::IntentGeneratorTest 136 /*resources=*/resources_, in TEST_F() 159 /*resources=*/resources_, jni_cache_); in TEST_F() 185 /*resources=*/resources_, jni_cache_); in TEST_F()
|
D | intent-generator.cc | 196 resources_, jni_cache_.get(), context, in GenerateIntents() 226 resources_, jni_cache_.get(), context, in GenerateIntents()
|
D | jni-lua.h | 83 const Resources& resources_; variable
|
D | jni-lua.cc | 50 resources_(resources), in JniLuaEnvironment() 388 if (!resources_.GetResourceContent(device_locales_, resource_name, in LookupModelStringResource()
|
/external/tensorflow/tensorflow/compiler/jit/kernels/ |
D | xla_ops.h | 63 const std::vector<int> resources_; variable 99 const std::vector<int> resources_; variable
|
D | xla_ops.cc | 159 resources_(resources), in XlaLocalLaunchBase() 232 inputs, resources_, &variable_infos)); in Compute() 243 for (int i = 0; i < resources_.size(); i++) { in Compute() 244 resource_var_ptrs[resources_[i]] = variable_infos[i].var()->tensor(); in Compute() 364 resources_(ResourcesVector(ctx)), in XlaCompileOp() 392 inputs, resources_, &variable_infos)); in Compute() 402 OP_REQUIRES_OK(ctx, SnapshotResourceVariables(ctx, resources_, in Compute()
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | xla_context.h | 81 return resources_; in resources() 124 std::vector<std::unique_ptr<XlaResource>> resources_; variable
|
D | xla_context.cc | 81 resources_.push_back(std::move(resource)); in AddResource() 82 return resources_.back().get(); in AddResource()
|
/external/webrtc/video/adaptation/ |
D | video_stream_encoder_resource_manager.cc | 361 RTC_DCHECK(absl::c_find_if(resources_, in MapResourceToReason() 364 }) == resources_.end()) in MapResourceToReason() 366 resources_.emplace_back(resource, reason); in MapResourceToReason() 373 for (auto const& resource_and_reason : resources_) { in MappedResources() 566 absl::c_find_if(resources_, [&resource](const ResourceAndReason& r) { in GetReasonFromResource() 569 RTC_DCHECK(registered_resource != resources_.end()) in GetReasonFromResource()
|
D | video_stream_encoder_resource_manager.h | 281 std::vector<ResourceAndReason> resources_ RTC_GUARDED_BY(&resource_lock_);
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/ |
D | resource_op_lifting.cc | 245 auto& GetResources() { return resources_; } in GetResources() 249 return resources_.find(resource) != resources_.end(); in Contains() 254 resources_.erase(resource); in DropResource() 269 bool NeedsLifting() const { return !resources_.empty(); } in NeedsLifting() 340 llvm::MapVector<Value, ResourceInfo> resources_; member in mlir::__anon1f2fad2f0111::RegionResourceHoister 440 resources_.insert({resource, info}); in Analyze() 473 ResourceInfo& info = resources_[resource]; in ReplaceResourceLoads() 500 const ResourceInfo& info = resources_[resource]; in AppendResourceStoreValueToReturn() 515 int result_index = resources_[resource].result_index; in AppendResourceStoreValueToReturn() 549 ResourceInfo& info = resources_[resource]; in ReplaceOpWithNewOp()
|
/external/tensorflow/tensorflow/core/framework/ |
D | resource_mgr.h | 506 std::vector<Tensor> resources_; variable 866 resources_.resize(n); 877 for (size_t i = 0; i < resources_.size(); ++i) { 879 &resources_[i], attr)); 882 resources_[i].template scalar<ResourceHandle>()() = h; 887 for (size_t i = 0; i < resources_.size(); ++i) { 888 ctx->set_output(i, resources_[i]);
|
/external/rust/crates/grpcio-sys/grpc/src/cpp/server/ |
D | server_cc.cc | 434 resources_(false) { in CallData() 451 resources_ = resources; in Run() 463 auto* handler = resources_ ? method_->handler() in Run() 487 auto* handler = resources_ ? method_->handler() in ContinueRunAfterInterception() 517 bool resources_; member in grpc::Server::SyncRequest::CallData
|
/external/tensorflow/tensorflow/lite/core/ |
D | subgraph.h | 184 resource::ResourceMap& resources() { return *resources_; } in resources() 742 resource::ResourceMap* resources_ = nullptr; variable
|
D | subgraph.cc | 218 resources_(resources) { in Subgraph()
|
/external/tensorflow/tensorflow/lite/ |
D | interpreter.cc | 250 &subgraphs_, &resources_); in AddSubgraphs()
|
D | interpreter.h | 762 resource::ResourceMap resources_; variable
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmGraphicsShaderTestUtil.hpp | 295 const GraphicsResources& resources_,
|
D | vktSpvAsmGraphicsShaderTestUtil.cpp | 260 const GraphicsResources& resources_, in InstanceContext() argument 273 , resources (resources_) in InstanceContext()
|