Lines Matching refs:Alignment
23 unsigned Alignment, in allocateDataSection() argument
29 Size, Alignment); in allocateDataSection()
31 Alignment); in allocateDataSection()
35 unsigned Alignment, in allocateCodeSection() argument
39 Alignment); in allocateCodeSection()
44 unsigned Alignment) { in allocateSection() argument
45 if (!Alignment) in allocateSection()
46 Alignment = 16; in allocateSection()
48 assert(!(Alignment & (Alignment - 1)) && "Alignment must be a power of two."); in allocateSection()
50 uintptr_t RequiredSize = Alignment * ((Size + Alignment - 1) / Alignment + 1); in allocateSection()
72 Addr = (Addr + Alignment - 1) & ~(uintptr_t)(Alignment - 1); in allocateSection()
122 Addr = (Addr + Alignment - 1) & ~(uintptr_t)(Alignment - 1); in allocateSection()