Lines Matching refs:Cur
856 DataExtractor::Cursor Cur(0); in dumpStackSizesSection() local
857 while (Cur && Cur.tell() < Content.size()) { in dumpStackSizesSection()
858 uint64_t Address = Data.getAddress(Cur); in dumpStackSizesSection()
859 uint64_t Size = Data.getULEB128(Cur); in dumpStackSizesSection()
863 if (Content.empty() || !Cur) { in dumpStackSizesSection()
865 consumeError(Cur.takeError()); in dumpStackSizesSection()
892 DataExtractor::Cursor Cur(0); in dumpBBAddrMapSection() local
895 while (Cur && Cur.tell() < Content.size()) { in dumpBBAddrMapSection()
897 Version = Data.getU8(Cur); in dumpBBAddrMapSection()
898 if (Cur && Version > 1) in dumpBBAddrMapSection()
903 Feature = Data.getU8(Cur); in dumpBBAddrMapSection()
905 uint64_t Address = Data.getAddress(Cur); in dumpBBAddrMapSection()
906 uint64_t NumBlocks = Data.getULEB128(Cur); in dumpBBAddrMapSection()
909 for (uint64_t BlockID = 0; Cur && BlockID < NumBlocks; ++BlockID) { in dumpBBAddrMapSection()
910 uint64_t Offset = Data.getULEB128(Cur); in dumpBBAddrMapSection()
911 uint64_t Size = Data.getULEB128(Cur); in dumpBBAddrMapSection()
912 uint64_t Metadata = Data.getULEB128(Cur); in dumpBBAddrMapSection()
919 if (!Cur) { in dumpBBAddrMapSection()
921 consumeError(Cur.takeError()); in dumpBBAddrMapSection()
942 DataExtractor::Cursor Cur(0); in dumpAddrsigSection() local
945 while (Cur && Cur.tell() < Content.size()) { in dumpAddrsigSection()
946 uint64_t SymNdx = Data.getULEB128(Cur); in dumpAddrsigSection()
947 if (!Cur) in dumpAddrsigSection()
961 if (Cur) { in dumpAddrsigSection()
966 consumeError(Cur.takeError()); in dumpAddrsigSection()
1054 DataExtractor::Cursor Cur(0); in dumpCallGraphProfileSection() local
1056 E.Weight = Data.getU64(Cur); in dumpCallGraphProfileSection()
1057 if (!Cur) { in dumpCallGraphProfileSection()
1058 consumeError(Cur.takeError()); in dumpCallGraphProfileSection()
1262 DataExtractor::Cursor Cur(0); in dumpHashSection() local
1264 uint64_t NBucket = Data.getU32(Cur); in dumpHashSection()
1265 uint64_t NChain = Data.getU32(Cur); in dumpHashSection()
1268 if (Cur) in dumpHashSection()
1275 V = Data.getU32(Cur); in dumpHashSection()
1279 V = Data.getU32(Cur); in dumpHashSection()
1281 if (Cur) in dumpHashSection()
1302 DataExtractor::Cursor Cur(0); in dumpGnuHashSection() local
1303 uint64_t NBuckets = Data.getU32(Cur); in dumpGnuHashSection()
1304 Header.SymNdx = Data.getU32(Cur); in dumpGnuHashSection()
1305 uint64_t MaskWords = Data.getU32(Cur); in dumpGnuHashSection()
1306 Header.Shift2 = Data.getU32(Cur); in dumpGnuHashSection()
1310 uint64_t Size = Data.getData().size() - Cur.tell(); in dumpGnuHashSection()
1311 if (!Cur || (Size < MaskWords * AddrSize + NBuckets * 4) || in dumpGnuHashSection()
1313 consumeError(Cur.takeError()); in dumpGnuHashSection()
1322 Val = Data.getAddress(Cur); in dumpGnuHashSection()
1326 Val = Data.getU32(Cur); in dumpGnuHashSection()
1328 S->HashValues.emplace((Data.getData().size() - Cur.tell()) / 4); in dumpGnuHashSection()
1330 Val = Data.getU32(Cur); in dumpGnuHashSection()
1332 if (Cur) in dumpGnuHashSection()