Home
last modified time | relevance | path

Searched defs:EC (Results 1 – 25 of 491) sorted by relevance

12345678910>>...20

/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/
DCodeViewRecordIO.cpp83 if (auto EC = Writer->writeBytes(Bytes)) in mapByteVectorTail() local
86 if (auto EC = Reader->readBytes(Bytes, Reader->bytesRemaining())) in mapByteVectorTail() local
94 if (auto EC = mapByteVectorTail(BytesRef)) in mapByteVectorTail() local
104 if (auto EC = Writer->writeInteger(TypeInd.getIndex())) in mapInteger() local
110 if (auto EC = Reader->readInteger(I)) in mapInteger() local
119 if (auto EC = writeEncodedUnsignedInteger(static_cast<uint64_t>(Value))) in mapEncodedInteger() local
122 if (auto EC = writeEncodedSignedInteger(Value)) in mapEncodedInteger() local
127 if (auto EC = consume(*Reader, N)) in mapEncodedInteger() local
137 if (auto EC = writeEncodedUnsignedInteger(Value)) in mapEncodedInteger() local
141 if (auto EC = consume(*Reader, N)) in mapEncodedInteger() local
[all …]
DDebugSubsectionVisitor.cpp36 if (auto EC = Fragment.initialize(Reader)) in visitDebugSubsection() local
43 if (auto EC = Fragment.initialize(Reader)) in visitDebugSubsection() local
50 if (auto EC = Fragment.initialize(Reader)) in visitDebugSubsection() local
56 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() local
62 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() local
68 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() local
74 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() local
80 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() local
86 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() local
DDebugInlineeLinesSubsection.cpp28 if (auto EC = Reader.readObject(Item.Header)) in operator ()() local
33 if (auto EC = Reader.readInteger(ExtraFileCount)) in operator ()() local
35 if (auto EC = Reader.readArray(Item.ExtraFiles, ExtraFileCount)) in operator ()() local
47 if (auto EC = Reader.readEnum(Signature)) in initialize() local
51 if (auto EC = Reader.readArray(Lines, Reader.bytesRemaining())) in initialize() local
89 if (auto EC = Writer.writeEnum(Sig)) in commit() local
93 if (auto EC = Writer.writeObject(E.Header)) in commit() local
99 if (auto EC = Writer.writeInteger<uint32_t>(E.ExtraFiles.size())) in commit() local
101 if (auto EC = Writer.writeArray(makeArrayRef(E.ExtraFiles))) in commit() local
DRecordSerialization.cpp41 if (auto EC = Reader.readInteger(Short)) in consume() local
53 if (auto EC = Reader.readInteger(N)) in consume() local
60 if (auto EC = Reader.readInteger(N)) in consume() local
67 if (auto EC = Reader.readInteger(N)) in consume() local
74 if (auto EC = Reader.readInteger(N)) in consume() local
81 if (auto EC = Reader.readInteger(N)) in consume() local
88 if (auto EC = Reader.readInteger(N)) in consume() local
95 if (auto EC = Reader.readInteger(N)) in consume() local
109 auto EC = consume(SR, Num); in consume() local
118 if (auto EC = consume(Reader, N)) in consume_numeric() local
[all …]
DDebugLinesSubsection.cpp28 if (auto EC = Reader.readObject(BlockHeader)) in operator ()() local
45 if (auto EC = Reader.readArray(Item.LineNumbers, BlockHeader->NumLines)) in operator ()() local
48 if (auto EC = Reader.readArray(Item.Columns, BlockHeader->NumLines)) in operator ()() local
58 if (auto EC = Reader.readObject(Header)) in initialize() local
62 if (auto EC = Reader.readArray(LinesAndColumns, Reader.bytesRemaining())) in initialize() local
111 if (auto EC = Writer.writeObject(Header)) in commit() local
124 if (auto EC = Writer.writeObject(BlockHeader)) in commit() local
127 if (auto EC = Writer.writeArray(makeArrayRef(B.Lines))) in commit() local
131 if (auto EC = Writer.writeArray(makeArrayRef(B.Columns))) in commit() local
DCVSymbolVisitor.cpp26 if (auto EC = Callbacks.visitKnownRecord(Record, KnownRecord)) in visitKnownRecord() local
35 if (auto EC = Callbacks.visitUnknownSymbol(Record)) in finishVisitation() local
49 if (auto EC = Callbacks.visitSymbolEnd(Record)) in finishVisitation() local
56 if (auto EC = Callbacks.visitSymbolBegin(Record)) in visitSymbolRecord() local
62 if (auto EC = Callbacks.visitSymbolBegin(Record, Offset)) in visitSymbolRecord() local
69 if (auto EC = visitSymbolRecord(I)) in visitSymbolStream() local
78 if (auto EC = visitSymbolRecord(I, InitialOffset)) in visitSymbolStream() local
/external/llvm/tools/obj2yaml/
Delf2yaml.cpp87 if (std::error_code EC = TableOrErr.getError()) in dump() local
94 if (std::error_code EC = S.getError()) in dump() local
101 if (std::error_code EC = S.getError()) in dump() local
108 if (std::error_code EC = G.getError()) in dump() local
115 if (std::error_code EC = G.getError()) in dump() local
122 if (std::error_code EC = S.getError()) in dump() local
129 if (std::error_code EC = S.getError()) in dump() local
138 if (std::error_code EC = StrTableOrErr.getError()) in dump() local
150 if (std::error_code EC = in dump() local
188 if (std::error_code EC = ShdrOrErr.getError()) in dumpSymbol() local
[all …]
/external/llvm/lib/DebugInfo/PDB/Raw/
DNameMap.cpp27 if (auto EC = Stream.readInteger(NumberOfBytes)) in load() local
42 if (auto EC = Stream.readInteger(HashSize)) in load() local
50 if (auto EC = Stream.readInteger(MaxNumberOfStrings)) in load() local
64 if (auto EC = Stream.readInteger(NumPresentWords)) in load() local
76 if (auto EC = Stream.readInteger(Word)) in load() local
88 if (auto EC = Stream.readInteger(NumDeletedWords)) in load() local
101 if (auto EC = Stream.readInteger(Word)) in load() local
117 if (auto EC = Stream.readInteger(NameOffset)) in load() local
124 if (auto EC = Stream.readInteger(NameIndex)) in load() local
135 if (auto EC = Stream.readZeroString(Str)) in load() local
[all …]
DPDBFile.cpp81 if (auto EC = Buffer->readBytes(StreamBlockOffset, NumBytes, Result)) in getBlockData() local
105 if (auto EC = Reader.readObject(SB)) { in parseFileHeaders() local
111 if (auto EC = setSuperBlock(SB)) in parseFileHeaders() local
115 if (auto EC = Reader.readArray(DirectoryBlocks, getNumDirectoryBlocks())) in parseFileHeaders() local
137 if (auto EC = Reader.readInteger(NumStreams)) in parseStreamData() local
140 if (auto EC = Reader.readArray(StreamSizes, NumStreams)) in parseStreamData() local
155 if (auto EC = Reader.readArray(Blocks, NumExpectedStreamBlocks)) in parseStreamData() local
182 if (auto EC = TempInfo->reload()) in getPDBInfoStream() local
195 if (auto EC = TempDbi->reload()) in getPDBDbiStream() local
208 if (auto EC = TempTpi->reload()) in getPDBTpiStream() local
[all …]
DDbiStream.cpp77 if (auto EC = Reader.readArray(Output, Count)) in loadSectionContribs() local
95 if (auto EC = Reader.readObject(Header)) in reload() local
148 if (auto EC = Reader.readArray(ModInfoArray, Header->ModiSubstreamSize)) in reload() local
154 if (auto EC = Reader.readStreamRef(SecContrSubstream, in reload() local
157 if (auto EC = Reader.readStreamRef(SecMapSubstream, Header->SectionMapSize)) in reload() local
159 if (auto EC = Reader.readStreamRef(FileInfoSubstream, Header->FileInfoSize)) in reload() local
161 if (auto EC = in reload() local
164 if (auto EC = Reader.readStreamRef(ECSubstream, Header->ECSubstreamSize)) in reload() local
166 if (auto EC = Reader.readArray(DbgStreams, Header->OptionalDbgHdrSize / in reload() local
170 if (auto EC = initializeSectionContributionData()) in reload() local
[all …]
DModStream.cpp42 if (auto EC = Reader.readInteger(SymbolSubstreamSig)) in reload() local
44 if (auto EC = Reader.readArray(SymbolsSubstream, SymbolSize - 4)) in reload() local
47 if (auto EC = Reader.readStreamRef(LinesSubstream, C11Size)) in reload() local
49 if (auto EC = Reader.readStreamRef(C13LinesSubstream, C13Size)) in reload() local
53 if (auto EC = LineReader.readArray(LineInfo, LineReader.bytesRemaining())) in reload() local
57 if (auto EC = Reader.readInteger(GlobalRefsSize)) in reload() local
59 if (auto EC = Reader.readStreamRef(GlobalRefsSubstream, GlobalRefsSize)) in reload() local
/external/llvm/lib/ProfileData/
DSampleProfReader.cpp246 std::error_code EC; in readNumber() local
266 std::error_code EC; in readString() local
279 std::error_code EC; in readStringFromTable() local
281 if (std::error_code EC = Idx.getError()) in readStringFromTable() local
291 if (std::error_code EC = NumSamples.getError()) in readProfile() local
297 if (std::error_code EC = NumRecords.getError()) in readProfile() local
302 if (std::error_code EC = LineOffset.getError()) in readProfile() local
310 if (std::error_code EC = Discriminator.getError()) in readProfile() local
314 if (std::error_code EC = NumSamples.getError()) in readProfile() local
318 if (std::error_code EC = NumCalls.getError()) in readProfile() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/
DSampleProfReader.cpp290 std::error_code EC; in readNumber() local
310 std::error_code EC; in readString() local
324 std::error_code EC; in readStringIndex() local
326 if (std::error_code EC = Idx.getError()) in readStringIndex() local
335 if (std::error_code EC = Idx.getError()) in readStringFromTable() local
343 if (std::error_code EC = Idx.getError()) in readStringFromTable() local
352 if (std::error_code EC = NumSamples.getError()) in readProfile() local
358 if (std::error_code EC = NumRecords.getError()) in readProfile() local
363 if (std::error_code EC = LineOffset.getError()) in readProfile() local
371 if (std::error_code EC = Discriminator.getError()) in readProfile() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/
DDbiStream.cpp43 if (auto EC = Reader.readArray(Output, Count)) in loadSectionContribs() local
59 if (auto EC = Reader.readObject(Header)) in reload() local
101 if (auto EC = Reader.readSubstream(ModiSubstream, Header->ModiSubstreamSize)) in reload() local
104 if (auto EC = Reader.readSubstream(SecContrSubstream, in reload() local
107 if (auto EC = Reader.readSubstream(SecMapSubstream, Header->SectionMapSize)) in reload() local
109 if (auto EC = Reader.readSubstream(FileInfoSubstream, Header->FileInfoSize)) in reload() local
111 if (auto EC = in reload() local
114 if (auto EC = Reader.readSubstream(ECSubstream, Header->ECSubstreamSize)) in reload() local
116 if (auto EC = Reader.readArray( in reload() local
120 if (auto EC = Modules.initialize(ModiSubstream.StreamData, in reload() local
[all …]
DModuleDebugStream.cpp48 if (auto EC = Reader.readInteger(Signature)) in reload() local
50 if (auto EC = Reader.readSubstream(SymbolsSubstream, SymbolSize - 4)) in reload() local
52 if (auto EC = Reader.readSubstream(C11LinesSubstream, C11Size)) in reload() local
54 if (auto EC = Reader.readSubstream(C13LinesSubstream, C13Size)) in reload() local
58 if (auto EC = in reload() local
63 if (auto EC = SubsectionsReader.readArray(Subsections, in reload() local
68 if (auto EC = Reader.readInteger(GlobalRefsSize)) in reload() local
70 if (auto EC = Reader.readSubstream(GlobalRefsSubstream, GlobalRefsSize)) in reload() local
118 if (auto EC = Result.initialize(SS.getRecordData())) in findChecksumsSubsection() local
DPDBStringTable.cpp29 if (auto EC = Reader.readObject(Header)) in readHeader() local
45 if (auto EC = Reader.readStreamRef(Stream)) in readStrings() local
48 if (auto EC = Strings.initialize(Stream)) { in readStrings() local
65 if (auto EC = Reader.readObject(HashCount)) in readHashTable() local
68 if (auto EC = Reader.readArray(IDs, *HashCount)) { in readHashTable() local
78 if (auto EC = Reader.readInteger(NameCount)) in readEpilogue() local
90 if (auto EC = readHeader(SectionReader)) in reload() local
94 if (auto EC = readStrings(SectionReader)) in reload() local
99 if (auto EC = readHashTable(Reader)) in reload() local
103 if (auto EC = readEpilogue(SectionReader)) in reload() local
DDbiStreamBuilder.cpp185 if (auto EC = MetadataWriter.writeInteger(ModiCount)) // NumModules in generateFileInfoSubstream() local
187 if (auto EC = MetadataWriter.writeInteger(FileCount)) // NumSourceFiles in generateFileInfoSubstream() local
190 if (auto EC = MetadataWriter.writeInteger(I)) // Mod Indices in generateFileInfoSubstream() local
195 if (auto EC = MetadataWriter.writeInteger(FileCount)) // Mod File Counts in generateFileInfoSubstream() local
207 if (auto EC = NameBufferWriter.writeCString(Name.getKey())) in generateFileInfoSubstream() local
217 if (auto EC = MetadataWriter.writeInteger(Result->second)) in generateFileInfoSubstream() local
222 if (auto EC = NameBufferWriter.padToAlignment(sizeof(uint32_t))) in generateFileInfoSubstream() local
244 if (auto EC = generateFileInfoSubstream()) in finalize() local
285 if (auto EC = MI->finalizeMsfLayout()) in finalizeMsfLayout() local
290 if (auto EC = Msf.setStreamSize(StreamDBI, Length)) in finalizeMsfLayout() local
[all …]
DGlobalsStream.cpp70 if (auto EC = checkHashHdrVersion(HashHdr)) in readGSIHashRecords() local
79 if (auto EC = Reader.readArray(HashRecords, NumHashRecords)) in readGSIHashRecords() local
91 if (auto EC = checkHashHdrVersion(HashHdr)) in readGSIHashBuckets() local
98 if (auto EC = Reader.readBytes(HashBitmap, NumBitmapEntries)) in readGSIHashBuckets() local
107 if (auto EC = Reader.readArray(HashBuckets, NumBuckets)) in readGSIHashBuckets() local
116 if (auto EC = readGSIHashHeader(HashHdr, Reader)) in read() local
118 if (auto EC = readGSIHashRecords(HashRecords, HashHdr, Reader)) in read() local
121 if (auto EC = readGSIHashBuckets(HashBuckets, HashBitmap, HashHdr, Reader)) in read() local
DPDBFileBuilder.cpp143 if (auto EC = Gsi->finalizeMsfLayout()) in finalizeMsfLayout() local
152 if (auto EC = Tpi->finalizeMsfLayout()) in finalizeMsfLayout() local
156 if (auto EC = Dbi->finalizeMsfLayout()) in finalizeMsfLayout() local
164 if (auto EC = Ipi->finalizeMsfLayout()) in finalizeMsfLayout() local
171 if (auto EC = Info->finalizeMsfLayout()) in finalizeMsfLayout() local
212 if (auto EC = Info->finalizeMsfLayout()) in finalizeMsfLayout() local
267 if (auto EC = finalizeMsfLayout()) in commit() local
283 if (auto EC = Strings.commit(NSWriter)) in commit() local
293 if (auto EC = NSW.writeBytes(arrayRefFromStringRef(NSE.second))) in commit() local
298 if (auto EC = Info->commit(Layout, Buffer)) in commit() local
[all …]
DPDBStringTableBuilder.cpp142 if (auto EC = Writer.writeObject(H)) in writeHeader() local
149 if (auto EC = Strings.commit(Writer)) in writeStrings() local
159 if (auto EC = Writer.writeInteger(BucketCount)) in writeHashTable() local
177 if (auto EC = Writer.writeArray(ArrayRef<ulittle32_t>(Buckets))) in writeHashTable() local
185 if (auto EC = Writer.writeInteger<uint32_t>(Strings.size())) in writeEpilogue() local
195 if (auto EC = writeHeader(SectionWriter)) in commit() local
200 if (auto EC = writeStrings(SectionWriter)) in commit() local
204 if (auto EC = writeHashTable(SectionWriter)) in commit() local
208 if (auto EC = writeEpilogue(SectionWriter)) in commit() local
DDbiModuleDescriptorBuilder.cpp130 if (auto EC = ModiWriter.writeObject(Layout)) in commit() local
132 if (auto EC = ModiWriter.writeCString(ModuleName)) in commit() local
134 if (auto EC = ModiWriter.writeCString(ObjFileName)) in commit() local
136 if (auto EC = ModiWriter.padToAlignment(sizeof(uint32_t))) in commit() local
145 if (auto EC = in commit() local
151 if (auto EC = SymbolWriter.writeStreamRef(RecordsRef)) in commit() local
153 if (auto EC = SymbolWriter.padToAlignment(4)) in commit() local
160 if (auto EC = Builder->commit(SymbolWriter)) in commit() local
165 if (auto EC = SymbolWriter.writeInteger<uint32_t>(0)) in commit() local
/external/llvm/lib/DebugInfo/CodeView/
DStreamWriter.cpp22 if (auto EC = Stream.writeBytes(Offset, Buffer)) in writeBytes() local
37 if (auto EC = writeFixedString(Str)) in writeZeroString() local
39 if (auto EC = writeObject('\0')) in writeZeroString() local
47 if (auto EC = Stream.writeBytes(Offset, Bytes)) in writeFixedString() local
55 if (auto EC = writeStreamRef(Ref, Ref.getLength())) in writeStreamRef() local
71 if (auto EC = SrcReader.readLongestContiguousChunk(Chunk)) in writeStreamRef() local
73 if (auto EC = writeBytes(Chunk)) in writeStreamRef() local
DCVTypeVisitor.cpp29 if (auto EC = Callbacks.visitTypeBegin(Record)) in visitTypeRecord() local
33 if (auto EC = Callbacks.visitUnknownType(Record)) in visitTypeRecord() local
37 if (auto EC = Callbacks.visitFieldListBegin(Record)) in visitTypeRecord() local
39 if (auto EC = visitFieldList(Record)) in visitTypeRecord() local
41 if (auto EC = Callbacks.visitFieldListEnd(Record)) in visitTypeRecord() local
59 if (auto EC = Callbacks.visitTypeEnd(Record)) in visitTypeRecord() local
67 if (auto EC = visitTypeRecord(I)) in visitTypeStream() local
96 if (auto EC = takeObject(RecordData, LeafPtr)) in visitFieldList() local
103 if (auto EC = Callbacks.visitUnknownMember(Record)) in visitFieldList() local
119 if (auto EC = skipPadding(RecordData)) in visitFieldList() local
DStreamReader.cpp21 if (auto EC = Stream.readLongestContiguousChunk(Offset, Buffer)) in readLongestContiguousChunk() local
28 if (auto EC = Stream.readBytes(Offset, Size, Buffer)) in readBytes() local
36 if (auto EC = readObject(P)) in readInteger() local
44 if (auto EC = readObject(P)) in readInteger() local
56 if (auto EC = readObject(C)) in readZeroString() local
66 if (auto EC = readBytes(Data, Length)) in readZeroString() local
77 if (auto EC = readBytes(Bytes, Length)) in readFixedString() local
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/
DCodeViewRecordIO.h54 if (auto EC = Reader->readObject(ValuePtr)) in mapObject() local
76 if (auto EC = mapInteger(X)) in mapEnum() local
96 if (auto EC = Writer->writeInteger(Size)) in mapVectorN() local
100 if (auto EC = Mapper(*this, X)) in mapVectorN() local
104 if (auto EC = Reader->readInteger(Size)) in mapVectorN() local
108 if (auto EC = Mapper(*this, Item)) in mapVectorN() local
121 if (auto EC = Mapper(*this, Item)) in mapVectorTail() local
128 if (auto EC = Mapper(*this, Field)) in mapVectorTail() local

12345678910>>...20