Searched refs:GetUsableSize (Results 1 – 8 of 8) sorted by relevance
536 PA_ALWAYS_INLINE static size_t GetUsableSize(void* ptr); in PA_COMPONENT_EXPORT()1069 for (size_t i = 0; i < slot_span->GetUsableSize(root); ++i) { in PartitionAllocFreeForRefCounting()1121 PA_DCHECK(*usable_size == slot_span->GetUsableSize(this)); in AllocFromBucket()1150 *usable_size = slot_span->GetUsableSize(this); in AllocFromBucket()1291 PCScan::MoveToQuarantine(object, slot_span->GetUsableSize(root), in FreeNoHooks()1345 slot_span->GetUsableSize(this)); in FreeNoHooksImmediate()1370 auto usable_size = slot_span->GetUsableSize(this); in FreeNoHooksImmediate()1536 PA_DCHECK(usable_size == slot_span->GetUsableSize(this)); in RawFreeWithThreadCache()1548 size_t usable_size = slot_span->GetUsableSize(this); in RawFreeWithThreadCache()1717 PA_ALWAYS_INLINE size_t PartitionRoot<thread_safe>::GetUsableSize(void* ptr) { in GetUsableSize() function[all …]
89 uintptr_t object_end = object_addr + slot_span->GetUsableSize(root); in IsPtrWithinSameAlloc()1108 size_t current_usable_size = slot_span->GetUsableSize(this); in TryReallocInPlaceForDirectMap()1169 thread_cache->RecordAllocation(slot_span->GetUsableSize(this)); in TryReallocInPlaceForDirectMap()1177 slot_span->GetUsableSize(this)); in TryReallocInPlaceForDirectMap()1199 size_t current_usable_size = slot_span->GetUsableSize(this); in TryReallocInPlaceForNormalBuckets()1227 slot_span->GetUsableSize(this)); in TryReallocInPlaceForNormalBuckets()1238 thread_cache->RecordAllocation(slot_span->GetUsableSize(this)); in TryReallocInPlaceForNormalBuckets()1293 old_usable_size = slot_span->GetUsableSize(old_root); in ReallocWithFlags()
1304 expected_total_size += root()->GetUsableSize(ptr); in TEST_P()1307 expected_total_size += root()->GetUsableSize(ptr2); in TEST_P()1310 expected_total_size += root()->GetUsableSize(ptr3); in TEST_P()1313 expected_total_size += root()->GetUsableSize(ptr4); in TEST_P()1362 total_size += root()->GetUsableSize(ptr); in TEST_P()1401 size_t usable_size = root()->GetUsableSize(ptr); in TEST_P()1408 usable_size = root()->GetUsableSize(ptr); in TEST_P()
262 GetUsableSize(PartitionRoot<thread_safe>* root) const { in GetUsableSize() function693 root->flags.extras_offset + slot_span->GetUsableSize(root)); in FromObjectInnerAddr()
1967 size_t very_small_actual_size = allocator.root()->GetUsableSize(ptr); in TEST_P()3721 EXPECT_EQ(0ULL, PartitionRoot<ThreadSafe>::GetUsableSize(nullptr)); in TEST_P()3724 TEST_P(PartitionAllocTest, GetUsableSize) { in TEST_P() argument3729 size_t usable_size = PartitionRoot<ThreadSafe>::GetUsableSize(ptr); in TEST_P()3748 size_t usable_size = PartitionRoot<ThreadSafe>::GetUsableSize(ptr); in TEST_P()
626 static size_t GetUsableSize(void* ptr) { in GetUsableSize() function630 static size_t GetUsableSize(void* ptr) { in GetUsableSize() function634 static size_t GetUsableSize(void* ptr) { in GetUsableSize() function644 EXPECT_EQ(GetUsableSize(kTestSizeEstimateAddress), kTestSizeEstimate); in TEST_F()650 size_t sz = GetUsableSize(alloc); in TEST_F()654 EXPECT_EQ(GetUsableSize(alloc), sz); in TEST_F()
331 partition_alloc::ThreadSafePartitionRoot::GetUsableSize(address); in PartitionAlignedRealloc()
739 const size_t size = slot_span->GetUsableSize(root); in ClearQuarantinedSlotsAndPrepareCardTable()