Searched refs:ExpectedIndex (Results 1 – 7 of 7) sorted by relevance
44 auto ExpectedIndex = translateOffsetIndex(Offset); in readBytes() local45 if (!ExpectedIndex) in readBytes()46 return ExpectedIndex.takeError(); in readBytes()47 const auto &Item = Items[*ExpectedIndex]; in readBytes()58 auto ExpectedIndex = translateOffsetIndex(Offset); in readLongestContiguousChunk() local59 if (!ExpectedIndex) in readLongestContiguousChunk()60 return ExpectedIndex.takeError(); in readLongestContiguousChunk()61 Buffer = Traits::bytes(Items[*ExpectedIndex]); in readLongestContiguousChunk()
125 auto ExpectedIndex = Msf.addStream(HashStreamSize); in finalizeMsfLayout() local126 if (!ExpectedIndex) in finalizeMsfLayout()127 return ExpectedIndex.takeError(); in finalizeMsfLayout()128 HashStreamIndex = *ExpectedIndex; in finalizeMsfLayout()
95 Expected<uint32_t> ExpectedIndex = allocateNamedStream(Name, Data.size()); in addNamedStream() local96 if (!ExpectedIndex) in addNamedStream()97 return ExpectedIndex.takeError(); in addNamedStream()98 assert(NamedStreamData.count(*ExpectedIndex) == 0); in addNamedStream()99 NamedStreamData[*ExpectedIndex] = Data; in addNamedStream()
278 auto ExpectedIndex = Msf.addStream(S->Data.size()); in finalizeMsfLayout() local279 if (!ExpectedIndex) in finalizeMsfLayout()280 return ExpectedIndex.takeError(); in finalizeMsfLayout()281 S->StreamNumber = *ExpectedIndex; in finalizeMsfLayout()
257 uint32_t ExpectedIndex = 0; in writeSectionContent() local259 if (Sig.Index != ExpectedIndex) { in writeSectionContent()263 ++ExpectedIndex; in writeSectionContent()358 uint32_t ExpectedIndex = NumImportedGlobals; in writeSectionContent() local360 if (Global.Index != ExpectedIndex) { in writeSectionContent()364 ++ExpectedIndex; in writeSectionContent()390 uint32_t ExpectedIndex = NumImportedFunctions; in writeSectionContent() local394 if (Func.Index != ExpectedIndex) { in writeSectionContent()398 ++ExpectedIndex; in writeSectionContent()
2588 ValType ExpectedIndex, unsigned ExpectedIndexStride) { in fitsRegularPattern() argument2592 if (*I != -1 && *I != ExpectedIndex) in fitsRegularPattern()2594 ExpectedIndex += ExpectedIndexStride; in fitsRegularPattern()
2497 ValType ExpectedIndex, unsigned ExpectedIndexStride) { in fitsRegularPattern() argument2501 if (*I != -1 && *I != ExpectedIndex) in fitsRegularPattern()2503 ExpectedIndex += ExpectedIndexStride; in fitsRegularPattern()