Home
last modified time | relevance | path

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

12345678

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DCodeViewRecordIO.cpp107 if (auto EC = Writer->writeBytes(Bytes)) in mapByteVectorTail() local
110 if (auto EC = Reader->readBytes(Bytes, Reader->bytesRemaining())) in mapByteVectorTail() local
119 if (auto EC = mapByteVectorTail(BytesRef, Comment)) in mapByteVectorTail() local
137 if (auto EC = Writer->writeInteger(TypeInd.getIndex())) in mapInteger() local
141 if (auto EC = Reader->readInteger(I)) in mapInteger() local
157 if (auto EC = writeEncodedUnsignedInteger(static_cast<uint64_t>(Value))) in mapEncodedInteger() local
160 if (auto EC = writeEncodedSignedInteger(Value)) in mapEncodedInteger() local
165 if (auto EC = consume(*Reader, N)) in mapEncodedInteger() local
178 if (auto EC = writeEncodedUnsignedInteger(Value)) in mapEncodedInteger() local
182 if (auto EC = consume(*Reader, N)) in mapEncodedInteger() local
[all …]
DDebugSubsectionVisitor.cpp35 if (auto EC = Fragment.initialize(Reader)) in visitDebugSubsection() local
42 if (auto EC = Fragment.initialize(Reader)) in visitDebugSubsection() local
49 if (auto EC = Fragment.initialize(Reader)) in visitDebugSubsection() local
55 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() local
61 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() local
67 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() local
73 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() local
79 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() local
85 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() local
DDebugInlineeLinesSubsection.cpp27 if (auto EC = Reader.readObject(Item.Header)) in operator ()() local
32 if (auto EC = Reader.readInteger(ExtraFileCount)) in operator ()() local
34 if (auto EC = Reader.readArray(Item.ExtraFiles, ExtraFileCount)) in operator ()() local
46 if (auto EC = Reader.readEnum(Signature)) in initialize() local
50 if (auto EC = Reader.readArray(Lines, Reader.bytesRemaining())) in initialize() local
88 if (auto EC = Writer.writeEnum(Sig)) in commit() local
92 if (auto EC = Writer.writeObject(E.Header)) in commit() local
98 if (auto EC = Writer.writeInteger<uint32_t>(E.ExtraFiles.size())) in commit() local
100 if (auto EC = Writer.writeArray(makeArrayRef(E.ExtraFiles))) in commit() local
DRecordSerialization.cpp40 if (auto EC = Reader.readInteger(Short)) in consume() local
52 if (auto EC = Reader.readInteger(N)) in consume() local
59 if (auto EC = Reader.readInteger(N)) in consume() local
66 if (auto EC = Reader.readInteger(N)) in consume() local
73 if (auto EC = Reader.readInteger(N)) in consume() local
80 if (auto EC = Reader.readInteger(N)) in consume() local
87 if (auto EC = Reader.readInteger(N)) in consume() local
94 if (auto EC = Reader.readInteger(N)) in consume() local
108 auto EC = consume(SR, Num); in consume() local
117 if (auto EC = consume(Reader, N)) in consume_numeric() local
[all …]
DDebugLinesSubsection.cpp27 if (auto EC = Reader.readObject(BlockHeader)) in operator ()() local
44 if (auto EC = Reader.readArray(Item.LineNumbers, BlockHeader->NumLines)) in operator ()() local
47 if (auto EC = Reader.readArray(Item.Columns, BlockHeader->NumLines)) in operator ()() local
57 if (auto EC = Reader.readObject(Header)) in initialize() local
61 if (auto EC = Reader.readArray(LinesAndColumns, Reader.bytesRemaining())) in initialize() local
110 if (auto EC = Writer.writeObject(Header)) in commit() local
123 if (auto EC = Writer.writeObject(BlockHeader)) in commit() local
126 if (auto EC = Writer.writeArray(makeArrayRef(B.Lines))) in commit() local
130 if (auto EC = Writer.writeArray(makeArrayRef(B.Columns))) in commit() local
DCVSymbolVisitor.cpp25 if (auto EC = Callbacks.visitKnownRecord(Record, KnownRecord)) in visitKnownRecord() local
34 if (auto EC = Callbacks.visitUnknownSymbol(Record)) in finishVisitation() local
48 if (auto EC = Callbacks.visitSymbolEnd(Record)) in finishVisitation() local
55 if (auto EC = Callbacks.visitSymbolBegin(Record)) in visitSymbolRecord() local
61 if (auto EC = Callbacks.visitSymbolBegin(Record, Offset)) in visitSymbolRecord() local
68 if (auto EC = visitSymbolRecord(I)) in visitSymbolStream() local
77 if (auto EC = visitSymbolRecord(I, InitialOffset + Symbols.skew())) in visitSymbolStream() local
DDebugSubsectionRecord.cpp35 if (auto EC = Reader.readObject(Header)) in initialize() local
40 if (auto EC = Reader.readStreamRef(Info.Data, Header->Length)) in initialize() local
83 if (auto EC = Writer.writeObject(Header)) in commit() local
86 if (auto EC = Subsection->commit(Writer)) in commit() local
89 if (auto EC = Writer.writeStreamRef(Contents.getRecordData())) in commit() local
92 if (auto EC = Writer.padToAlignment(4)) in commit() local
DSymbolSerializer.cpp31 if (auto EC = writeRecordPrefix(Record.kind())) in visitSymbolBegin() local
35 if (auto EC = Mapping.visitSymbolBegin(Record)) in visitSymbolBegin() local
44 if (auto EC = Mapping.visitSymbolEnd(Record)) in visitSymbolEnd() local
50 if (auto EC = Writer.writeInteger(Length)) in visitSymbolEnd() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DSampleProfReader.cpp291 std::error_code EC; in readNumber() local
311 std::error_code EC; in readString() local
325 std::error_code EC; in readUnencodedNumber() local
340 std::error_code EC; in readStringIndex() local
342 if (std::error_code EC = Idx.getError()) in readStringIndex() local
351 if (std::error_code EC = Idx.getError()) in readStringFromTable() local
359 if (std::error_code EC = Idx.getError()) in readStringFromTable() local
368 if (std::error_code EC = NumSamples.getError()) in readProfile() local
374 if (std::error_code EC = NumRecords.getError()) in readProfile() local
379 if (std::error_code EC = LineOffset.getError()) in readProfile() local
[all …]
DSampleProfWriter.cpp59 if (std::error_code EC = writeSample(*I.second)) in writeFuncProfiles() local
67 if (std::error_code EC = writeHeader(ProfileMap)) in write() local
70 if (std::error_code EC = writeFuncProfiles(ProfileMap)) in write() local
122 if (std::error_code EC = compressAndOutput()) in addNewSection() local
132 if (std::error_code EC = writeHeader(ProfileMap)) in write() local
137 if (std::error_code EC = writeSections(ProfileMap)) in write() local
140 if (std::error_code EC = writeSecHdrTable()) in write() local
173 if (auto EC = writeSummary()) in writeSections() local
175 if (std::error_code EC = addNewSection(SecProfSummary, SectionStart)) in writeSections() local
185 if (std::error_code EC = addNewSection(SecNameTable, SectionStart)) in writeSections() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DDbiStream.cpp42 if (auto EC = Reader.readArray(Output, Count)) in loadSectionContribs() local
58 if (auto EC = Reader.readObject(Header)) in reload() local
100 if (auto EC = Reader.readSubstream(ModiSubstream, Header->ModiSubstreamSize)) in reload() local
103 if (auto EC = Reader.readSubstream(SecContrSubstream, in reload() local
106 if (auto EC = Reader.readSubstream(SecMapSubstream, Header->SectionMapSize)) in reload() local
108 if (auto EC = Reader.readSubstream(FileInfoSubstream, Header->FileInfoSize)) in reload() local
110 if (auto EC = in reload() local
113 if (auto EC = Reader.readSubstream(ECSubstream, Header->ECSubstreamSize)) in reload() local
115 if (auto EC = Reader.readArray( in reload() local
119 if (auto EC = Modules.initialize(ModiSubstream.StreamData, in reload() local
[all …]
DPDBStringTable.cpp28 if (auto EC = Reader.readObject(Header)) in readHeader() local
44 if (auto EC = Reader.readStreamRef(Stream)) in readStrings() local
47 if (auto EC = Strings.initialize(Stream)) { in readStrings() local
64 if (auto EC = Reader.readObject(HashCount)) in readHashTable() local
67 if (auto EC = Reader.readArray(IDs, *HashCount)) { in readHashTable() local
77 if (auto EC = Reader.readInteger(NameCount)) in readEpilogue() local
89 if (auto EC = readHeader(SectionReader)) in reload() local
93 if (auto EC = readStrings(SectionReader)) in reload() local
98 if (auto EC = readHashTable(Reader)) in reload() local
102 if (auto EC = readEpilogue(SectionReader)) in reload() local
DModuleDebugStream.cpp61 if (auto EC = Reader.readInteger(Signature)) in reloadSerialize() local
64 if (auto EC = Reader.readSubstream(SymbolsSubstream, SymbolSize)) in reloadSerialize() local
66 if (auto EC = Reader.readSubstream(C11LinesSubstream, C11Size)) in reloadSerialize() local
68 if (auto EC = Reader.readSubstream(C13LinesSubstream, C13Size)) in reloadSerialize() local
72 if (auto EC = SymbolReader.readArray( in reloadSerialize() local
77 if (auto EC = SubsectionsReader.readArray(Subsections, in reloadSerialize() local
82 if (auto EC = Reader.readInteger(GlobalRefsSize)) in reloadSerialize() local
84 if (auto EC = Reader.readSubstream(GlobalRefsSubstream, GlobalRefsSize)) in reloadSerialize() local
139 if (auto EC = Result.initialize(SS.getRecordData())) in findChecksumsSubsection() local
DDbiStreamBuilder.cpp202 if (auto EC = MetadataWriter.writeInteger(ModiCount)) // NumModules in generateFileInfoSubstream() local
204 if (auto EC = MetadataWriter.writeInteger(FileCount)) // NumSourceFiles in generateFileInfoSubstream() local
207 if (auto EC = MetadataWriter.writeInteger(I)) // Mod Indices in generateFileInfoSubstream() local
212 if (auto EC = MetadataWriter.writeInteger(FileCount)) // Mod File Counts in generateFileInfoSubstream() local
224 if (auto EC = NameBufferWriter.writeCString(Name.getKey())) in generateFileInfoSubstream() local
234 if (auto EC = MetadataWriter.writeInteger(Result->second)) in generateFileInfoSubstream() local
239 if (auto EC = NameBufferWriter.padToAlignment(sizeof(uint32_t))) in generateFileInfoSubstream() local
261 if (auto EC = generateFileInfoSubstream()) in finalize() local
322 if (auto EC = MI->finalizeMsfLayout()) in finalizeMsfLayout() local
327 if (auto EC = Msf.setStreamSize(StreamDBI, Length)) in finalizeMsfLayout() local
[all …]
DPDBFileBuilder.cpp142 if (auto EC = Gsi->finalizeMsfLayout()) in finalizeMsfLayout() local
151 if (auto EC = Tpi->finalizeMsfLayout()) in finalizeMsfLayout() local
155 if (auto EC = Dbi->finalizeMsfLayout()) in finalizeMsfLayout() local
163 if (auto EC = Ipi->finalizeMsfLayout()) in finalizeMsfLayout() local
170 if (auto EC = Info->finalizeMsfLayout()) in finalizeMsfLayout() local
211 if (auto EC = Info->finalizeMsfLayout()) in finalizeMsfLayout() local
266 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.cpp159 if (auto EC = Writer.writeObject(H)) in writeHeader() local
166 if (auto EC = Strings.commit(Writer)) in writeStrings() local
176 if (auto EC = Writer.writeInteger(BucketCount)) in writeHashTable() local
194 if (auto EC = Writer.writeArray(ArrayRef<ulittle32_t>(Buckets))) in writeHashTable() local
202 if (auto EC = Writer.writeInteger<uint32_t>(Strings.size())) in writeEpilogue() local
212 if (auto EC = writeHeader(SectionWriter)) in commit() local
217 if (auto EC = writeStrings(SectionWriter)) in commit() local
221 if (auto EC = writeHashTable(SectionWriter)) in commit() local
225 if (auto EC = writeEpilogue(SectionWriter)) in commit() local
DDbiModuleList.cpp164 if (auto EC = initializeModInfo(ModInfo)) in initialize() local
166 if (auto EC = initializeFileInfo(FileInfo)) in initialize() local
180 if (auto EC = Reader.readArray(Descriptors, ModInfo.getLength())) in initializeModInfo() local
193 if (auto EC = FISR.readObject(FileInfoHeader)) in initializeFileInfo() local
199 if (auto EC = FISR.readArray(ModuleIndices, FileInfoHeader->NumModules)) in initializeFileInfo() local
201 if (auto EC = FISR.readArray(ModFileCountArray, FileInfoHeader->NumModules)) in initializeFileInfo() local
216 if (auto EC = FISR.readArray(FileNameOffsets, NumSourceFiles)) in initializeFileInfo() local
219 if (auto EC = FISR.readStreamRef(NamesBuffer)) in initializeFileInfo() local
276 if (auto EC = Names.readCString(Name)) in getFileName() local
DPDBFile.cpp109 if (auto EC = Buffer->readBytes(StreamBlockOffset, NumBytes, Result)) in getBlockData() local
125 if (auto EC = Reader.readObject(SB)) { in parseFileHeaders() local
131 if (auto EC = msf::validateSuperBlock(*SB)) in parseFileHeaders() local
158 if (auto EC = FpmReader.readBytes(FpmBytes, FpmReader.bytesRemaining())) in parseFileHeaders() local
173 if (auto EC = Reader.readArray(ContainerLayout.DirectoryBlocks, in parseFileHeaders() local
195 if (auto EC = Reader.readInteger(NumStreams)) in parseStreamData() local
198 if (auto EC = Reader.readArray(ContainerLayout.StreamSizes, NumStreams)) in parseStreamData() local
215 if (auto EC = Reader.readArray(Blocks, NumExpectedStreamBlocks)) in parseStreamData() local
268 if (auto EC = TempGlobals->reload()) in getPDBGlobalsStream() local
281 if (auto EC = TempInfo->reload()) in getPDBInfoStream() local
[all …]
DGlobalsStream.cpp110 if (auto EC = checkHashHdrVersion(HashHdr)) in readGSIHashRecords() local
119 if (auto EC = Reader.readArray(HashRecords, NumHashRecords)) in readGSIHashRecords() local
133 if (auto EC = checkHashHdrVersion(HashHdr)) in readGSIHashBuckets() local
140 if (auto EC = Reader.readArray(HashBitmap, NumBitmapEntries)) in readGSIHashBuckets() local
163 if (auto EC = Reader.readArray(HashBuckets, NumBuckets)) in readGSIHashBuckets() local
172 if (auto EC = readGSIHashHeader(HashHdr, Reader)) in read() local
174 if (auto EC = readGSIHashRecords(HashRecords, HashHdr, Reader)) in read() local
177 if (auto EC = readGSIHashBuckets(HashBuckets, HashBitmap, HashHdr, in read() local
DDbiModuleDescriptorBuilder.cpp140 if (auto EC = ModiWriter.writeObject(Layout)) in commit() local
142 if (auto EC = ModiWriter.writeCString(ModuleName)) in commit() local
144 if (auto EC = ModiWriter.writeCString(ObjFileName)) in commit() local
146 if (auto EC = ModiWriter.padToAlignment(sizeof(uint32_t))) in commit() local
155 if (auto EC = in commit() local
159 if (auto EC = SymbolWriter.writeBytes(Syms)) in commit() local
167 if (auto EC = Builder->commit(SymbolWriter)) in commit() local
172 if (auto EC = SymbolWriter.writeInteger<uint32_t>(0)) in commit() local
DTpiStreamBuilder.cpp115 if (auto EC = Msf.setStreamSize(Idx, Length)) in finalizeMsfLayout() local
145 if (auto EC = finalize()) in commit() local
152 if (auto EC = Writer.writeObject(*Header)) in commit() local
158 if (auto EC = Writer.writeBytes(Rec)) in commit() local
167 if (auto EC = HW.writeStreamRef(*HashValueStream)) in commit() local
172 if (auto EC = HW.writeObject(IndexOffset)) in commit() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DCodeViewRecordIO.h93 if (auto EC = Reader->readObject(ValuePtr)) in mapObject() local
123 if (auto EC = mapInteger(X, Comment)) variable
152 if (auto EC = Mapper(*this, X)) variable
157 if (auto EC = Writer->writeInteger(Size)) variable
161 if (auto EC = Mapper(*this, X)) variable
165 if (auto EC = Reader->readInteger(Size)) variable
169 if (auto EC = Mapper(*this, Item)) variable
184 if (auto EC = Mapper(*this, Item)) variable
191 if (auto EC = Mapper(*this, Field)) variable
DTypeVisitorCallbackPipeline.h27 if (auto EC = Visitor->visitUnknownType(Record)) in visitUnknownType() local
35 if (auto EC = Visitor->visitUnknownMember(Record)) in visitUnknownMember() local
43 if (auto EC = Visitor->visitTypeBegin(Record)) in visitTypeBegin() local
51 if (auto EC = Visitor->visitTypeBegin(Record, Index)) in visitTypeBegin() local
59 if (auto EC = Visitor->visitTypeEnd(Record)) in visitTypeEnd() local
67 if (auto EC = Visitor->visitMemberBegin(Record)) in visitMemberBegin() local
75 if (auto EC = Visitor->visitMemberEnd(Record)) in visitMemberEnd() local
101 if (auto EC = Visitor->visitKnownRecord(CVR, Record)) in visitKnownRecordImpl() local
110 if (auto EC = Visitor->visitKnownMember(CVMR, Record)) in visitKnownMemberImpl() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFileCollector.cpp51 auto EC = sys::fs::real_path(Directory, RealPath); in getRealPath() local
111 if (auto EC = in copyAccessAndModificationTime() local
115 if (auto EC = sys::fs::setLastAccessAndModificationTime( in copyAccessAndModificationTime() local
119 if (auto EC = sys::Process::SafelyCloseFileDescriptor(FD)) in copyAccessAndModificationTime() local
128 if (std::error_code EC = in copyFiles() local
137 if (std::error_code EC = sys::fs::status(entry.VPath, Stat)) { in copyFiles() local
145 if (std::error_code EC = in copyFiles() local
155 if (std::error_code EC = sys::fs::copy_file(entry.VPath, entry.RPath)) { in copyFiles() local
162 if (std::error_code EC = sys::fs::setPermissions(entry.RPath, *perms)) { in copyFiles() local
181 std::error_code EC; in writeMapping() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DBinaryStreamReader.h80 if (auto EC = readBytes(Bytes, sizeof(T))) in readInteger() local
93 if (auto EC = readInteger(N)) in readEnum() local
171 if (auto EC = readBytes(Buffer, sizeof(T))) in readObject() local
198 if (auto EC = readBytes(Bytes, NumElements * sizeof(T))) in readArray() local
220 if (auto EC = readStreamRef(S, Size)) variable
246 if (auto EC = readStreamRef(View, NumItems * sizeof(T))) in readArray() local

12345678