Searched refs:ExpectedIndex (Results 1 – 8 of 8) sorted by relevance
42 auto ExpectedIndex = translateOffsetIndex(Offset); in readBytes() 43 if (!ExpectedIndex) in readBytes() local 44 return ExpectedIndex.takeError(); in readBytes() 45 const auto &Item = Items[*ExpectedIndex]; in readBytes() 56 auto ExpectedIndex = translateOffsetIndex(Offset); in readLongestContiguousChunk() 57 if (!ExpectedIndex) in readLongestContiguousChunk() local 58 return ExpectedIndex.takeError(); in readLongestContiguousChunk() 59 Buffer = Traits::bytes(Items[*ExpectedIndex]); in readLongestContiguousChunk()
154 auto ExpectedIndex = Msf.addStream(HashStreamSize); in finalizeMsfLayout() 155 if (!ExpectedIndex) in finalizeMsfLayout() 156 return ExpectedIndex.takeError(); in finalizeMsfLayout() 157 HashStreamIndex = *ExpectedIndex; in finalizeMsfLayout() 153 auto ExpectedIndex = Msf.addStream(HashStreamSize); finalizeMsfLayout() local
102 Expected<uint32_t> ExpectedIndex = allocateNamedStream(Name, Data.size()); in addNamedStream() 103 if (!ExpectedIndex) in addNamedStream() 104 return ExpectedIndex.takeError(); in addNamedStream() 105 assert(NamedStreamData.count(*ExpectedIndex) == 0); in addNamedStream() 106 NamedStreamData[*ExpectedIndex] = std::string(Data); in addNamedStream() 101 Expected<uint32_t> ExpectedIndex = allocateNamedStream(Name, Data.size()); addNamedStream() local
312 auto ExpectedIndex = Msf.addStream(S->Size); in finalizeMsfLayout() 313 if (!ExpectedIndex) in finalizeMsfLayout() 314 return ExpectedIndex.takeError(); in finalizeMsfLayout() 315 S->StreamNumber = *ExpectedIndex; in finalizeMsfLayout() 311 auto ExpectedIndex = Msf.addStream(S->Size); finalizeMsfLayout() local
367 uint32_t ExpectedIndex = 0; in writeSectionContent() local369 if (Sig.Index != ExpectedIndex) { in writeSectionContent()373 ++ExpectedIndex; in writeSectionContent()446 uint32_t ExpectedIndex = NumImportedTables; in writeSectionContent() local448 if (Table.Index != ExpectedIndex) { in writeSectionContent()452 ++ExpectedIndex; in writeSectionContent()477 uint32_t ExpectedIndex = NumImportedGlobals; in writeSectionContent() local479 if (Global.Index != ExpectedIndex) { in writeSectionContent()483 ++ExpectedIndex; in writeSectionContent()521 uint32_t ExpectedIndex = NumImportedFunctions; in writeSectionContent() local[all …]
2605 ValType ExpectedIndex, unsigned ExpectedIndexStride) { in fitsRegularPattern() argument2609 if (*I != -1 && *I != ExpectedIndex) in fitsRegularPattern()2611 ExpectedIndex += ExpectedIndexStride; in fitsRegularPattern()
439 ValType ExpectedIndex, unsigned ExpectedIndexStride) { in fitsRegularPattern() argument443 if (*I != -1 && *I != ExpectedIndex) in fitsRegularPattern()445 ExpectedIndex += ExpectedIndexStride; in fitsRegularPattern()
8173 unsigned ExpectedIndex = i * NumEltsIn128Bits + in isHopBuildVector() local8175 if (ExpectedIndex == ExtIndex0 && ExtIndex1 == ExtIndex0 + 1) in isHopBuildVector()8184 if (ExpectedIndex == ExtIndex1 && ExtIndex0 == ExtIndex1 + 1) in isHopBuildVector()