Searched refs:roundUp (Results 1 – 13 of 13) sorted by relevance
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | release.h | 180 roundUp(NumElements * sizeof(uptr), getPageSizeCached()); in getDynamicBuffer() 247 roundUp(NumCounters, static_cast<uptr>(1U) << PackingRatioLog) >> in reset() 430 PagesCount = roundUp(ReleaseSize, PageSize) / PageSize; in BlockSize() 495 FromInRegion = roundUp(FromInRegion + 1, PageSize); in markRangeAsAllCounted() 561 const uptr RoundedRegionSize = roundUp(RegionSize, PageSize); in markFreeBlocksInRegion()
|
H A D | wrappers_c_checks.h | 67 return roundUp(Size, PageSize) < Size; in checkForPvallocOverflow()
|
H A D | secondary.h | 571 const uptr MinNeededSizeForCache = roundUp(Size + getHeadersSize(), PageSize); in allocate() 603 roundUp(roundUp(Size, Alignment) + getHeadersSize(), PageSize); in allocate() 627 CommitBase = roundUp(MapBase + PageSize + 1, Alignment) - PageSize; in allocate() 637 CommitBase + PageSize + roundUp(Size, PageSize) + PageSize; in allocate()
|
H A D | combined.h | 349 roundUp(Size, MinAlignment) + 397 const uptr UserPtr = roundUp(UnalignedUserPtr, Alignment); 456 const uptr NextPage = roundUp(TaggedUserPtr, getPageSizeCached()); 469 Min(Size, roundUp(PrevEnd - TaggedUserPtr, 1230 uptr RoundOldPtr = roundUp(OldPtr, archMemoryTagGranuleSize()); in resizeTaggedChunk() 1235 RoundNewPtr = roundUp(NewPtr, archMemoryTagGranuleSize()); in resizeTaggedChunk() 1497 roundUp(ringBufferSizeInBytes(AllocationRingBufferSize), in mapAndInitializeRingBuffer()
|
H A D | vector.h | 94 NewCapacity = roundUp(NewCapacity * sizeof(T), getPageSizeCached()); in reallocate()
|
H A D | chunk.h | 88 return roundUp(sizeof(PackedHeader), 1U << SCUDO_MIN_ALIGNMENT_LOG); in getHeaderSize()
|
H A D | common.h | 33 inline constexpr uptr roundUp(uptr X, uptr Boundary) { in roundUp() function
|
H A D | wrappers_c.inc | 176 SCUDO_ALLOCATOR.allocate(size ? scudo::roundUp(size, PageSize) : PageSize, 178 reportAllocation(Ptr, scudo::roundUp(size, PageSize));
|
H A D | primary64.h | 71 ? roundUp(sizeof(TransferBatchT), 1U << CompactPtrScale) in getSizeByClassId() 993 roundUp(TotalUserBytes - MappedUser, MapSizeIncrement); in populateFreeListAndPopBatch() 1127 roundUp(Region->MemMapInfo.AllocatedUser, PageSize) / PageSize; in getRegionFragmentationInfo()
|
H A D | primary32.h | 448 Region = roundUp(MapBase, RegionSize); in allocateRegionSlow()
|
/freebsd/sys/contrib/ncsw/Peripherals/QM/ |
H A D | qm_portal_fqr.c | 1412 uint32_t maxP, roundDown, roundUp, tmpA, tmpN; in CalcWredCurve() local 1451 roundUp = roundDown + 4*pres; in CalcWredCurve() 1452 if((roundUp - maxP) > (maxP - roundDown)) in CalcWredCurve() 1455 maxP = roundUp; in CalcWredCurve()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | APFloat.cpp | 3298 bool roundUp; in convertNormalToHexString() local 3303 roundUp = false; in convertNormalToHexString() 3330 roundUp = roundAwayFromZero(rounding_mode, fraction, bits); in convertNormalToHexString() 3363 if (roundUp) { in convertNormalToHexString()
|
/freebsd/contrib/sqlite3/ |
H A D | sqlite3.c | 162307 int roundUp, /* Round up if true. Round down if false */ 162475 if( roundUp ){
|