Searched refs:alignSize (Results 1 – 2 of 2) sorted by relevance
481 size_t alignSize = (size_t)1 << p->numAlignBits; in AlignOffsetAlloc_Alloc() local483 if (alignSize < sizeof(void *)) in AlignOffsetAlloc_Alloc()484 alignSize = sizeof(void *); in AlignOffsetAlloc_Alloc()486 if (p->offset >= alignSize) in AlignOffsetAlloc_Alloc()492 newSize = size + alignSize + extra + ADJUST_ALLOC_SIZE; in AlignOffsetAlloc_Alloc()502 alignSize - p->offset + extra + ADJUST_ALLOC_SIZE, alignSize) + p->offset; in AlignOffsetAlloc_Alloc()
447 const unsigned alignSize = (unsigned)1 << alignShifts; in SkipToAligned() local449 pos &= (alignSize - 1); in SkipToAligned()452 unsigned skip = alignSize - pos; in SkipToAligned()454 skip += alignSize; in SkipToAligned()