Lines Matching refs:LayoutIdx
84 uint32_t LayoutIdx) { in markSectionStart() argument
86 assert(LayoutIdx < SectionHdrLayout.size() && "LayoutIdx out of range"); in markSectionStart()
87 const auto &Entry = SectionHdrLayout[LayoutIdx]; in markSectionStart()
119 SecType Type, uint32_t LayoutIdx, uint64_t SectionStart) { in addNewSection() argument
120 assert(LayoutIdx < SectionHdrLayout.size() && "LayoutIdx out of range"); in addNewSection()
121 const auto &Entry = SectionHdrLayout[LayoutIdx]; in addNewSection()
129 OutputStream->tell() - SectionStart, LayoutIdx}); in addNewSection()
244 SecType Type, uint32_t LayoutIdx, in writeOneSection() argument
258 uint64_t SectionStart = markSectionStart(Type, LayoutIdx); in writeOneSection()
291 if (std::error_code EC = addNewSection(Type, LayoutIdx, SectionStart)) in writeOneSection()
626 for (uint32_t LayoutIdx = 0; LayoutIdx < SectionHdrLayout.size(); in writeSecHdrTable() local
627 LayoutIdx++) { in writeSecHdrTable()
628 assert(IndexMap[LayoutIdx] < SecHdrTable.size() && in writeSecHdrTable()
630 auto Entry = SecHdrTable[IndexMap[LayoutIdx]]; in writeSecHdrTable()