Lines Matching refs:error_code

317 std::error_code SampleProfileReaderText::readImpl() {  in readImpl()
472 std::error_code EC = sampleprof_error::malformed; in readNumber()
476 std::error_code EC = sampleprof_error::truncated; in readNumber()
488 std::error_code EC = sampleprof_error::truncated; in readString()
500 std::error_code EC = sampleprof_error::truncated; in readUnencodedNumber()
513 if (std::error_code EC = Idx.getError()) in readStringIndex()
523 if (std::error_code EC = Idx.getError()) in readStringFromTable()
533 if (std::error_code EC = ContextIdx.getError()) in readContextFromTable()
548 if (std::error_code EC = FContext.getError()) in readSampleContextFromTable()
553 if (std::error_code EC = FName.getError()) in readSampleContextFromTable()
571 std::error_code
574 if (std::error_code EC = NumSamples.getError()) in readProfile()
580 if (std::error_code EC = NumRecords.getError()) in readProfile()
585 if (std::error_code EC = LineOffset.getError()) in readProfile()
589 return std::error_code(); in readProfile()
593 if (std::error_code EC = Discriminator.getError()) in readProfile()
597 if (std::error_code EC = NumSamples.getError()) in readProfile()
601 if (std::error_code EC = NumCalls.getError()) in readProfile()
609 if (std::error_code EC = CalledFunction.getError()) in readProfile()
613 if (std::error_code EC = CalledFunctionSamples.getError()) in readProfile()
625 if (std::error_code EC = NumCallsites.getError()) in readProfile()
630 if (std::error_code EC = LineOffset.getError()) in readProfile()
634 if (std::error_code EC = Discriminator.getError()) in readProfile()
638 if (std::error_code EC = FName.getError()) in readProfile()
647 if (std::error_code EC = readProfile(CalleeProfile)) in readProfile()
654 std::error_code
658 if (std::error_code EC = NumHeadSamples.getError()) in readFuncProfile()
662 if (std::error_code EC = FContextHash.getError()) in readFuncProfile()
675 if (std::error_code EC = readProfile(FProfile)) in readFuncProfile()
680 std::error_code SampleProfileReaderBinary::readImpl() { in readImpl()
684 if (std::error_code EC = readFuncProfile(Data)) in readImpl()
691 std::error_code SampleProfileReaderExtBinaryBase::readOneSection( in readOneSection()
697 if (std::error_code EC = readSummary()) in readOneSection()
717 if (std::error_code EC = readNameTableSec(UseMD5, FixedLengthMD5)) in readOneSection()
722 if (std::error_code EC = readCSNameTableSec()) in readOneSection()
727 if (std::error_code EC = readFuncProfiles()) in readOneSection()
739 if (std::error_code EC = readFuncOffsetTable()) in readOneSection()
749 if (std::error_code EC = readFuncMetadata(HasAttribute)) in readOneSection()
754 if (std::error_code EC = readProfileSymbolList()) in readOneSection()
758 if (std::error_code EC = readCustomSection(Entry)) in readOneSection()
803 std::error_code SampleProfileReaderExtBinaryBase::readFuncOffsetTable() { in readFuncOffsetTable()
810 if (std::error_code EC = Size.getError()) in readFuncOffsetTable()
821 if (std::error_code EC = FContextHash.getError()) in readFuncOffsetTable()
826 if (std::error_code EC = Offset.getError()) in readFuncOffsetTable()
840 std::error_code SampleProfileReaderExtBinaryBase::readFuncProfiles() { in readFuncProfiles()
854 if (std::error_code EC = readFuncProfile(Data)) in readFuncProfiles()
904 if (std::error_code EC = readFuncProfile(FuncProfileAddr)) in readFuncProfiles()
916 if (std::error_code EC = readFuncProfile(FuncProfileAddr)) in readFuncProfiles()
928 if (std::error_code EC = readFuncProfile(FuncProfileAddr)) in readFuncProfiles()
938 if (std::error_code EC = readFuncProfile(FuncProfileAddr)) in readFuncProfiles()
951 std::error_code SampleProfileReaderExtBinaryBase::readProfileSymbolList() { in readProfileSymbolList()
955 if (std::error_code EC = ProfSymList->read(Data, End - Data)) in readProfileSymbolList()
962 std::error_code SampleProfileReaderExtBinaryBase::decompressSection( in decompressSection()
968 if (std::error_code EC = DecompressSize.getError()) in decompressSection()
973 if (std::error_code EC = CompressSize.getError()) in decompressSection()
989 std::error_code SampleProfileReaderExtBinaryBase::readImpl() { in readImpl()
1013 if (std::error_code EC = decompressSection( in readImpl()
1020 if (std::error_code EC = readOneSection(SecStart, SecSize, Entry)) in readImpl()
1035 std::error_code SampleProfileReaderRawBinary::verifySPMagic(uint64_t Magic) { in verifySPMagic()
1041 std::error_code SampleProfileReaderExtBinary::verifySPMagic(uint64_t Magic) { in verifySPMagic()
1047 std::error_code SampleProfileReaderBinary::readNameTable() { in readNameTable()
1049 if (std::error_code EC = Size.getError()) in readNameTable()
1072 if (std::error_code EC = Name.getError()) in readNameTable()
1087 std::error_code
1094 if (std::error_code EC = Size.getError()) in readNameTableSec()
1120 if (std::error_code EC = Size.getError()) in readNameTableSec()
1129 if (std::error_code EC = FID.getError()) in readNameTableSec()
1147 std::error_code SampleProfileReaderExtBinaryBase::readCSNameTableSec() { in readCSNameTableSec()
1149 if (std::error_code EC = Size.getError()) in readCSNameTableSec()
1165 if (std::error_code EC = ContextSize.getError()) in readCSNameTableSec()
1169 if (std::error_code EC = FName.getError()) in readCSNameTableSec()
1172 if (std::error_code EC = LineOffset.getError()) in readCSNameTableSec()
1176 return std::error_code(); in readCSNameTableSec()
1179 if (std::error_code EC = Discriminator.getError()) in readCSNameTableSec()
1190 std::error_code
1196 if (std::error_code EC = Checksum.getError()) in readFuncMetadata()
1204 if (std::error_code EC = Attributes.getError()) in readFuncMetadata()
1213 if (std::error_code EC = NumCallsites.getError()) in readFuncMetadata()
1218 if (std::error_code EC = LineOffset.getError()) in readFuncMetadata()
1222 if (std::error_code EC = Discriminator.getError()) in readFuncMetadata()
1226 if (std::error_code EC = FContextHash.getError()) in readFuncMetadata()
1237 if (std::error_code EC = in readFuncMetadata()
1247 std::error_code
1251 if (std::error_code EC = FContextHash.getError()) in readFuncMetadata()
1259 if (std::error_code EC = readFuncMetadata(ProfileHasAttribute, FProfile)) in readFuncMetadata()
1267 std::error_code
1271 if (std::error_code EC = Type.getError()) in readSecHdrTableEntry()
1276 if (std::error_code EC = Flags.getError()) in readSecHdrTableEntry()
1281 if (std::error_code EC = Offset.getError()) in readSecHdrTableEntry()
1286 if (std::error_code EC = Size.getError()) in readSecHdrTableEntry()
1295 std::error_code SampleProfileReaderExtBinaryBase::readSecHdrTable() { in readSecHdrTable()
1297 if (std::error_code EC = EntryNum.getError()) in readSecHdrTable()
1301 if (std::error_code EC = readSecHdrTableEntry(i)) in readSecHdrTable()
1307 std::error_code SampleProfileReaderExtBinaryBase::readHeader() { in readHeader()
1313 if (std::error_code EC = readMagicIdent()) in readHeader()
1316 if (std::error_code EC = readSecHdrTable()) in readHeader()
1413 std::error_code SampleProfileReaderBinary::readMagicIdent() { in readMagicIdent()
1416 if (std::error_code EC = Magic.getError()) in readMagicIdent()
1418 else if (std::error_code EC = verifySPMagic(*Magic)) in readMagicIdent()
1423 if (std::error_code EC = Version.getError()) in readMagicIdent()
1431 std::error_code SampleProfileReaderBinary::readHeader() { in readHeader()
1435 if (std::error_code EC = readMagicIdent()) in readHeader()
1438 if (std::error_code EC = readSummary()) in readHeader()
1441 if (std::error_code EC = readNameTable()) in readHeader()
1446 std::error_code SampleProfileReaderBinary::readSummaryEntry( in readSummaryEntry()
1449 if (std::error_code EC = Cutoff.getError()) in readSummaryEntry()
1453 if (std::error_code EC = MinBlockCount.getError()) in readSummaryEntry()
1457 if (std::error_code EC = NumBlocks.getError()) in readSummaryEntry()
1464 std::error_code SampleProfileReaderBinary::readSummary() { in readSummary()
1466 if (std::error_code EC = TotalCount.getError()) in readSummary()
1470 if (std::error_code EC = MaxBlockCount.getError()) in readSummary()
1474 if (std::error_code EC = MaxFunctionCount.getError()) in readSummary()
1478 if (std::error_code EC = NumBlocks.getError()) in readSummary()
1482 if (std::error_code EC = NumFunctions.getError()) in readSummary()
1486 if (std::error_code EC = NumSummaryEntries.getError()) in readSummary()
1491 std::error_code EC = readSummaryEntry(Entries); in readSummary()
1516 std::error_code SampleProfileReaderGCC::skipNextWord() { in skipNextWord()
1534 std::error_code EC = sampleprof_error::malformed; in readNumber()
1546 std::error_code SampleProfileReaderGCC::readHeader() { in readHeader()
1561 if (std::error_code EC = skipNextWord()) in readHeader()
1567 std::error_code SampleProfileReaderGCC::readSectionTag(uint32_t Expected) { in readSectionTag()
1575 if (std::error_code EC = skipNextWord()) in readSectionTag()
1581 std::error_code SampleProfileReaderGCC::readNameTable() { in readNameTable()
1582 if (std::error_code EC = readSectionTag(GCOVTagAFDOFileNames)) in readNameTable()
1599 std::error_code SampleProfileReaderGCC::readFunctionProfiles() { in readFunctionProfiles()
1600 if (std::error_code EC = readSectionTag(GCOVTagAFDOFunction)) in readFunctionProfiles()
1609 if (std::error_code EC = readOneFunctionProfile(Stack, true, 0)) in readFunctionProfiles()
1616 std::error_code SampleProfileReaderGCC::readOneFunctionProfile( in readOneFunctionProfile()
1732 if (std::error_code EC = readOneFunctionProfile(NewStack, Update, Offset)) in readOneFunctionProfile()
1743 std::error_code SampleProfileReaderGCC::readImpl() { in readImpl()
1746 if (std::error_code EC = readNameTable()) in readImpl()
1750 if (std::error_code EC = readFunctionProfiles()) in readImpl()
1806 if (std::error_code EC = BufferOrErr.getError()) in setupMemoryBuffer()
1829 if (std::error_code EC = BufferOrError.getError()) in create()
1850 if (std::error_code EC = BufferOrError.getError()) in create()
1914 if (std::error_code EC = ReaderOrErr.getError()) { in create()
1922 if (std::error_code EC = Reader->readHeader()) { in create()