Home
last modified time | relevance | path

Searched refs:errorToErrorCode (Results 1 – 25 of 55) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DFileOutputBufferTest.cpp48 ASSERT_NO_ERROR(errorToErrorCode(BufferOrErr.takeError())); in TEST()
55 ASSERT_NO_ERROR(errorToErrorCode(Buffer->commit())); in TEST()
70 ASSERT_NO_ERROR(errorToErrorCode(Buffer2OrErr.takeError())); in TEST()
87 ASSERT_NO_ERROR(errorToErrorCode(BufferOrErr.takeError())); in TEST()
93 ASSERT_NO_ERROR(errorToErrorCode(Buffer->commit())); in TEST()
108 ASSERT_NO_ERROR(errorToErrorCode(BufferOrErr.takeError())); in TEST()
113 ASSERT_NO_ERROR(errorToErrorCode(Buffer->commit())); in TEST()
140 ASSERT_NO_ERROR(errorToErrorCode(BufferOrErr.takeError())); in TEST()
143 ASSERT_NO_ERROR(errorToErrorCode(Buffer->commit())); in TEST()
150 ASSERT_NO_ERROR(errorToErrorCode(BufferOrErr.takeError())); in TEST()
[all …]
DErrorTest.cpp441 errorToErrorCode(make_error<StringError>("", errc::invalid_argument)); in TEST()
464 auto Res = errorToErrorCode(createStringError(EC, "foo%s", Bar)); in TEST()
689 EXPECT_EQ(errorToErrorCode(errorCodeToError(std::error_code())), in TEST()
694 EXPECT_EQ(errorToErrorCode(errorCodeToError(errc::invalid_argument)), in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/
Delf2yaml.cpp128 return errorToErrorCode(SectionsOrErr.takeError()); in dump()
146 return errorToErrorCode(TableOrErr.takeError()); in dump()
211 return errorToErrorCode(StrTableOrErr.takeError()); in dumpSymbols()
216 return errorToErrorCode(SymtabOrErr.takeError()); in dumpSymbols()
258 return errorToErrorCode(SymbolNameOrErr.takeError()); in dumpSymbol()
263 return errorToErrorCode(ShdrOrErr.takeError()); in dumpSymbol()
270 return errorToErrorCode(NameOrErr.takeError()); in dumpSymbol()
287 return errorToErrorCode(SymOrErr.takeError()); in dumpRelocation()
291 return errorToErrorCode(StrTabSec.takeError()); in dumpRelocation()
294 return errorToErrorCode(StrTabOrErr.takeError()); in dumpRelocation()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cvtres/
Dllvm-cvtres.cpp167 reportError(File, errorToErrorCode(BinaryOrErr.takeError())); in main()
198 reportError(OutputFile, errorToErrorCode(FileOrErr.takeError())); in main()
207 reportError(OutputFile, errorToErrorCode(BinaryOrErr.takeError())); in main()
/external/llvm/tools/dsymutil/
DBinaryHolder.cpp125 return errorToErrorCode(std::move(Err)); in GetArchiveMemberBuffers()
163 return errorToErrorCode(ErrOrArchive.takeError()); in MapArchiveAndGetMemberBuffers()
195 return errorToErrorCode(ErrOrObjectFile.takeError()); in GetObjectFiles()
/external/llvm/lib/DebugInfo/Symbolize/
DSymbolizableObjectFile.cpp125 return errorToErrorCode(SymbolTypeOrErr.takeError()); in addSymbol()
131 return errorToErrorCode(SymbolAddressOrErr.takeError()); in addSymbol()
147 return errorToErrorCode(SymbolNameOrErr.takeError()); in addSymbol()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/Symbolize/
DSymbolizableObjectFile.cpp142 return errorToErrorCode(SymbolTypeOrErr.takeError()); in addSymbol()
148 return errorToErrorCode(SymbolAddressOrErr.takeError()); in addSymbol()
164 return errorToErrorCode(SymbolNameOrErr.takeError()); in addSymbol()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cxxdump/
Dllvm-cxxdump.cpp89 error(errorToErrorCode(RelocSymName.takeError())); in collectRelocatedSymbols()
111 error(errorToErrorCode(RelocSymName.takeError())); in collectRelocationOffsets()
185 error(errorToErrorCode(SymNameOrErr.takeError())); in dumpCXXData()
188 error(errorToErrorCode(SecIOrErr.takeError())); in dumpCXXData()
200 error(errorToErrorCode(SymAddressOrErr.takeError())); in dumpCXXData()
519 auto EC = errorToErrorCode(BinaryOrErr.takeError()); in dumpInput()
/external/llvm/tools/llvm-cxxdump/
Dllvm-cxxdump.cpp91 error(errorToErrorCode(RelocSymName.takeError())); in collectRelocatedSymbols()
113 error(errorToErrorCode(RelocSymName.takeError())); in collectRelocationOffsets()
187 error(errorToErrorCode(SymNameOrErr.takeError())); in dumpCXXData()
190 error(errorToErrorCode(SecIOrErr.takeError())); in dumpCXXData()
202 error(errorToErrorCode(SymAddressOrErr.takeError())); in dumpCXXData()
521 auto EC = errorToErrorCode(BinaryOrErr.takeError()); in dumpInput()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DELFObjectFile.h282 report_fatal_error(errorToErrorCode(RelSecOrErr.takeError()).message()); in getRelSection()
354 report_fatal_error(errorToErrorCode(Ret.takeError()).message()); in getSymbol()
383 return errorToErrorCode(SectionsOrErr.takeError()); in getBuildAttributes()
389 return errorToErrorCode(ErrorOrContents.takeError()); in getBuildAttributes()
656 return errorToErrorCode(Name.takeError()); in getSectionName()
785 report_fatal_error(errorToErrorCode(SymSecOrErr.takeError()).message()); in section_rel_end()
804 report_fatal_error(errorToErrorCode(R.takeError()).message()); in getRelocatedSection()
877 report_fatal_error(errorToErrorCode(Ret.takeError()).message()); in getRel()
887 report_fatal_error(errorToErrorCode(Ret.takeError()).message()); in getRela()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dwarfdump/
Dllvm-dwarfdump.cpp452 error(Filename, errorToErrorCode(BuffOrErr.takeError())); in handleArchive()
454 error(Filename, errorToErrorCode(NameOrErr.takeError())); in handleArchive()
458 error(Filename, errorToErrorCode(std::move(Err))); in handleArchive()
466 error(Filename, errorToErrorCode(BinOrErr.takeError())); in handleBuffer()
489 error(ObjName, errorToErrorCode(ArchiveOrErr.takeError())); in handleBuffer()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/
DELFDump.cpp88 warn(errorToErrorCode(StrTabOrErr.takeError()).message()); in printDynamicSection()
101 errorToErrorCode(ProgramHeaderOrError.takeError()).message()); in printProgramHeaders()
DCOFFDump.cpp163 return errorToErrorCode(ResolvedAddrOrErr.takeError()); in resolveSectionAndAddress()
167 return errorToErrorCode(Iter.takeError()); in resolveSectionAndAddress()
215 return errorToErrorCode(NameOrErr.takeError()); in resolveSymbolName()
642 error(errorToErrorCode(Symbol.takeError())); in printCOFFSymbolTable()
/external/llvm/tools/llvm-dwarfdump/
Dllvm-dwarfdump.cpp101 error(Filename, errorToErrorCode(BinOrErr.takeError())); in DumpInput()
108 error(Filename, errorToErrorCode(MachOOrErr.takeError())); in DumpInput()
/external/llvm/unittests/Support/
DErrorTest.cpp435 errorToErrorCode(make_error<StringError>("", errc::invalid_argument)); in TEST()
574 EXPECT_EQ(errorToErrorCode(errorCodeToError(std::error_code())), in TEST()
579 EXPECT_EQ(errorToErrorCode(errorCodeToError(errc::invalid_argument)), in TEST()
/external/llvm/tools/obj2yaml/
Dobj2yaml.cpp34 return errorToErrorCode(BinaryOrErr.takeError()); in dumpInput()
Delf2yaml.cpp184 return errorToErrorCode(SymbolNameOrErr.takeError()); in dumpSymbol()
222 return errorToErrorCode(NameOrErr.takeError()); in dumpRelocation()
373 return errorToErrorCode(symbolName.takeError()); in dumpGroup()
/external/llvm/tools/llvm-readobj/
DWin64EHDumper.cpp153 return errorToErrorCode(ResolvedAddressOrErr.takeError()); in resolveRelocation()
158 return errorToErrorCode(SI.takeError()); in resolveRelocation()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
DWin64EHDumper.cpp153 return errorToErrorCode(ResolvedAddressOrErr.takeError()); in resolveRelocation()
158 return errorToErrorCode(SI.takeError()); in resolveRelocation()
/external/llvm/lib/Support/
DError.cpp84 std::error_code errorToErrorCode(Error Err) { in errorToErrorCode() function
/external/llvm/tools/llvm-objdump/
DCOFFDump.cpp166 return errorToErrorCode(ResolvedAddrOrErr.takeError()); in resolveSectionAndAddress()
170 return errorToErrorCode(Iter.takeError()); in resolveSectionAndAddress()
220 return errorToErrorCode(NameOrErr.takeError()); in resolveSymbolName()
Dllvm-objdump.cpp537 return errorToErrorCode(SymSI.takeError()); in getRelocationValueString()
546 return errorToErrorCode(SymName.takeError()); in getRelocationValueString()
638 return errorToErrorCode(SymNameOrErr.takeError()); in getRelocationValueString()
707 error(errorToErrorCode(SOrErr.takeError())); in printRelocationTargetName()
1007 error(errorToErrorCode(AddressOrErr.takeError())); in DisassembleObject()
1011 error(errorToErrorCode(Name.takeError())); in DisassembleObject()
1016 error(errorToErrorCode(SectionOrErr.takeError())); in DisassembleObject()
1413 error(errorToErrorCode(SectionOrErr.takeError())); in PrintSymbolTable()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DError.cpp84 std::error_code errorToErrorCode(Error Err) { in errorToErrorCode() function
/external/llvm/lib/Object/
DModuleSummaryIndexObjectFile.cpp62 return errorToErrorCode(ObjFile.takeError()); in findBitcodeInMemBuffer()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DObjectFile.cpp64 return errorToErrorCode(Name.takeError()); in printSymbolName()

123