Home
last modified time | relevance | path

Searched refs:PartitionRootBase (Results 1 – 8 of 8) sorted by relevance

/external/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_root_base.h20 struct PartitionRootBase;
26 PartitionRootBase* root;
35 struct BASE_EXPORT PartitionRootBase { struct
36 PartitionRootBase();
37 virtual ~PartitionRootBase();
74 ALWAYS_INLINE static PartitionRootBase* FromPage(PartitionPage* page);
91 ALWAYS_INLINE void* PartitionRootBase::AllocFromBucket(PartitionBucket* bucket, in AllocFromBucket() argument
104 DCHECK(PartitionRootBase::IsValidPage(page)); in AllocFromBucket()
118 PartitionRootBase::IsValidPage(PartitionPage::FromPointer(ret))); in AllocFromBucket()
157 ALWAYS_INLINE bool PartitionRootBase::IsValidPage(PartitionPage* page) { in IsValidPage()
[all …]
Dpartition_root_base.cc16 NOINLINE void PartitionRootBase::OutOfMemory() { in OutOfMemory()
26 if (PartitionRootBase::gOomHandlingFunction) in OutOfMemory()
27 (*PartitionRootBase::gOomHandlingFunction)(); in OutOfMemory()
31 void PartitionRootBase::DecommitEmptyPages() { in DecommitEmptyPages()
Dpartition_page.cc17 PartitionRootBase* root = PartitionRootBase::FromPage(page); in PartitionDirectUnmap()
55 PartitionRootBase* root = PartitionRootBase::FromPage(page); in PartitionRegisterEmptyPage()
137 void PartitionPage::Decommit(PartitionRootBase* root) { in Decommit()
154 void PartitionPage::DecommitIfPossible(PartitionRootBase* root) { in DecommitIfPossible()
Dpartition_bucket.h20 struct PartitionRootBase;
42 BASE_EXPORT NOINLINE void* SlowPathAlloc(PartitionRootBase* root,
85 static void OutOfMemory(const PartitionRootBase* root);
106 ALWAYS_INLINE void* AllocNewSlotSpan(PartitionRootBase* root,
Dpartition_page.h20 struct PartitionRootBase;
68 void Decommit(PartitionRootBase* root);
69 void DecommitIfPossible(PartitionRootBase* root);
Dpartition_alloc.cc50 internal::PartitionRootBase::PartitionRootBase() = default;
51 internal::PartitionRootBase::~PartitionRootBase() = default;
68 void (*internal::PartitionRootBase::gOomHandlingFunction)() = nullptr; variable
172 static void PartitionAllocBaseInit(internal::PartitionRootBase* root) { in PartitionAllocBaseInit()
193 internal::PartitionRootBase::gOomHandlingFunction = oom_handling_function; in PartitionAllocGlobalInit()
Dpartition_alloc.h111 struct BASE_EXPORT PartitionRoot : public internal::PartitionRootBase {
139 struct BASE_EXPORT PartitionRootGeneric : public internal::PartitionRootBase {
350 DCHECK(internal::PartitionRootBase::IsValidPage(page)); in PartitionAllocGetSize()
370 DCHECK(internal::PartitionRootBase::IsValidPage(page)); in PartitionFree()
Dpartition_bucket.cc22 ALWAYS_INLINE PartitionPage* PartitionDirectMap(PartitionRootBase* root, in PartitionDirectMap()
192 PartitionRootBase* root, in AllocNewSlotSpan()
454 void* PartitionBucket::SlowPathAlloc(PartitionRootBase* root, in SlowPathAlloc()