| /external/cronet/base/allocator/partition_allocator/shim/ |
| D | allocator_shim_default_dispatch_to_partition_alloc.cc | 144 static partition_alloc::ThreadSafePartitionRoot* New(void* buffer) { in New() 158 auto* new_root = new (buffer) partition_alloc::ThreadSafePartitionRoot({ in New() 172 LeakySingleton<partition_alloc::ThreadSafePartitionRoot, 175 partition_alloc::ThreadSafePartitionRoot* Allocator() { in Allocator() 180 std::atomic<partition_alloc::ThreadSafePartitionRoot*> g_original_root(nullptr); 184 static partition_alloc::ThreadSafePartitionRoot* New(void* buffer) { in New() 189 LeakySingleton<partition_alloc::ThreadSafePartitionRoot, 193 partition_alloc::ThreadSafePartitionRoot* OriginalAllocator() { in OriginalAllocator() 197 partition_alloc::ThreadSafePartitionRoot* AlignedAllocator() { in AlignedAllocator() 322 partition_alloc::ThreadSafePartitionRoot::FreeNoHooks(address); in PartitionAlignedRealloc() [all …]
|
| D | allocator_shim_default_dispatch_to_partition_alloc.h | 18 static partition_alloc::ThreadSafePartitionRoot* Allocator(); 20 static partition_alloc::ThreadSafePartitionRoot* OriginalAllocator(); 22 static partition_alloc::ThreadSafePartitionRoot* AlignedAllocator();
|
| D | allocator_shim_default_dispatch_to_partition_alloc_unittest.cc | 179 alignof(partition_alloc::ThreadSafePartitionRoot)); in TEST() 183 alignof(partition_alloc::ThreadSafePartitionRoot)); in TEST() 186 alignof(partition_alloc::ThreadSafePartitionRoot)); in TEST()
|
| /external/cronet/base/allocator/partition_allocator/starscan/ |
| D | pcscan_unittest.cc | 102 ThreadSafePartitionRoot& root() { return *allocator_.root(); } in root() 103 const ThreadSafePartitionRoot& root() const { return *allocator_.root(); } in root() 124 using SlotSpan = ThreadSafePartitionRoot::SlotSpan; 133 FullSlotSpanAllocation GetFullSlotSpan(ThreadSafePartitionRoot& root, in GetFullSlotSpan() 140 ThreadSafePartitionRoot::Bucket& bucket = root.buckets[bucket_index]; in GetFullSlotSpan() 193 static List* Create(ThreadSafePartitionRoot& root, ListBase* next = nullptr) { in Create() 205 static void Destroy(ThreadSafePartitionRoot& root, List* list) { in Destroy() 249 ThreadSafePartitionRoot& value_root) { in TestDanglingReference() 275 ThreadSafePartitionRoot& value_root) { in TestDanglingReferenceNotVisited() 398 ThreadSafePartitionRoot::SlotSpan::FromObject(source_buffer); in TEST_F() [all …]
|
| D | metadata_allocator.cc | 27 ThreadSafePartitionRoot& PCScanMetadataAllocator() { in PA_COMPONENT_EXPORT() 28 static internal::base::NoDestructor<ThreadSafePartitionRoot> allocator( in PA_COMPONENT_EXPORT()
|
| D | metadata_allocator.h | 17 ThreadSafePartitionRoot& PCScanMetadataAllocator();
|
| D | pcscan_internal.cc | 963 [[maybe_unused]] void SweepSuperPage(ThreadSafePartitionRoot* root, in SweepSuperPage() 968 ThreadSafePartitionRoot::FromFirstSuperPage(super_page); in SweepSuperPage() 977 ThreadSafePartitionRoot* root, in SweepSuperPageAndDiscardMarkedQuarantine() 1008 ThreadSafePartitionRoot* root, in SweepSuperPageWithBatchedFree() 1073 auto* root = ThreadSafePartitionRoot::FromFirstSuperPage(super_page); in SweepQuarantine()
|
| /external/cronet/base/allocator/partition_allocator/ |
| D | thread_cache_unittest.cc | 32 using BucketDistribution = ThreadSafePartitionRoot::BucketDistribution; 102 ThreadSafePartitionRoot* root = allocator_->root(); in SetUp() 139 ThreadSafePartitionRoot* root() { return allocator_->root(); } in root() 146 ThreadSafePartitionRoot::BucketDistribution::kDefault); in GetBucketSizeForThreadCache() 298 ThreadSafePartitionRoot::Free(ptr); in TEST_P() 361 size_t FillThreadCacheAndReturnIndex(ThreadSafePartitionRoot* root, in FillThreadCacheAndReturnIndex() 389 ThreadSafePartitionRoot* root, in ThreadDelegateForMultipleThreadCaches() 406 ThreadSafePartitionRoot* root_ = nullptr; 432 ThreadSafePartitionRoot* root, in ThreadDelegateForThreadCacheReclaimedWhenThreadExits() 444 ThreadSafePartitionRoot* root_ = nullptr; [all …]
|
| D | extended_api.cc | 18 void DisableThreadCacheForRootIfEnabled(ThreadSafePartitionRoot* root) { in DisableThreadCacheForRootIfEnabled() 33 ThreadSafePartitionRoot* root) { in EnablePartitionAllocThreadCacheForRootIfDisabled() 69 ThreadSafePartitionRoot* root) in ThreadCacheProcessScopeForTesting()
|
| D | extended_api.h | 28 explicit ThreadCacheProcessScopeForTesting(ThreadSafePartitionRoot* root); 34 ThreadSafePartitionRoot* root_ = nullptr;
|
| D | partition_root.cc | 124 using EnumerateCallback = void (*)(ThreadSafePartitionRoot* root, 140 ThreadSafePartitionRoot* root; in Enumerate() 147 ThreadSafePartitionRoot* root; in Enumerate() 155 void Register(ThreadSafePartitionRoot* root) { in Register() 156 internal::ScopedGuard guard(ThreadSafePartitionRoot::GetEnumeratorLock()); in Register() 165 void Unregister(ThreadSafePartitionRoot* root) { in Unregister() 166 internal::ScopedGuard guard(ThreadSafePartitionRoot::GetEnumeratorLock()); in Unregister() 167 ThreadSafePartitionRoot* prev = root->prev_root; in Unregister() 168 ThreadSafePartitionRoot* next = root->next_root; in Unregister() 187 ThreadSafePartitionRoot* Head(ThreadSafePartitionRoot* roots) { in Head() [all …]
|
| D | partition_alloc_perftest.cc | 100 void Free(void* data) override { ThreadSafePartitionRoot::FreeNoHooks(data); } in Free() 103 ThreadSafePartitionRoot alloc_{{ 173 void Free(void* data) override { ThreadSafePartitionRoot::Free(data); } in Free() 177 ThreadSafePartitionRoot alloc_{{
|
| D | partition_alloc_forward.h | 64 using ThreadSafePartitionRoot = PartitionRoot<internal::ThreadSafe>; variable
|
| D | gwp_asan_support.cc | 36 static internal::base::NoDestructor<ThreadSafePartitionRoot> root(kConfig); in MapRegion()
|
| D | pkey_unittest.cc | 34 partition_alloc::ThreadSafePartitionRoot* allocatorRoot;
|
| D | partition_root.h | 2236 using ThreadSafePartitionRoot = PartitionRoot<internal::ThreadSafe>; variable 2238 static_assert(offsetof(ThreadSafePartitionRoot, lock_) ==
|
| D | partition_alloc_unittest.cc | 221 using BucketDistribution = ThreadSafePartitionRoot::BucketDistribution; 239 void SetDistributionForPartitionRoot(ThreadSafePartitionRoot* root, in SetDistributionForPartitionRoot()
|
| /external/cronet/base/allocator/dispatcher/ |
| D | dispatcher_unittest.cc | 30 using partition_alloc::ThreadSafePartitionRoot; 111 ThreadSafePartitionRoot alloc_{{
|
| /external/cronet/base/memory/ |
| D | nonscannable_memory.h | 50 partition_alloc::ThreadSafePartitionRoot* root() { in root()
|
| D | nonscannable_memory.cc | 57 partition_alloc::ThreadSafePartitionRoot::FreeNoHooks(ptr); in Free()
|
| /external/pdfium/core/fxcrt/ |
| D | fx_memory_pa.cpp | 141 partition_alloc::ThreadSafePartitionRoot::Free(ptr); in FX_Free()
|