Lines Matching refs:error_code

242 std::error_code SampleProfileReaderText::readImpl() {  in readImpl()
394 std::error_code EC; in readNumber()
414 std::error_code EC; in readString()
428 std::error_code EC; in readUnencodedNumber()
443 std::error_code EC; in readStringIndex()
445 if (std::error_code EC = Idx.getError()) in readStringIndex()
454 if (std::error_code EC = Idx.getError()) in readStringFromTable()
462 if (std::error_code EC = FName.getError()) in readSampleContextFromTable()
473 if (std::error_code EC = Idx.getError()) in readStringFromTable()
483 if (std::error_code EC = FID.getError()) in readStringFromTable()
497 if (std::error_code EC = Idx.getError()) in readStringFromTable()
503 std::error_code
506 if (std::error_code EC = NumSamples.getError()) in readProfile()
512 if (std::error_code EC = NumRecords.getError()) in readProfile()
517 if (std::error_code EC = LineOffset.getError()) in readProfile()
521 return std::error_code(); in readProfile()
525 if (std::error_code EC = Discriminator.getError()) in readProfile()
529 if (std::error_code EC = NumSamples.getError()) in readProfile()
533 if (std::error_code EC = NumCalls.getError()) in readProfile()
541 if (std::error_code EC = CalledFunction.getError()) in readProfile()
545 if (std::error_code EC = CalledFunctionSamples.getError()) in readProfile()
557 if (std::error_code EC = NumCallsites.getError()) in readProfile()
562 if (std::error_code EC = LineOffset.getError()) in readProfile()
566 if (std::error_code EC = Discriminator.getError()) in readProfile()
570 if (std::error_code EC = FName.getError()) in readProfile()
579 if (std::error_code EC = readProfile(CalleeProfile)) in readProfile()
586 std::error_code
590 if (std::error_code EC = NumHeadSamples.getError()) in readFuncProfile()
594 if (std::error_code EC = FContext.getError()) in readFuncProfile()
605 if (std::error_code EC = readProfile(FProfile)) in readFuncProfile()
610 std::error_code SampleProfileReaderBinary::readImpl() { in readImpl()
614 if (std::error_code EC = readFuncProfile(Data)) in readImpl()
624 if (std::error_code EC = ContextIdx.getError()) in readContextFromTable()
635 if (std::error_code EC = FContext.getError()) in readSampleContextFromTable()
640 if (std::error_code EC = FName.getError()) in readSampleContextFromTable()
646 std::error_code SampleProfileReaderExtBinaryBase::readOneSection( in readOneSection()
652 if (std::error_code EC = readSummary()) in readOneSection()
671 if (std::error_code EC = readNameTableSec(UseMD5)) in readOneSection()
676 if (std::error_code EC = readCSNameTableSec()) in readOneSection()
681 if (std::error_code EC = readFuncProfiles()) in readOneSection()
686 if (std::error_code EC = readFuncOffsetTable()) in readOneSection()
695 if (std::error_code EC = readFuncMetadata(HasAttribute)) in readOneSection()
700 if (std::error_code EC = readProfileSymbolList()) in readOneSection()
704 if (std::error_code EC = readCustomSection(Entry)) in readOneSection()
720 std::error_code SampleProfileReaderExtBinaryBase::readFuncOffsetTable() { in readFuncOffsetTable()
727 if (std::error_code EC = Size.getError()) in readFuncOffsetTable()
740 if (std::error_code EC = FContext.getError()) in readFuncOffsetTable()
744 if (std::error_code EC = Offset.getError()) in readFuncOffsetTable()
755 std::error_code SampleProfileReaderExtBinaryBase::readFuncProfiles() { in readFuncProfiles()
768 if (std::error_code EC = readFuncProfile(Data)) in readFuncProfiles()
816 if (std::error_code EC = readFuncProfile(FuncProfileAddr)) in readFuncProfiles()
829 if (std::error_code EC = readFuncProfile(FuncProfileAddr)) in readFuncProfiles()
841 if (std::error_code EC = readFuncProfile(FuncProfileAddr)) in readFuncProfiles()
855 std::error_code SampleProfileReaderExtBinaryBase::readProfileSymbolList() { in readProfileSymbolList()
859 if (std::error_code EC = ProfSymList->read(Data, End - Data)) in readProfileSymbolList()
866 std::error_code SampleProfileReaderExtBinaryBase::decompressSection( in decompressSection()
872 if (std::error_code EC = DecompressSize.getError()) in decompressSection()
877 if (std::error_code EC = CompressSize.getError()) in decompressSection()
893 std::error_code SampleProfileReaderExtBinaryBase::readImpl() { in readImpl()
917 if (std::error_code EC = decompressSection( in readImpl()
924 if (std::error_code EC = readOneSection(SecStart, SecSize, Entry)) in readImpl()
939 std::error_code SampleProfileReaderCompactBinary::readImpl() { in readImpl()
964 if (std::error_code EC = readFuncProfile( in readImpl()
973 std::error_code SampleProfileReaderRawBinary::verifySPMagic(uint64_t Magic) { in verifySPMagic()
979 std::error_code SampleProfileReaderExtBinary::verifySPMagic(uint64_t Magic) { in verifySPMagic()
985 std::error_code
992 std::error_code SampleProfileReaderBinary::readNameTable() { in readNameTable()
994 if (std::error_code EC = Size.getError()) in readNameTable()
999 if (std::error_code EC = Name.getError()) in readNameTable()
1007 std::error_code SampleProfileReaderExtBinaryBase::readMD5NameTable() { in readMD5NameTable()
1009 if (std::error_code EC = Size.getError()) in readMD5NameTable()
1027 if (std::error_code EC = FID.getError()) in readMD5NameTable()
1037 std::error_code SampleProfileReaderExtBinaryBase::readNameTableSec(bool IsMD5) { in readNameTableSec()
1047 std::error_code SampleProfileReaderExtBinaryBase::readCSNameTableSec() { in readCSNameTableSec()
1049 if (std::error_code EC = Size.getError()) in readCSNameTableSec()
1058 if (std::error_code EC = ContextSize.getError()) in readCSNameTableSec()
1062 if (std::error_code EC = FName.getError()) in readCSNameTableSec()
1065 if (std::error_code EC = LineOffset.getError()) in readCSNameTableSec()
1069 return std::error_code(); in readCSNameTableSec()
1072 if (std::error_code EC = Discriminator.getError()) in readCSNameTableSec()
1085 std::error_code
1092 if (std::error_code EC = Checksum.getError()) in readFuncMetadata()
1100 if (std::error_code EC = Attributes.getError()) in readFuncMetadata()
1109 if (std::error_code EC = NumCallsites.getError()) in readFuncMetadata()
1114 if (std::error_code EC = LineOffset.getError()) in readFuncMetadata()
1118 if (std::error_code EC = Discriminator.getError()) in readFuncMetadata()
1122 if (std::error_code EC = FContext.getError()) in readFuncMetadata()
1132 if (std::error_code EC = in readFuncMetadata()
1142 std::error_code
1146 if (std::error_code EC = FContext.getError()) in readFuncMetadata()
1153 if (std::error_code EC = readFuncMetadata(ProfileHasAttribute, FProfile)) in readFuncMetadata()
1161 std::error_code SampleProfileReaderCompactBinary::readNameTable() { in readNameTable()
1163 if (std::error_code EC = Size.getError()) in readNameTable()
1168 if (std::error_code EC = FID.getError()) in readNameTable()
1175 std::error_code
1179 if (std::error_code EC = Type.getError()) in readSecHdrTableEntry()
1184 if (std::error_code EC = Flags.getError()) in readSecHdrTableEntry()
1189 if (std::error_code EC = Offset.getError()) in readSecHdrTableEntry()
1194 if (std::error_code EC = Size.getError()) in readSecHdrTableEntry()
1203 std::error_code SampleProfileReaderExtBinaryBase::readSecHdrTable() { in readSecHdrTable()
1205 if (std::error_code EC = EntryNum.getError()) in readSecHdrTable()
1209 if (std::error_code EC = readSecHdrTableEntry(i)) in readSecHdrTable()
1215 std::error_code SampleProfileReaderExtBinaryBase::readHeader() { in readHeader()
1221 if (std::error_code EC = readMagicIdent()) in readHeader()
1224 if (std::error_code EC = readSecHdrTable()) in readHeader()
1321 std::error_code SampleProfileReaderBinary::readMagicIdent() { in readMagicIdent()
1324 if (std::error_code EC = Magic.getError()) in readMagicIdent()
1326 else if (std::error_code EC = verifySPMagic(*Magic)) in readMagicIdent()
1331 if (std::error_code EC = Version.getError()) in readMagicIdent()
1339 std::error_code SampleProfileReaderBinary::readHeader() { in readHeader()
1343 if (std::error_code EC = readMagicIdent()) in readHeader()
1346 if (std::error_code EC = readSummary()) in readHeader()
1349 if (std::error_code EC = readNameTable()) in readHeader()
1354 std::error_code SampleProfileReaderCompactBinary::readHeader() { in readHeader()
1356 if (std::error_code EC = readFuncOffsetTable()) in readHeader()
1361 std::error_code SampleProfileReaderCompactBinary::readFuncOffsetTable() { in readFuncOffsetTable()
1363 if (std::error_code EC = TableOffset.getError()) in readFuncOffsetTable()
1373 if (std::error_code EC = Size.getError()) in readFuncOffsetTable()
1379 if (std::error_code EC = FName.getError()) in readFuncOffsetTable()
1383 if (std::error_code EC = Offset.getError()) in readFuncOffsetTable()
1402 std::error_code SampleProfileReaderBinary::readSummaryEntry( in readSummaryEntry()
1405 if (std::error_code EC = Cutoff.getError()) in readSummaryEntry()
1409 if (std::error_code EC = MinBlockCount.getError()) in readSummaryEntry()
1413 if (std::error_code EC = NumBlocks.getError()) in readSummaryEntry()
1420 std::error_code SampleProfileReaderBinary::readSummary() { in readSummary()
1422 if (std::error_code EC = TotalCount.getError()) in readSummary()
1426 if (std::error_code EC = MaxBlockCount.getError()) in readSummary()
1430 if (std::error_code EC = MaxFunctionCount.getError()) in readSummary()
1434 if (std::error_code EC = NumBlocks.getError()) in readSummary()
1438 if (std::error_code EC = NumFunctions.getError()) in readSummary()
1442 if (std::error_code EC = NumSummaryEntries.getError()) in readSummary()
1447 std::error_code EC = readSummaryEntry(Entries); in readSummary()
1479 std::error_code SampleProfileReaderGCC::skipNextWord() { in skipNextWord()
1497 std::error_code EC = sampleprof_error::malformed; in readNumber()
1509 std::error_code SampleProfileReaderGCC::readHeader() { in readHeader()
1524 if (std::error_code EC = skipNextWord()) in readHeader()
1530 std::error_code SampleProfileReaderGCC::readSectionTag(uint32_t Expected) { in readSectionTag()
1538 if (std::error_code EC = skipNextWord()) in readSectionTag()
1544 std::error_code SampleProfileReaderGCC::readNameTable() { in readNameTable()
1545 if (std::error_code EC = readSectionTag(GCOVTagAFDOFileNames)) in readNameTable()
1562 std::error_code SampleProfileReaderGCC::readFunctionProfiles() { in readFunctionProfiles()
1563 if (std::error_code EC = readSectionTag(GCOVTagAFDOFunction)) in readFunctionProfiles()
1572 if (std::error_code EC = readOneFunctionProfile(Stack, true, 0)) in readFunctionProfiles()
1579 std::error_code SampleProfileReaderGCC::readOneFunctionProfile( in readOneFunctionProfile()
1694 if (std::error_code EC = readOneFunctionProfile(NewStack, Update, Offset)) in readOneFunctionProfile()
1705 std::error_code SampleProfileReaderGCC::readImpl() { in readImpl()
1708 if (std::error_code EC = readNameTable()) in readImpl()
1712 if (std::error_code EC = readFunctionProfiles()) in readImpl()
1762 if (std::error_code EC = BufferOrErr.getError()) in setupMemoryBuffer()
1789 if (std::error_code EC = BufferOrError.getError()) in create()
1809 if (std::error_code EC = BufferOrError.getError()) in create()
1875 if (std::error_code EC = ReaderOrErr.getError()) { in create()
1883 if (std::error_code EC = Reader->readHeader()) { in create()