Searched refs:ExpectedIndex (Results 1 – 7 of 7) sorted by relevance
43 auto ExpectedIndex = translateOffsetIndex(Offset); in readBytes() local44 if (!ExpectedIndex) in readBytes()45 return ExpectedIndex.takeError(); in readBytes()46 const auto &Item = Items[*ExpectedIndex]; in readBytes()57 auto ExpectedIndex = translateOffsetIndex(Offset); in readLongestContiguousChunk() local58 if (!ExpectedIndex) in readLongestContiguousChunk()59 return ExpectedIndex.takeError(); in readLongestContiguousChunk()60 Buffer = Traits::bytes(Items[*ExpectedIndex]); in readLongestContiguousChunk()
354 uint32_t ExpectedIndex = 0; in writeSectionContent() local356 if (Sig.Index != ExpectedIndex) { in writeSectionContent()360 ++ExpectedIndex; in writeSectionContent()433 uint32_t ExpectedIndex = NumImportedTables; in writeSectionContent() local435 if (Table.Index != ExpectedIndex) { in writeSectionContent()439 ++ExpectedIndex; in writeSectionContent()455 uint32_t ExpectedIndex = NumImportedEvents; in writeSectionContent() local457 if (Event.Index != ExpectedIndex) { in writeSectionContent()461 ++ExpectedIndex; in writeSectionContent()470 uint32_t ExpectedIndex = NumImportedGlobals; in writeSectionContent() local[all …]
157 auto ExpectedIndex = Msf.addStream(HashStreamSize); in finalizeMsfLayout() local158 if (!ExpectedIndex) in finalizeMsfLayout()159 return ExpectedIndex.takeError(); in finalizeMsfLayout()160 HashStreamIndex = *ExpectedIndex; in finalizeMsfLayout()
92 Expected<uint32_t> ExpectedIndex = allocateNamedStream(Name, Data.size()); in addNamedStream() local93 if (!ExpectedIndex) in addNamedStream()94 return ExpectedIndex.takeError(); in addNamedStream()95 assert(NamedStreamData.count(*ExpectedIndex) == 0); in addNamedStream()96 NamedStreamData[*ExpectedIndex] = std::string(Data); in addNamedStream()
312 auto ExpectedIndex = Msf.addStream(S->Size); in finalizeMsfLayout() local313 if (!ExpectedIndex) in finalizeMsfLayout()314 return ExpectedIndex.takeError(); in finalizeMsfLayout()315 S->StreamNumber = *ExpectedIndex; in finalizeMsfLayout()
2610 ValType ExpectedIndex, unsigned ExpectedIndexStride) { in fitsRegularPattern() argument2614 if (*I != -1 && *I != ExpectedIndex) in fitsRegularPattern()2616 ExpectedIndex += ExpectedIndexStride; in fitsRegularPattern()
9701 unsigned ExpectedIndex = i * NumEltsIn128Bits + in isHopBuildVector() local9703 if (ExpectedIndex == ExtIndex0 && ExtIndex1 == ExtIndex0 + 1) in isHopBuildVector()9712 if (ExpectedIndex == ExtIndex1 && ExtIndex0 == ExtIndex1 + 1) in isHopBuildVector()