Lines Matching defs:Alignment
22 unsigned Alignment,
27 return allocateSection(RODataMem, Size, Alignment);
28 return allocateSection(RWDataMem, Size, Alignment);
32 unsigned Alignment,
35 return allocateSection(CodeMem, Size, Alignment);
40 unsigned Alignment) {
41 if (!Alignment)
42 Alignment = 16;
44 assert(!(Alignment & (Alignment - 1)) && "Alignment must be a power of two.");
46 uintptr_t RequiredSize = Alignment * ((Size + Alignment - 1)/Alignment + 1);
57 Addr = (Addr + Alignment - 1) & ~(uintptr_t)(Alignment - 1);
93 Addr = (Addr + Alignment - 1) & ~(uintptr_t)(Alignment - 1);