Lines Matching refs:error_code
317 std::error_code SampleProfileReaderText::readImpl() { in readImpl()
473 std::error_code EC = sampleprof_error::malformed; in readNumber()
477 std::error_code EC = sampleprof_error::truncated; in readNumber()
489 std::error_code EC = sampleprof_error::truncated; in readString()
501 std::error_code EC = sampleprof_error::truncated; in readUnencodedNumber()
514 if (std::error_code EC = Idx.getError()) in readStringIndex()
524 if (std::error_code EC = Idx.getError()) in readStringFromTable()
534 if (std::error_code EC = ContextIdx.getError()) in readContextFromTable()
549 if (std::error_code EC = FContext.getError()) in readSampleContextFromTable()
554 if (std::error_code EC = FName.getError()) in readSampleContextFromTable()
572 std::error_code
575 if (std::error_code EC = NumSamples.getError()) in readProfile()
581 if (std::error_code EC = NumRecords.getError()) in readProfile()
586 if (std::error_code EC = LineOffset.getError()) in readProfile()
590 return std::error_code(); in readProfile()
594 if (std::error_code EC = Discriminator.getError()) in readProfile()
598 if (std::error_code EC = NumSamples.getError()) in readProfile()
602 if (std::error_code EC = NumCalls.getError()) in readProfile()
610 if (std::error_code EC = CalledFunction.getError()) in readProfile()
614 if (std::error_code EC = CalledFunctionSamples.getError()) in readProfile()
626 if (std::error_code EC = NumCallsites.getError()) in readProfile()
631 if (std::error_code EC = LineOffset.getError()) in readProfile()
635 if (std::error_code EC = Discriminator.getError()) in readProfile()
639 if (std::error_code EC = FName.getError()) in readProfile()
648 if (std::error_code EC = readProfile(CalleeProfile)) in readProfile()
655 std::error_code
659 if (std::error_code EC = NumHeadSamples.getError()) in readFuncProfile()
663 if (std::error_code EC = FContextHash.getError()) in readFuncProfile()
676 if (std::error_code EC = readProfile(FProfile)) in readFuncProfile()
681 std::error_code SampleProfileReaderBinary::readImpl() { in readImpl()
685 if (std::error_code EC = readFuncProfile(Data)) in readImpl()
692 std::error_code SampleProfileReaderExtBinaryBase::readOneSection( in readOneSection()
698 if (std::error_code EC = readSummary()) in readOneSection()
718 if (std::error_code EC = readNameTableSec(UseMD5, FixedLengthMD5)) in readOneSection()
723 if (std::error_code EC = readCSNameTableSec()) in readOneSection()
728 if (std::error_code EC = readFuncProfiles()) in readOneSection()
740 if (std::error_code EC = readFuncOffsetTable()) in readOneSection()
750 if (std::error_code EC = readFuncMetadata(HasAttribute)) in readOneSection()
755 if (std::error_code EC = readProfileSymbolList()) in readOneSection()
759 if (std::error_code EC = readCustomSection(Entry)) in readOneSection()
804 std::error_code SampleProfileReaderExtBinaryBase::readFuncOffsetTable() { in readFuncOffsetTable()
811 if (std::error_code EC = Size.getError()) in readFuncOffsetTable()
822 if (std::error_code EC = FContextHash.getError()) in readFuncOffsetTable()
827 if (std::error_code EC = Offset.getError()) in readFuncOffsetTable()
841 std::error_code SampleProfileReaderExtBinaryBase::readFuncProfiles() { in readFuncProfiles()
855 if (std::error_code EC = readFuncProfile(Data)) in readFuncProfiles()
905 if (std::error_code EC = readFuncProfile(FuncProfileAddr)) in readFuncProfiles()
917 if (std::error_code EC = readFuncProfile(FuncProfileAddr)) in readFuncProfiles()
929 if (std::error_code EC = readFuncProfile(FuncProfileAddr)) in readFuncProfiles()
939 if (std::error_code EC = readFuncProfile(FuncProfileAddr)) in readFuncProfiles()
952 std::error_code SampleProfileReaderExtBinaryBase::readProfileSymbolList() { in readProfileSymbolList()
956 if (std::error_code EC = ProfSymList->read(Data, End - Data)) in readProfileSymbolList()
963 std::error_code SampleProfileReaderExtBinaryBase::decompressSection( in decompressSection()
969 if (std::error_code EC = DecompressSize.getError()) in decompressSection()
974 if (std::error_code EC = CompressSize.getError()) in decompressSection()
990 std::error_code SampleProfileReaderExtBinaryBase::readImpl() { in readImpl()
1014 if (std::error_code EC = decompressSection( in readImpl()
1021 if (std::error_code EC = readOneSection(SecStart, SecSize, Entry)) in readImpl()
1036 std::error_code SampleProfileReaderRawBinary::verifySPMagic(uint64_t Magic) { in verifySPMagic()
1042 std::error_code SampleProfileReaderExtBinary::verifySPMagic(uint64_t Magic) { in verifySPMagic()
1048 std::error_code SampleProfileReaderBinary::readNameTable() { in readNameTable()
1050 if (std::error_code EC = Size.getError()) in readNameTable()
1073 if (std::error_code EC = Name.getError()) in readNameTable()
1088 std::error_code
1095 if (std::error_code EC = Size.getError()) in readNameTableSec()
1121 if (std::error_code EC = Size.getError()) in readNameTableSec()
1130 if (std::error_code EC = FID.getError()) in readNameTableSec()
1148 std::error_code SampleProfileReaderExtBinaryBase::readCSNameTableSec() { in readCSNameTableSec()
1150 if (std::error_code EC = Size.getError()) in readCSNameTableSec()
1166 if (std::error_code EC = ContextSize.getError()) in readCSNameTableSec()
1170 if (std::error_code EC = FName.getError()) in readCSNameTableSec()
1173 if (std::error_code EC = LineOffset.getError()) in readCSNameTableSec()
1177 return std::error_code(); in readCSNameTableSec()
1180 if (std::error_code EC = Discriminator.getError()) in readCSNameTableSec()
1191 std::error_code
1197 if (std::error_code EC = Checksum.getError()) in readFuncMetadata()
1205 if (std::error_code EC = Attributes.getError()) in readFuncMetadata()
1214 if (std::error_code EC = NumCallsites.getError()) in readFuncMetadata()
1219 if (std::error_code EC = LineOffset.getError()) in readFuncMetadata()
1223 if (std::error_code EC = Discriminator.getError()) in readFuncMetadata()
1227 if (std::error_code EC = FContextHash.getError()) in readFuncMetadata()
1238 if (std::error_code EC = in readFuncMetadata()
1248 std::error_code
1252 if (std::error_code EC = FContextHash.getError()) in readFuncMetadata()
1260 if (std::error_code EC = readFuncMetadata(ProfileHasAttribute, FProfile)) in readFuncMetadata()
1268 std::error_code
1272 if (std::error_code EC = Type.getError()) in readSecHdrTableEntry()
1277 if (std::error_code EC = Flags.getError()) in readSecHdrTableEntry()
1282 if (std::error_code EC = Offset.getError()) in readSecHdrTableEntry()
1287 if (std::error_code EC = Size.getError()) in readSecHdrTableEntry()
1296 std::error_code SampleProfileReaderExtBinaryBase::readSecHdrTable() { in readSecHdrTable()
1298 if (std::error_code EC = EntryNum.getError()) in readSecHdrTable()
1302 if (std::error_code EC = readSecHdrTableEntry(i)) in readSecHdrTable()
1308 std::error_code SampleProfileReaderExtBinaryBase::readHeader() { in readHeader()
1314 if (std::error_code EC = readMagicIdent()) in readHeader()
1317 if (std::error_code EC = readSecHdrTable()) in readHeader()
1414 std::error_code SampleProfileReaderBinary::readMagicIdent() { in readMagicIdent()
1417 if (std::error_code EC = Magic.getError()) in readMagicIdent()
1419 else if (std::error_code EC = verifySPMagic(*Magic)) in readMagicIdent()
1424 if (std::error_code EC = Version.getError()) in readMagicIdent()
1432 std::error_code SampleProfileReaderBinary::readHeader() { in readHeader()
1436 if (std::error_code EC = readMagicIdent()) in readHeader()
1439 if (std::error_code EC = readSummary()) in readHeader()
1442 if (std::error_code EC = readNameTable()) in readHeader()
1447 std::error_code SampleProfileReaderBinary::readSummaryEntry( in readSummaryEntry()
1450 if (std::error_code EC = Cutoff.getError()) in readSummaryEntry()
1454 if (std::error_code EC = MinBlockCount.getError()) in readSummaryEntry()
1458 if (std::error_code EC = NumBlocks.getError()) in readSummaryEntry()
1465 std::error_code SampleProfileReaderBinary::readSummary() { in readSummary()
1467 if (std::error_code EC = TotalCount.getError()) in readSummary()
1471 if (std::error_code EC = MaxBlockCount.getError()) in readSummary()
1475 if (std::error_code EC = MaxFunctionCount.getError()) in readSummary()
1479 if (std::error_code EC = NumBlocks.getError()) in readSummary()
1483 if (std::error_code EC = NumFunctions.getError()) in readSummary()
1487 if (std::error_code EC = NumSummaryEntries.getError()) in readSummary()
1492 std::error_code EC = readSummaryEntry(Entries); in readSummary()
1517 std::error_code SampleProfileReaderGCC::skipNextWord() { in skipNextWord()
1535 std::error_code EC = sampleprof_error::malformed; in readNumber()
1547 std::error_code SampleProfileReaderGCC::readHeader() { in readHeader()
1562 if (std::error_code EC = skipNextWord()) in readHeader()
1568 std::error_code SampleProfileReaderGCC::readSectionTag(uint32_t Expected) { in readSectionTag()
1576 if (std::error_code EC = skipNextWord()) in readSectionTag()
1582 std::error_code SampleProfileReaderGCC::readNameTable() { in readNameTable()
1583 if (std::error_code EC = readSectionTag(GCOVTagAFDOFileNames)) in readNameTable()
1600 std::error_code SampleProfileReaderGCC::readFunctionProfiles() { in readFunctionProfiles()
1601 if (std::error_code EC = readSectionTag(GCOVTagAFDOFunction)) in readFunctionProfiles()
1610 if (std::error_code EC = readOneFunctionProfile(Stack, true, 0)) in readFunctionProfiles()
1617 std::error_code SampleProfileReaderGCC::readOneFunctionProfile( in readOneFunctionProfile()
1733 if (std::error_code EC = readOneFunctionProfile(NewStack, Update, Offset)) in readOneFunctionProfile()
1744 std::error_code SampleProfileReaderGCC::readImpl() { in readImpl()
1747 if (std::error_code EC = readNameTable()) in readImpl()
1751 if (std::error_code EC = readFunctionProfiles()) in readImpl()
1807 if (std::error_code EC = BufferOrErr.getError()) in setupMemoryBuffer()
1830 if (std::error_code EC = BufferOrError.getError()) in create()
1851 if (std::error_code EC = BufferOrError.getError()) in create()
1915 if (std::error_code EC = ReaderOrErr.getError()) { in create()
1923 if (std::error_code EC = Reader->readHeader()) { in create()