Home
last modified time | relevance | path

Searched refs:make_error (Results 1 – 25 of 504) sorted by relevance

12345678910>>...21

/external/llvm-project/llvm/unittests/Support/
DErrorTest.cpp148 Error E = make_error<CustomError>(42); in TEST()
160 Error E = make_error<CustomError>(1); in TEST()
161 Error F = make_error<CustomSubError>(1, 2); in TEST()
178 handleAllErrors(make_error<CustomError>(42), [&](const CustomError &CE) { in TEST()
200 handleAllErrors(make_error<CustomError>(42), [](const CustomError &CE) {}); in TEST()
203 make_error<CustomError>(42), in TEST()
206 handleAllErrors(make_error<CustomError>(42), in TEST()
209 handleAllErrors(make_error<CustomError>(42), in TEST()
212 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) {}); in TEST()
214 handleAllErrors(make_error<CustomError>(42), in TEST()
[all …]
/external/llvm/unittests/Support/
DErrorTest.cpp142 Error E = make_error<CustomError>(42); in TEST()
154 Error E = make_error<CustomError>(1); in TEST()
155 Error F = make_error<CustomSubError>(1, 2); in TEST()
172 handleAllErrors(make_error<CustomError>(42), [&](const CustomError &CE) { in TEST()
194 handleAllErrors(make_error<CustomError>(42), [](const CustomError &CE) {}); in TEST()
197 make_error<CustomError>(42), in TEST()
200 handleAllErrors(make_error<CustomError>(42), in TEST()
203 handleAllErrors(make_error<CustomError>(42), in TEST()
206 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) {}); in TEST()
208 handleAllErrors(make_error<CustomError>(42), in TEST()
[all …]
/external/llvm/lib/DebugInfo/PDB/Raw/
DNameMap.cpp29 make_error<RawError>(raw_error_code::corrupt_file, in load()
32 return make_error<RawError>(raw_error_code::corrupt_file, in load()
44 make_error<RawError>(raw_error_code::corrupt_file, in load()
52 make_error<RawError>(raw_error_code::corrupt_file, in load()
56 return make_error<RawError>(raw_error_code::corrupt_file, in load()
66 make_error<RawError>(raw_error_code::corrupt_file, in load()
70 return make_error<RawError>(raw_error_code::corrupt_file, in load()
78 make_error<RawError>(raw_error_code::corrupt_file, in load()
91 make_error<RawError>(raw_error_code::corrupt_file, in load()
95 return make_error<RawError>(raw_error_code::corrupt_file, in load()
[all …]
DDbiStream.cpp72 return make_error<RawError>( in loadSectionContribs()
93 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
96 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
100 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
107 return make_error<RawError>(raw_error_code::feature_unsupported, in reload()
115 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
123 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
129 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
132 return make_error<RawError>( in reload()
136 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
[all …]
DPublicsStream.cpp93 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
98 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
102 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
107 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
112 make_error<RawError>(raw_error_code::corrupt_file, in reload()
120 make_error<RawError>(raw_error_code::corrupt_file, in reload()
133 make_error<RawError>(raw_error_code::corrupt_file, in reload()
140 make_error<RawError>(raw_error_code::corrupt_file, in reload()
146 make_error<RawError>(raw_error_code::corrupt_file, in reload()
152 make_error<RawError>(raw_error_code::corrupt_file, in reload()
[all …]
/external/llvm-project/llvm/lib/Object/
DWasmObjectFile.cpp190 return make_error<GenericBinaryError>("Invalid type for ref.null", in readInitExpr()
196 return make_error<GenericBinaryError>("Invalid opcode in init_expr", in readInitExpr()
202 return make_error<GenericBinaryError>("Invalid init_expr", in readInitExpr()
231 return make_error<StringError>("Zero length section", in readSection()
234 return make_error<StringError>("Section too large", in readSection()
250 return make_error<StringError>("Out of order section type: " + in readSection()
266 make_error<StringError>("Bad magic number", object_error::parse_failed); in WasmObjectFile()
276 Err = make_error<StringError>("Missing version number", in WasmObjectFile()
283 Err = make_error<StringError>("Bad version number", in WasmObjectFile()
335 return make_error<GenericBinaryError>( in parseSection()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DWasmObjectFile.cpp183 return make_error<GenericBinaryError>("Invalid opcode in init_expr", in readInitExpr()
189 return make_error<GenericBinaryError>("Invalid init_expr", in readInitExpr()
218 return make_error<StringError>("Zero length section", in readSection()
221 return make_error<StringError>("Section too large", in readSection()
237 return make_error<StringError>("Out of order section type: " + in readSection()
253 make_error<StringError>("Bad magic number", object_error::parse_failed); in WasmObjectFile()
263 Err = make_error<StringError>("Missing version number", in WasmObjectFile()
270 Err = make_error<StringError>("Bad version number", in WasmObjectFile()
322 return make_error<GenericBinaryError>( in parseSection()
339 return make_error<GenericBinaryError>("dylink section ended prematurely", in parseDylinkSection()
[all …]
/external/deqp-deps/amber/src/vkscript/
Dparser.cc43 std::string Parser::make_error(const Tokenizer& tokenizer, in make_error() function in amber::vkscript::Parser
160 return Result(make_error( in ProcessRequireBlock()
171 return Result(make_error(tokenizer, "Missing framebuffer format")); in ProcessRequireBlock()
177 make_error(tokenizer, "Failed to parse framebuffer format: " + in ProcessRequireBlock()
191 return Result(make_error(tokenizer, "Missing depthStencil format")); in ProcessRequireBlock()
197 make_error(tokenizer, "Failed to parse depthstencil format: " + in ProcessRequireBlock()
223 return Result(make_error(tokenizer, "Missing fence_timeout value")); in ProcessRequireBlock()
232 return Result(make_error( in ProcessRequireBlock()
237 make_error(tokenizer, "Invalid width for fbsize command")); in ProcessRequireBlock()
245 make_error(tokenizer, "Missing height for fbsize command")); in ProcessRequireBlock()
[all …]
/external/llvm-project/llvm/lib/DebugInfo/MSF/
DMSFCommon.cpp22 return make_error<MSFError>(msf_error_code::invalid_format, in validateSuperBlock()
26 return make_error<MSFError>(msf_error_code::invalid_format, in validateSuperBlock()
31 return make_error<MSFError>(msf_error_code::invalid_format, in validateSuperBlock()
43 return make_error<MSFError>(msf_error_code::invalid_format, in validateSuperBlock()
47 return make_error<MSFError>(msf_error_code::invalid_format, in validateSuperBlock()
51 return make_error<MSFError>(msf_error_code::invalid_format, in validateSuperBlock()
55 return make_error<MSFError>( in validateSuperBlock()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/MSF/
DMSFCommon.cpp22 return make_error<MSFError>(msf_error_code::invalid_format, in validateSuperBlock()
26 return make_error<MSFError>(msf_error_code::invalid_format, in validateSuperBlock()
31 return make_error<MSFError>(msf_error_code::invalid_format, in validateSuperBlock()
43 return make_error<MSFError>(msf_error_code::invalid_format, in validateSuperBlock()
47 return make_error<MSFError>(msf_error_code::invalid_format, in validateSuperBlock()
51 return make_error<MSFError>(msf_error_code::invalid_format, in validateSuperBlock()
55 return make_error<MSFError>( in validateSuperBlock()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DDbiStream.cpp37 return make_error<RawError>( in loadSectionContribs()
56 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
59 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
63 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
70 return make_error<RawError>(raw_error_code::feature_unsupported, in reload()
78 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
84 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
87 return make_error<RawError>( in reload()
91 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
94 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
[all …]
DPublicsStream.cpp64 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
69 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
80 make_error<RawError>(raw_error_code::corrupt_file, in reload()
86 make_error<RawError>(raw_error_code::corrupt_file, in reload()
93 make_error<RawError>(raw_error_code::corrupt_file, in reload()
98 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/
DDbiStream.cpp37 return make_error<RawError>( in loadSectionContribs()
56 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
59 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
63 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
70 return make_error<RawError>(raw_error_code::feature_unsupported, in reload()
78 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
84 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
87 return make_error<RawError>( in reload()
91 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
94 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
[all …]
DPublicsStream.cpp64 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
69 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
80 make_error<RawError>(raw_error_code::corrupt_file, in reload()
86 make_error<RawError>(raw_error_code::corrupt_file, in reload()
93 make_error<RawError>(raw_error_code::corrupt_file, in reload()
98 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
/external/llvm/lib/DebugInfo/CodeView/
DByteStream.cpp20 return make_error<CodeViewError>(cv_error_code::operation_unsupported, in writeBytes()
27 return make_error<CodeViewError>(cv_error_code::insufficient_buffer); in writeBytes()
29 return make_error<CodeViewError>(cv_error_code::insufficient_buffer); in writeBytes()
39 return make_error<CodeViewError>(cv_error_code::insufficient_buffer); in readBytes()
41 return make_error<CodeViewError>(cv_error_code::insufficient_buffer); in readBytes()
50 return make_error<CodeViewError>(cv_error_code::insufficient_buffer); in readLongestContiguousChunk()
/external/llvm-project/llvm/tools/llvm-jitlink/
Dllvm-jitlink-macho.cpp33 return make_error<StringError>("GOT entry in " + G.getName() + ", \"" + in getFirstRelocationEdge()
46 return make_error<StringError>( in getMachOGOTTarget()
61 return make_error<StringError>( in getMachOStubTarget()
74 return make_error<StringError>("When -check is passed, file names must be " in registerMachOGraphInfo()
97 return make_error<StringError>("Encountered duplicate section name \"" + in registerMachOGraphInfo()
117 return make_error<StringError>("zero-fill atom in GOT section", in registerMachOGraphInfo()
128 return make_error<StringError>("zero-fill atom in Stub section", in registerMachOGraphInfo()
155 return make_error<StringError>("Mixed zero-fill and content sections not " in registerMachOGraphInfo()
Dllvm-jitlink-elf.cpp31 return make_error<StringError>("GOT entry in " + G.getName() + ", \"" + in getFirstRelocationEdge()
44 return make_error<StringError>( in getELFGOTTarget()
59 return make_error<StringError>( in getELFStubTarget()
72 return make_error<StringError>("When -check is passed, file names must be " in registerELFGraphInfo()
95 return make_error<StringError>("Encountered duplicate section name \"" + in registerELFGraphInfo()
116 return make_error<StringError>("zero-fill atom in GOT section", in registerELFGraphInfo()
127 return make_error<StringError>("zero-fill atom in Stub section", in registerELFGraphInfo()
155 return make_error<StringError>("Mixed zero-fill and content sections not " in registerELFGraphInfo()
/external/llvm-project/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp65 return make_error<CoverageMapError>(coveragemap_error::truncated); in readULEB128()
69 return make_error<CoverageMapError>(coveragemap_error::malformed); in readULEB128()
78 return make_error<CoverageMapError>(coveragemap_error::malformed); in readIntMax()
87 return make_error<CoverageMapError>(coveragemap_error::malformed); in readSize()
107 return make_error<CoverageMapError>(coveragemap_error::malformed); in read()
124 return make_error<CoverageMapError>( in read()
140 return make_error<CoverageMapError>( in read()
181 return make_error<CoverageMapError>(coveragemap_error::malformed); in decodeCounter()
187 return make_error<CoverageMapError>(coveragemap_error::malformed); in decodeCounter()
236 return make_error<CoverageMapError>(coveragemap_error::malformed); in readMappingRegionsSubArray()
[all …]
/external/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp46 return make_error<CoverageMapError>(coveragemap_error::truncated); in readULEB128()
50 return make_error<CoverageMapError>(coveragemap_error::malformed); in readULEB128()
59 return make_error<CoverageMapError>(coveragemap_error::malformed); in readIntMax()
68 return make_error<CoverageMapError>(coveragemap_error::malformed); in readSize()
112 return make_error<CoverageMapError>(coveragemap_error::malformed); in decodeCounter()
118 return make_error<CoverageMapError>(coveragemap_error::malformed); in decodeCounter()
167 return make_error<CoverageMapError>(coveragemap_error::malformed); in readMappingRegionsSubArray()
178 return make_error<CoverageMapError>(coveragemap_error::malformed); in readMappingRegionsSubArray()
191 return make_error<CoverageMapError>(coveragemap_error::malformed); in readMappingRegionsSubArray()
441 return make_error<CoverageMapError>(coveragemap_error::malformed); in readFunctionRecords()
[all …]
/external/llvm-project/llvm/lib/ExecutionEngine/JITLink/
DMachO.cpp38 Ctx->notifyFailed(make_error<JITLinkError>("Truncated MachO buffer \"" + in jitLink_MachO()
53 make_error<JITLinkError>("MachO 32-bit platforms not supported")); in jitLink_MachO()
59 Ctx->notifyFailed(make_error<JITLinkError>("Truncated MachO buffer \"" + in jitLink_MachO()
81 Ctx->notifyFailed(make_error<JITLinkError>("MachO-64 CPU type not valid")); in jitLink_MachO()
85 Ctx->notifyFailed(make_error<JITLinkError>("MachO magic not valid")); in jitLink_MachO()
DEHFrameSupport.cpp76 return make_error<JITLinkError>("Unexpected zero-fill block in " + in processBlock()
179 return make_error<JITLinkError>("Unexpected zero-fill block in " + in processBlock()
192 return make_error<JITLinkError>( in processBlock()
229 return make_error<JITLinkError>( in processBlock()
281 return make_error<JITLinkError>("Bad CIE version " + Twine(Version) + in processCIE()
299 return make_error<JITLinkError>("Unsupported CIE code alignment factor " + in processCIE()
310 return make_error<JITLinkError>("Unsupported CIE data alignment factor " + in processCIE()
334 return make_error<JITLinkError>( in processCIE()
346 return make_error<JITLinkError>( in processCIE()
361 return make_error<JITLinkError>( in processCIE()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
DEHFrameSupport.cpp74 return make_error<JITLinkError>("Unexpected zero-fill block in " + in processBlock()
177 return make_error<JITLinkError>("Unexpected zero-fill block in " + in processBlock()
190 return make_error<JITLinkError>( in processBlock()
227 return make_error<JITLinkError>( in processBlock()
279 return make_error<JITLinkError>("Bad CIE version " + Twine(Version) + in processCIE()
297 return make_error<JITLinkError>("Unsupported CIE code alignment factor " + in processCIE()
308 return make_error<JITLinkError>("Unsupported CIE data alignment factor " + in processCIE()
332 return make_error<JITLinkError>( in processCIE()
344 return make_error<JITLinkError>( in processCIE()
359 return make_error<JITLinkError>( in processCIE()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp60 return make_error<CoverageMapError>(coveragemap_error::truncated); in readULEB128()
64 return make_error<CoverageMapError>(coveragemap_error::malformed); in readULEB128()
73 return make_error<CoverageMapError>(coveragemap_error::malformed); in readIntMax()
82 return make_error<CoverageMapError>(coveragemap_error::malformed); in readSize()
126 return make_error<CoverageMapError>(coveragemap_error::malformed); in decodeCounter()
132 return make_error<CoverageMapError>(coveragemap_error::malformed); in decodeCounter()
181 return make_error<CoverageMapError>(coveragemap_error::malformed); in readMappingRegionsSubArray()
192 return make_error<CoverageMapError>(coveragemap_error::malformed); in readMappingRegionsSubArray()
205 return make_error<CoverageMapError>(coveragemap_error::malformed); in readMappingRegionsSubArray()
246 return make_error<CoverageMapError>(coveragemap_error::malformed); in readMappingRegionsSubArray()
[all …]
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
DDWARFDebugArangeSet.cpp69 return llvm::make_error<llvm::object::GenericBinaryError>( in extract()
73 return llvm::make_error<llvm::object::GenericBinaryError>( in extract()
77 return llvm::make_error<llvm::object::GenericBinaryError>( in extract()
82 return llvm::make_error<llvm::object::GenericBinaryError>( in extract()
86 return llvm::make_error<llvm::object::GenericBinaryError>( in extract()
120 return llvm::make_error<llvm::object::GenericBinaryError>( in extract()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DCachePruning.cpp53 return make_error<StringError>("Duration must not be empty", in parseDuration()
59 return make_error<StringError>("'" + NumStr + "' not an integer", in parseDuration()
70 return make_error<StringError>("'" + Duration + in parseDuration()
97 return make_error<StringError>("'" + Value + "' must be a percentage", in parseCachePruningPolicy()
102 return make_error<StringError>("'" + SizeStr + "' not an integer", in parseCachePruningPolicy()
105 return make_error<StringError>("'" + SizeStr + in parseCachePruningPolicy()
127 return make_error<StringError>("'" + Value + "' not an integer", in parseCachePruningPolicy()
132 return make_error<StringError>("'" + Value + "' not an integer", in parseCachePruningPolicy()
135 return make_error<StringError>("Unknown key: '" + Key + "'", in parseCachePruningPolicy()

12345678910>>...21