Lines Matching refs:error_code
240 std::error_code SampleProfileReaderText::readImpl() { in readImpl()
387 std::error_code EC; in readNumber()
407 std::error_code EC; in readString()
421 std::error_code EC; in readUnencodedNumber()
436 std::error_code EC; in readStringIndex()
438 if (std::error_code EC = Idx.getError()) in readStringIndex()
447 if (std::error_code EC = Idx.getError()) in readStringFromTable()
459 if (std::error_code EC = Idx.getError()) in readStringFromTable()
469 if (std::error_code EC = FID.getError()) in readStringFromTable()
483 if (std::error_code EC = Idx.getError()) in readStringFromTable()
489 std::error_code
492 if (std::error_code EC = NumSamples.getError()) in readProfile()
498 if (std::error_code EC = NumRecords.getError()) in readProfile()
503 if (std::error_code EC = LineOffset.getError()) in readProfile()
507 return std::error_code(); in readProfile()
511 if (std::error_code EC = Discriminator.getError()) in readProfile()
515 if (std::error_code EC = NumSamples.getError()) in readProfile()
519 if (std::error_code EC = NumCalls.getError()) in readProfile()
527 if (std::error_code EC = CalledFunction.getError()) in readProfile()
531 if (std::error_code EC = CalledFunctionSamples.getError()) in readProfile()
543 if (std::error_code EC = NumCallsites.getError()) in readProfile()
548 if (std::error_code EC = LineOffset.getError()) in readProfile()
552 if (std::error_code EC = Discriminator.getError()) in readProfile()
556 if (std::error_code EC = FName.getError()) in readProfile()
565 if (std::error_code EC = readProfile(CalleeProfile)) in readProfile()
572 std::error_code
576 if (std::error_code EC = NumHeadSamples.getError()) in readFuncProfile()
580 if (std::error_code EC = FName.getError()) in readFuncProfile()
593 if (std::error_code EC = readProfile(FProfile)) in readFuncProfile()
598 std::error_code SampleProfileReaderBinary::readImpl() { in readImpl()
601 if (std::error_code EC = readFuncProfile(Data)) in readImpl()
608 std::error_code SampleProfileReaderExtBinaryBase::readOneSection( in readOneSection()
614 if (std::error_code EC = readSummary()) in readOneSection()
631 if (std::error_code EC = readNameTableSec(UseMD5)) in readOneSection()
636 if (std::error_code EC = readFuncProfiles()) in readOneSection()
640 if (std::error_code EC = readFuncOffsetTable()) in readOneSection()
649 if (std::error_code EC = readFuncMetadata(HasAttribute)) in readOneSection()
654 if (std::error_code EC = readProfileSymbolList()) in readOneSection()
658 if (std::error_code EC = readCustomSection(Entry)) in readOneSection()
674 std::error_code SampleProfileReaderExtBinaryBase::readFuncOffsetTable() { in readFuncOffsetTable()
681 if (std::error_code EC = Size.getError()) in readFuncOffsetTable()
687 if (std::error_code EC = FName.getError()) in readFuncOffsetTable()
691 if (std::error_code EC = Offset.getError()) in readFuncOffsetTable()
699 std::error_code SampleProfileReaderExtBinaryBase::readFuncProfiles() { in readFuncProfiles()
712 if (std::error_code EC = readFuncProfile(Data)) in readFuncProfiles()
732 if (std::error_code EC = readFuncProfile(FuncProfileAddr)) in readFuncProfiles()
768 if (std::error_code EC = readFuncProfile(FuncProfileAddr)) in readFuncProfiles()
784 if (std::error_code EC = readFuncProfile(FuncProfileAddr)) in readFuncProfiles()
797 std::error_code SampleProfileReaderExtBinaryBase::readProfileSymbolList() { in readProfileSymbolList()
801 if (std::error_code EC = ProfSymList->read(Data, End - Data)) in readProfileSymbolList()
808 std::error_code SampleProfileReaderExtBinaryBase::decompressSection( in decompressSection()
814 if (std::error_code EC = DecompressSize.getError()) in decompressSection()
819 if (std::error_code EC = CompressSize.getError()) in decompressSection()
837 std::error_code SampleProfileReaderExtBinaryBase::readImpl() { in readImpl()
861 if (std::error_code EC = decompressSection( in readImpl()
868 if (std::error_code EC = readOneSection(SecStart, SecSize, Entry)) in readImpl()
883 std::error_code SampleProfileReaderCompactBinary::readImpl() { in readImpl()
907 if (std::error_code EC = readFuncProfile( in readImpl()
916 std::error_code SampleProfileReaderRawBinary::verifySPMagic(uint64_t Magic) { in verifySPMagic()
922 std::error_code SampleProfileReaderExtBinary::verifySPMagic(uint64_t Magic) { in verifySPMagic()
928 std::error_code
935 std::error_code SampleProfileReaderBinary::readNameTable() { in readNameTable()
937 if (std::error_code EC = Size.getError()) in readNameTable()
942 if (std::error_code EC = Name.getError()) in readNameTable()
950 std::error_code SampleProfileReaderExtBinaryBase::readMD5NameTable() { in readMD5NameTable()
952 if (std::error_code EC = Size.getError()) in readMD5NameTable()
970 if (std::error_code EC = FID.getError()) in readMD5NameTable()
980 std::error_code SampleProfileReaderExtBinaryBase::readNameTableSec(bool IsMD5) { in readNameTableSec()
986 std::error_code
990 if (std::error_code EC = FName.getError()) in readFuncMetadata()
998 if (std::error_code EC = Checksum.getError()) in readFuncMetadata()
1006 if (std::error_code EC = Attributes.getError()) in readFuncMetadata()
1017 std::error_code SampleProfileReaderCompactBinary::readNameTable() { in readNameTable()
1019 if (std::error_code EC = Size.getError()) in readNameTable()
1024 if (std::error_code EC = FID.getError()) in readNameTable()
1031 std::error_code
1035 if (std::error_code EC = Type.getError()) in readSecHdrTableEntry()
1040 if (std::error_code EC = Flags.getError()) in readSecHdrTableEntry()
1045 if (std::error_code EC = Offset.getError()) in readSecHdrTableEntry()
1050 if (std::error_code EC = Size.getError()) in readSecHdrTableEntry()
1059 std::error_code SampleProfileReaderExtBinaryBase::readSecHdrTable() { in readSecHdrTable()
1061 if (std::error_code EC = EntryNum.getError()) in readSecHdrTable()
1065 if (std::error_code EC = readSecHdrTableEntry(i)) in readSecHdrTable()
1071 std::error_code SampleProfileReaderExtBinaryBase::readHeader() { in readHeader()
1077 if (std::error_code EC = readMagicIdent()) in readHeader()
1080 if (std::error_code EC = readSecHdrTable()) in readHeader()
1165 std::error_code SampleProfileReaderBinary::readMagicIdent() { in readMagicIdent()
1168 if (std::error_code EC = Magic.getError()) in readMagicIdent()
1170 else if (std::error_code EC = verifySPMagic(*Magic)) in readMagicIdent()
1175 if (std::error_code EC = Version.getError()) in readMagicIdent()
1183 std::error_code SampleProfileReaderBinary::readHeader() { in readHeader()
1187 if (std::error_code EC = readMagicIdent()) in readHeader()
1190 if (std::error_code EC = readSummary()) in readHeader()
1193 if (std::error_code EC = readNameTable()) in readHeader()
1198 std::error_code SampleProfileReaderCompactBinary::readHeader() { in readHeader()
1200 if (std::error_code EC = readFuncOffsetTable()) in readHeader()
1205 std::error_code SampleProfileReaderCompactBinary::readFuncOffsetTable() { in readFuncOffsetTable()
1207 if (std::error_code EC = TableOffset.getError()) in readFuncOffsetTable()
1217 if (std::error_code EC = Size.getError()) in readFuncOffsetTable()
1223 if (std::error_code EC = FName.getError()) in readFuncOffsetTable()
1227 if (std::error_code EC = Offset.getError()) in readFuncOffsetTable()
1246 std::error_code SampleProfileReaderBinary::readSummaryEntry( in readSummaryEntry()
1249 if (std::error_code EC = Cutoff.getError()) in readSummaryEntry()
1253 if (std::error_code EC = MinBlockCount.getError()) in readSummaryEntry()
1257 if (std::error_code EC = NumBlocks.getError()) in readSummaryEntry()
1264 std::error_code SampleProfileReaderBinary::readSummary() { in readSummary()
1266 if (std::error_code EC = TotalCount.getError()) in readSummary()
1270 if (std::error_code EC = MaxBlockCount.getError()) in readSummary()
1274 if (std::error_code EC = MaxFunctionCount.getError()) in readSummary()
1278 if (std::error_code EC = NumBlocks.getError()) in readSummary()
1282 if (std::error_code EC = NumFunctions.getError()) in readSummary()
1286 if (std::error_code EC = NumSummaryEntries.getError()) in readSummary()
1291 std::error_code EC = readSummaryEntry(Entries); in readSummary()
1323 std::error_code SampleProfileReaderGCC::skipNextWord() { in skipNextWord()
1341 std::error_code EC = sampleprof_error::malformed; in readNumber()
1353 std::error_code SampleProfileReaderGCC::readHeader() { in readHeader()
1368 if (std::error_code EC = skipNextWord()) in readHeader()
1374 std::error_code SampleProfileReaderGCC::readSectionTag(uint32_t Expected) { in readSectionTag()
1382 if (std::error_code EC = skipNextWord()) in readSectionTag()
1388 std::error_code SampleProfileReaderGCC::readNameTable() { in readNameTable()
1389 if (std::error_code EC = readSectionTag(GCOVTagAFDOFileNames)) in readNameTable()
1406 std::error_code SampleProfileReaderGCC::readFunctionProfiles() { in readFunctionProfiles()
1407 if (std::error_code EC = readSectionTag(GCOVTagAFDOFunction)) in readFunctionProfiles()
1416 if (std::error_code EC = readOneFunctionProfile(Stack, true, 0)) in readFunctionProfiles()
1423 std::error_code SampleProfileReaderGCC::readOneFunctionProfile( in readOneFunctionProfile()
1538 if (std::error_code EC = readOneFunctionProfile(NewStack, Update, Offset)) in readOneFunctionProfile()
1549 std::error_code SampleProfileReaderGCC::readImpl() { in readImpl()
1552 if (std::error_code EC = readNameTable()) in readImpl()
1556 if (std::error_code EC = readFunctionProfiles()) in readImpl()
1606 if (std::error_code EC = BufferOrErr.getError()) in setupMemoryBuffer()
1633 if (std::error_code EC = BufferOrError.getError()) in create()
1653 if (std::error_code EC = BufferOrError.getError()) in create()
1719 if (std::error_code EC = ReaderOrErr.getError()) { in create()
1728 if (std::error_code EC = Reader->readHeader()) { in create()