Home
last modified time | relevance | path

Searched refs:cache_mutex_ (Results 1 – 18 of 18) sorted by relevance

/aosp_15_r20/external/executorch/backends/vulkan/runtime/vk_api/
H A DShader.cpp154 : cache_mutex_{}, device_(device), cache_{} {} in ShaderLayoutCache()
157 : cache_mutex_{}, device_(other.device_), cache_(std::move(other.cache_)) { in ShaderLayoutCache()
158 std::lock_guard<std::mutex> lock(other.cache_mutex_);
167 std::lock_guard<std::mutex> lock(cache_mutex_); in retrieve()
178 std::lock_guard<std::mutex> lock(cache_mutex_); in purge()
187 : cache_mutex_{}, device_(device), cache_{} {} in ShaderCache()
190 : cache_mutex_{}, device_(other.device_), cache_(std::move(other.cache_)) { in ShaderCache()
191 std::lock_guard<std::mutex> lock(other.cache_mutex_);
199 std::lock_guard<std::mutex> lock(cache_mutex_); in retrieve()
H A DPipeline.cpp335 : cache_mutex_{}, device_(device), cache_{} {} in PipelineLayoutCache()
338 : cache_mutex_{}, device_(other.device_), cache_(std::move(other.cache_)) { in PipelineLayoutCache()
339 std::lock_guard<std::mutex> lock(other.cache_mutex_);
348 std::lock_guard<std::mutex> lock(cache_mutex_); in retrieve()
359 std::lock_guard<std::mutex> lock(cache_mutex_); in purge()
370 : cache_mutex_{}, in ComputePipelineCache()
393 : cache_mutex_{}, in ComputePipelineCache()
397 std::lock_guard<std::mutex> lock(other.cache_mutex_);
415 std::lock_guard<std::mutex> lock(cache_mutex_); in retrieve()
H A DShader.h140 std::mutex cache_mutex_;
180 std::mutex cache_mutex_;
H A DPipeline.h209 std::mutex cache_mutex_;
279 std::mutex cache_mutex_; variable
/aosp_15_r20/external/pytorch/aten/src/ATen/native/vulkan/api/
H A DShader.cpp167 : cache_mutex_{}, device_(device), cache_{} {} in ShaderLayoutCache()
170 : cache_mutex_{}, device_(other.device_), cache_(std::move(other.cache_)) { in ShaderLayoutCache()
171 std::lock_guard<std::mutex> lock(other.cache_mutex_);
180 std::lock_guard<std::mutex> lock(cache_mutex_); in retrieve()
191 std::lock_guard<std::mutex> lock(cache_mutex_); in purge()
200 : cache_mutex_{}, device_(device), cache_{} {} in ShaderCache()
203 : cache_mutex_{}, device_(other.device_), cache_(std::move(other.cache_)) { in ShaderCache()
204 std::lock_guard<std::mutex> lock(other.cache_mutex_);
212 std::lock_guard<std::mutex> lock(cache_mutex_); in retrieve()
H A DPipeline.cpp247 : cache_mutex_{}, device_(device), cache_{} {} in PipelineLayoutCache()
250 : cache_mutex_{}, device_(other.device_), cache_(std::move(other.cache_)) { in PipelineLayoutCache()
251 std::lock_guard<std::mutex> lock(other.cache_mutex_);
260 std::lock_guard<std::mutex> lock(cache_mutex_); in retrieve()
271 std::lock_guard<std::mutex> lock(cache_mutex_); in purge()
280 : cache_mutex_{}, in ComputePipelineCache()
298 : cache_mutex_{}, in ComputePipelineCache()
302 std::lock_guard<std::mutex> lock(other.cache_mutex_);
319 std::lock_guard<std::mutex> lock(cache_mutex_); in retrieve()
H A DResource.cpp546 : cache_mutex_{}, device_(device), cache_{} {} in SamplerCache()
549 : cache_mutex_{}, device_(other.device_), cache_(std::move(other.cache_)) { in SamplerCache()
550 std::lock_guard<std::mutex> lock(other.cache_mutex_);
558 std::lock_guard<std::mutex> lock(cache_mutex_); in retrieve()
569 std::lock_guard<std::mutex> lock(cache_mutex_); in purge()
H A DShader.h142 std::mutex cache_mutex_;
182 std::mutex cache_mutex_;
H A DPipeline.h137 std::mutex cache_mutex_;
184 std::mutex cache_mutex_;
H A DResource.h429 std::mutex cache_mutex_;
/aosp_15_r20/external/executorch/backends/vulkan/runtime/vk_api/memory/
H A DImage.cpp364 : cache_mutex_{}, device_(device), cache_{} {} in SamplerCache()
367 : cache_mutex_{}, device_(other.device_), cache_(std::move(other.cache_)) { in SamplerCache()
368 std::lock_guard<std::mutex> lock(other.cache_mutex_);
376 std::lock_guard<std::mutex> lock(cache_mutex_); in retrieve()
387 std::lock_guard<std::mutex> lock(cache_mutex_); in purge()
H A DImage.h296 std::mutex cache_mutex_;
/aosp_15_r20/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_quarantine.h68 SpinMutexLock l(&cache_mutex_); in Drain()
82 SpinMutex cache_mutex_; variable
91 SpinMutexLock l(&cache_mutex_); in Recycle()
/aosp_15_r20/external/pytorch/torch/csrc/profiler/unwind/
H A Dunwind.cpp288 static std::shared_timed_mutex cache_mutex_; variable
300 std::shared_lock lock(cache_mutex_); in libraryFor()
502 std::shared_lock lock(torch::unwind::cache_mutex_); in unwind_c()
/aosp_15_r20/external/pytorch/torch/csrc/distributed/c10d/
H A DTCPStore.cpp64 static std::mutex cache_mutex_; member in c10d::detail::TCPServer
70 std::mutex TCPServer::cache_mutex_{};
83 std::lock_guard<std::mutex> guard{cache_mutex_}; in start()
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/re2/re2/
Ddfa.cc341 CacheMutex cache_mutex_; member in re2::DFA
1752 RWLocker l(&cache_mutex_); in Search()
1907 RWLocker l(&cache_mutex_); in BuildAllStates()
1995 RWLocker l(&cache_mutex_); in PossibleMatchRange()
/aosp_15_r20/external/cronet/third_party/re2/src/re2/
H A Ddfa.cc335 CacheMutex cache_mutex_; member in re2::DFA
1765 RWLocker l(&cache_mutex_); in Search()
1921 RWLocker l(&cache_mutex_); in BuildAllStates()
2009 RWLocker l(&cache_mutex_); in PossibleMatchRange()
/aosp_15_r20/external/regex-re2/re2/
H A Ddfa.cc359 Mutex cache_mutex_; member in re2::DFA
1776 RWLocker l(&cache_mutex_); in Search()
1926 RWLocker l(&cache_mutex_); in BuildAllStates()
2018 RWLocker l(&cache_mutex_); in PossibleMatchRange()