Searched refs:alignSize (Results 1 – 5 of 5) sorted by relevance
401 size_t alignSize = (size_t)1 << p->numAlignBits; in AlignOffsetAlloc_Alloc() local403 if (alignSize < sizeof(void *)) in AlignOffsetAlloc_Alloc()404 alignSize = sizeof(void *); in AlignOffsetAlloc_Alloc()406 if (p->offset >= alignSize) in AlignOffsetAlloc_Alloc()412 newSize = size + alignSize + extra + ADJUST_ALLOC_SIZE; in AlignOffsetAlloc_Alloc()422 alignSize - p->offset + extra + ADJUST_ALLOC_SIZE, alignSize) + p->offset; in AlignOffsetAlloc_Alloc()
136 var alignSize = in Prep()140 while (_space < alignSize + size + additionalBytes) in Prep()147 if (alignSize > 0) in Prep()148 Pad(alignSize); in Prep()
332 alignSize = (~(len(self.Bytes) - self.Head() + additionalBytes)) + 1333 alignSize &= (size - 1)336 while self.Head() < alignSize+size+additionalBytes:341 self.Pad(alignSize)
262 alignSize := (^(len(b.Bytes) - int(b.Head()) + additionalBytes)) + 1263 alignSize &= (size - 1)266 for int(b.head) <= alignSize+size+additionalBytes {271 b.Pad(alignSize)
460 const unsigned alignSize = (unsigned)1 << alignShifts; in SkipToAligned() local462 pos &= (alignSize - 1); in SkipToAligned()465 unsigned skip = alignSize - pos; in SkipToAligned()467 skip += alignSize; in SkipToAligned()