Home
last modified time | relevance | path

Searched refs:with_thread_cache (Results 1 – 4 of 4) sorted by relevance

/aosp_15_r20/external/cronet/base/allocator/partition_allocator/src/partition_alloc/
H A Dextended_api.cc21 if (!root || !root->settings.with_thread_cache) { in DisableThreadCacheForRootIfEnabled()
26 root->settings.with_thread_cache = false; in DisableThreadCacheForRootIfEnabled()
36 root->settings.with_thread_cache = true; in EnablePartitionAllocThreadCacheForRootIfDisabled()
70 regular_allocator && regular_allocator->settings.with_thread_cache; in ThreadCacheProcessScopeForTesting()
99 regular_allocator && regular_allocator->settings.with_thread_cache; in ~ThreadCacheProcessScopeForTesting()
H A Dpartition_root.cc859 PA_CHECK(!settings.with_thread_cache); in DestructForTesting()
1106 settings.with_thread_cache = false; in Init()
1109 settings.with_thread_cache = in Init()
1112 if (settings.with_thread_cache) { in Init()
1147 PA_CHECK(!settings.with_thread_cache) in ~PartitionRoot()
1161 PA_CHECK(!settings.with_thread_cache); in EnableThreadCacheIfSupported()
1176 settings.with_thread_cache = true; in EnableThreadCacheIfSupported()
1519 stats.has_thread_cache = settings.with_thread_cache; in DumpStats()
1565 if (partition_root->settings.with_thread_cache) { in DeleteForTesting()
1567 partition_root->settings.with_thread_cache = false; in DeleteForTesting()
[all …]
H A Dpartition_root.h251 bool with_thread_cache = false; in PA_COMPONENT_EXPORT() member
657 return settings.with_thread_cache ? ThreadCache::Get() : nullptr; in PA_COMPONENT_EXPORT()
2528 if (PA_LIKELY(settings.with_thread_cache)) { in GetOrCreateThreadCache()
2538 return PA_LIKELY(settings.with_thread_cache) ? ThreadCache::Get() : nullptr; in GetThreadCache()
H A Dthread_cache.cc68 ->settings.with_thread_cache = false; in OnDllProcessDetach()