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()); 247 roundUp(NumCounters, static_cast<uptr>(1U) << PackingRatioLog) >> in get() 430 PagesCount = roundUp(ReleaseSize, PageSize) / PageSize; in ensurePageMapAllocated() 495 FromInRegion = roundUp(FromInRegion + 1, PageSize); in markRangeAsAllCounted() 561 const uptr RoundedRegionSize = roundUp(RegionSize, PageSize); in markFreeBlocksInRegion()
|
H A D | wrappers_c_checks.h | 65 return roundUp(Size, PageSize) < Size; in checkForPvallocOverflow()
|
H A D | secondary.h | 597 const uptr MinNeededSizeForCache = roundUp(Size + getHeadersSize(), PageSize); in allocate() 629 roundUp(roundUp(Size, Alignment) + getHeadersSize(), PageSize); in allocate() 653 CommitBase = roundUp(MapBase + PageSize + 1, Alignment) - PageSize; in allocate() 663 CommitBase + PageSize + roundUp(Size, PageSize) + PageSize; in allocate()
|
H A D | combined.h | 371 roundUp(Size, MinAlignment) + 413 const uptr UserPtr = roundUp( 1179 const uptr NextPage = roundUp(TaggedUserPtr, getPageSizeCached()); in initChunkWithMemoryTagging() 1192 Min(Size, roundUp(PrevEnd - TaggedUserPtr, in initChunkWithMemoryTagging() 1373 uptr RoundOldPtr = roundUp(OldPtr, archMemoryTagGranuleSize()); in resizeTaggedChunk() 1378 RoundNewPtr = roundUp(NewPtr, archMemoryTagGranuleSize()); in resizeTaggedChunk() 1681 /*Addr=*/0U, roundUp(StackDepotSize, getPageSizeCached()), in initRingBufferMaybe() 1689 roundUp(ringBufferSizeInBytes(AllocationRingBufferSize), in initRingBufferMaybe()
|
H A D | vector.h | 99 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 | 37 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 | 69 ? roundUp(sizeof(TransferBatchT), 1U << CompactPtrScale) in getSizeByClassId() 1045 roundUp(TotalUserBytes - MappedUser, MapSizeIncrement); in populateFreeListAndPopBlocks() 1180 roundUp(Region->MemMapInfo.AllocatedUser, PageSize) / PageSize; in getRegionFragmentationInfo()
|
H A D | primary32.h | 434 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 | 3329 bool roundUp; in convertNormalToHexString() local 3334 roundUp = false; in convertNormalToHexString() 3361 roundUp = roundAwayFromZero(rounding_mode, fraction, bits); in convertNormalToHexString() 3394 if (roundUp) { in convertNormalToHexString()
|
/freebsd/contrib/sqlite3/ |
H A D | sqlite3.c | 163707 int roundUp, /* Round up if true. Round down if false */ 163875 if( roundUp ){
|