Home
last modified time | relevance | path

Searched refs:resources_ (Results 1 – 25 of 32) sorted by relevance

12

/external/cronet/components/nacl/renderer/plugin/
Dpnacl_resources.cc32 for (PnaclResourceEntry& entry : resources_) { in PnaclResources()
38 for (PnaclResourceEntry& entry : resources_) { in ~PnaclResources()
46 return resources_[index].tool_name; in GetUrl()
55 PP_NaClFileInfo to_return = resources_[index].file_info; in TakeFileInfo()
56 resources_[index].file_info = kInvalidNaClFileInfo; in TakeFileInfo()
72 resources_[LLC].tool_name = GetFullUrl(llc_tool_name.AsString()); in ReadResourceInfo()
73 resources_[LD].tool_name = GetFullUrl(ld_tool_name.AsString()); in ReadResourceInfo()
74 resources_[SUBZERO].tool_name = GetFullUrl(subzero_tool_name.AsString()); in ReadResourceInfo()
91 resources_[t].tool_name.c_str(), &resources_[t].file_info); in StartLoad()
93 all_valid && resources_[t].file_info.handle != PP_kInvalidFileHandle; in StartLoad()
Dpnacl_coordinator.cc241 resources_ = std::make_unique<PnaclResources>( in BitcodeStreamCacheMiss()
243 CHECK(resources_ != NULL); in BitcodeStreamCacheMiss()
246 if (!resources_->ReadResourceInfo()) { in BitcodeStreamCacheMiss()
253 if (!resources_->StartLoad()) { in BitcodeStreamCacheMiss()
367 PP_NaClFileInfo file_info = resources_->TakeFileInfo(compiler_type); in LoadCompiler()
368 const std::string& url = resources_->GetUrl(compiler_type); in LoadCompiler()
417 PP_NaClFileInfo ld_file_info = resources_->TakeFileInfo(PnaclResources::LD); in LoadLinker()
418 plugin_->LoadHelperNaClModule(resources_->GetUrl(PnaclResources::LD), in LoadLinker()
Dpnacl_resources.h56 PnaclResourceEntry resources_[NUM_TYPES + 1]; variable
Dpnacl_coordinator.h146 std::unique_ptr<PnaclResources> resources_; variable
/external/zstd/contrib/pzstd/utils/
DResourcePool.h42 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/
Dresource_adaptation_processor.cc70 resources_(), in ResourceAdaptationProcessor()
80 RTC_DCHECK(resources_.empty()) in ~ResourceAdaptationProcessor()
112 RTC_DCHECK(absl::c_find(resources_, resource) == resources_.end()) in AddResource()
114 resources_.push_back(resource); in AddResource()
123 return resources_; in GetResources()
133 auto it = absl::c_find(resources_, resource); in RemoveResource()
134 RTC_DCHECK(it != resources_.end()) << "Resource \"" << resource->Name() in RemoveResource()
136 resources_.erase(it); in RemoveResource()
192 if (absl::c_find(resources_, resource) == resources_.end()) { in OnResourceUsageStateMeasured()
Dresource_adaptation_processor.h147 std::vector<rtc::scoped_refptr<Resource>> resources_
/external/libtextclassifier/native/utils/
Dresources.cc78 if (resources_ == nullptr || resources_->resource_entry() == nullptr) { in FindResource()
83 resources_->resource_entry()->LookupByKey(resource_name.data()); in FindResource()
104 locales[user_locale], resources_->locale()->Get(locale_id)); in BestResourceForLocales()
Dresources.h32 explicit Resources(const ResourcePool* resources) : resources_(resources) {} in Resources()
63 const ResourcePool* resources_; variable
/external/libtextclassifier/native/utils/intents/
Dintent-generator-test-lib.cc122 resources_( in IntentGeneratorTest()
127 const ResourcePool* resources_; member in libtextclassifier3::__anona69247fb0111::IntentGeneratorTest
136 /*resources=*/resources_, in TEST_F()
161 /*resources=*/resources_, jni_cache_); in TEST_F()
189 /*resources=*/resources_, jni_cache_); in TEST_F()
223 /*resources=*/resources_, jni_cache_); in TEST_F()
253 /*resources=*/resources_, jni_cache_); in TEST_F()
282 /*resources=*/resources_, jni_cache_); in TEST_F()
312 /*resources=*/resources_, jni_cache_); in TEST_F()
Dintent-generator.h74 resources_(Resources(resources)), in IntentGenerator()
80 const Resources resources_; variable
Dintent-generator.cc214 resources_, jni_cache_.get(), context, in GenerateIntents()
245 resources_, jni_cache_.get(), context, in GenerateIntents()
Djni-lua.h83 const Resources& resources_; variable
/external/tensorflow/tensorflow/compiler/jit/kernels/
Dxla_ops.h63 const std::vector<int> resources_; variable
99 const std::vector<int> resources_; variable
Dxla_ops.cc233 resources_(resources), in XlaLocalLaunchBase()
315 resources_, constants_, inputs, ctx); in ComputeAsync()
332 resources = resources_] { in ComputeAsync()
472 resources_(ResourcesVector(ctx)), in XlaCompileOp()
506 resources_, constants_, inputs, ctx); in Compute()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_context.h82 return resources_; in resources()
138 std::vector<std::unique_ptr<XlaResource>> resources_; variable
Dxla_context.cc81 resources_.push_back(std::move(resource)); in AddResource()
82 return resources_.back().get(); in AddResource()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dresource_op_lifting.cc172 auto& GetResources() { return resources_; } in GetResources()
176 return resources_.find(resource) != resources_.end(); in Contains()
181 resources_.erase(resource); in DropResource()
196 bool NeedsLifting() const { return !resources_.empty(); } in NeedsLifting()
267 llvm::MapVector<Value, ResourceInfo> resources_; member in mlir::__anonda45e88d0111::RegionResourceHoister
367 resources_.insert({resource, info}); in Analyze()
401 ResourceInfo& info = resources_[resource]; in ReplaceResourceLoads()
428 const ResourceInfo& info = resources_[resource]; in AppendResourceStoreValueToReturn()
443 int result_index = resources_[resource].result_index; in AppendResourceStoreValueToReturn()
477 ResourceInfo& info = resources_[resource]; in ReplaceOpWithNewOp()
/external/tensorflow/tensorflow/core/runtime_fallback/kernel/
Dkernel_fallback_compat_request_state.cc46 resources_.push_back(std::make_unique<tensorflow::tfrt_stub::ImmutableTensor>( in SetResource()
51 resources_.back().get()); in SetResource()
Dkernel_fallback_compat_request_state.h62 resources_;
/external/webrtc/video/adaptation/
Dvideo_stream_encoder_resource_manager.cc408 std::tie(std::ignore, inserted) = resources_.emplace(resource, reason); in AddResource()
419 const auto& it = resources_.find(resource); in RemoveResource()
420 RTC_DCHECK(it != resources_.end()) in RemoveResource()
422 resources_.erase(it); in RemoveResource()
659 const auto& registered_resource = resources_.find(resource); in GetReasonFromResource()
660 RTC_DCHECK(registered_resource != resources_.end()) in GetReasonFromResource()
Dvideo_stream_encoder_resource_manager.h232 std::map<rtc::scoped_refptr<Resource>, VideoAdaptationReason> resources_
/external/tensorflow/tensorflow/core/framework/
Dresource_mgr.h540 std::vector<Tensor> resources_; variable
952 resources_.resize(n);
963 for (size_t i = 0; i < resources_.size(); ++i) {
965 &resources_[i], attr));
968 resources_[i].template scalar<ResourceHandle>()() = h;
973 for (size_t i = 0; i < resources_.size(); ++i) {
974 ctx->set_output(i, resources_[i]);
/external/cronet/third_party/icu/scripts/
Dchrome_ui_languages.list2 # sed 's/.*resources_\([a-z][^\.]*\).xtb/\1/' | sed 's/-/_/'
/external/tensorflow/tensorflow/lite/core/
Dsubgraph.h185 resource::ResourceMap& resources() { return *resources_; } in resources()
884 resource::ResourceMap* resources_ = nullptr; variable

12