Searched refs:alignUp (Results 1 – 1 of 1) sorted by relevance
241 static unsigned long alignUp(unsigned long x, unsigned long n) in alignUp() function450 heapSource->minimumSize = alignUp(startSize, BLOCK_SIZE); in dvmHeapSourceStartup()451 heapSource->maximumSize = alignUp(absoluteMaxSize, BLOCK_SIZE); in dvmHeapSourceStartup()594 aligned = alignUp(length, ALLOC_ALIGNMENT); in dvmHeapSourceAlloc()620 blocks = alignUp(aligned, BLOCK_SIZE) / BLOCK_SIZE; in dvmHeapSourceAlloc()1904 size = alignUp(size, ALLOC_ALIGNMENT); in scavengeBlock()1961 size = alignUp(size, ALLOC_ALIGNMENT); in verifyBlock()