Lines Matching refs:Alignment
34 unsigned alignment,
39 size, alignment, sectionID, sectionName);
43 unsigned alignment,
50 size, alignment, sectionID, sectionName, isReadOnly);
99 void useSpace(uintptr_t* UsedSize, uintptr_t Size, unsigned Alignment) {
100 uintptr_t AlignedSize = (Size + Alignment - 1) / Alignment * Alignment;
101 uintptr_t AlignedBegin = (*UsedSize + Alignment - 1) / Alignment * Alignment;
105 uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
108 useSpace(IsReadOnly ? &UsedDataSizeRO : &UsedDataSizeRW, Size, Alignment);
109 return SectionMemoryManager::allocateDataSection(Size, Alignment,
113 uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
116 useSpace(&UsedCodeSize, Size, Alignment);
117 return SectionMemoryManager::allocateCodeSection(Size, Alignment,