Searched refs:roundUpTo (Results 1 – 14 of 14) sorted by relevance
/external/scudo/standalone/tests/ |
D | secondary_test.cpp | 40 scudo::roundUpTo(reinterpret_cast<scudo::uptr>(P), Align)); in testSecondaryBasic() 77 constexpr scudo::uptr HeaderSize = scudo::roundUpTo(8, MinAlign); in TEST() 88 scudo::roundUpTo((1U << SizeLog) + Delta, MinAlign); in TEST() 94 scudo::roundUpTo(reinterpret_cast<scudo::uptr>(P), Align)); in TEST()
|
D | release_test.cpp | 228 scudo::uptr P = scudo::roundUpTo(CurrentFreeRangeStart, PageSize); in testReleaseFreeMemoryToOS() 243 scudo::uptr P = scudo::roundUpTo(CurrentFreeRangeStart, PageSize); in testReleaseFreeMemoryToOS()
|
D | combined_test.cpp | 44 scudo::roundUpTo(Size, MinAlignment) + in isTaggedAllocation() 55 Size = scudo::roundUpTo(Size, scudo::archMemoryTagGranuleSize()); in checkMemoryTaggingMaybe()
|
/external/scudo/standalone/ |
D | memtag.h | 120 uptr RoundOldPtr = roundUpTo(OldPtr, 16); in resizeTaggedChunk() 124 uptr RoundNewPtr = untagPointer(roundUpTo(NewPtr, 16)); in resizeTaggedChunk()
|
D | secondary.h | 38 return roundUpTo(sizeof(Header), 1U << SCUDO_MIN_ALIGNMENT_LOG); in getHeaderSize() 333 roundUpTo(Size + LargeBlock::getHeaderSize(), PageSize); in allocate() 373 CommitBase = roundUpTo(MapBase + PageSize + 1, AlignmentHint) - PageSize; in allocate() 383 roundUpTo((Size - AlignmentHint), PageSize) + in allocate()
|
D | wrappers_c_checks.h | 62 return roundUpTo(Size, PageSize) < Size; in checkForPvallocOverflow()
|
D | release.h | 73 roundUpTo(NumCounters, static_cast<uptr>(1U) << PackingRatioLog) >> in PackedCounterArray() 224 const uptr PagesCount = roundUpTo(RegionSize, PageSize) / PageSize; in releaseFreeMemoryToOS()
|
D | combined.h | 228 if (void *Ptr = GuardedAlloc.allocate(roundUpTo(Size, Alignment))) 249 roundUpTo(Size, MinAlignment) + 298 const uptr UserPtr = roundUpTo(UnalignedUserPtr, Alignment); 356 const uptr NextPage = roundUpTo(TaggedUserPtr, getPageSizeCached());
|
D | vector.h | 86 roundUpTo(NewCapacity * sizeof(T), getPageSizeCached()); in reallocate()
|
D | common.h | 29 inline constexpr uptr roundUpTo(uptr X, uptr Boundary) { in roundUpTo() function
|
D | chunk.h | 86 return roundUpTo(sizeof(PackedHeader), 1U << SCUDO_MIN_ALIGNMENT_LOG); in getHeaderSize()
|
D | wrappers_c.inc | 122 size ? scudo::roundUpTo(size, PageSize) : PageSize,
|
D | primary64.h | 303 roundUpTo(TotalUserBytes - MappedUser, MapSizeIncrement); in populateFreeList()
|
D | primary32.h | 265 Region = roundUpTo(MapBase, RegionSize); in allocateRegionSlow()
|