Home
last modified time | relevance | path

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

123456

/third_party/skia/third_party/externals/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 …]
/third_party/vk-gl-cts/external/amber/src/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 …]
/third_party/skia/third_party/externals/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()
DGlobalsStream.cpp86 return make_error<RawError>( in checkHashHdrVersion()
96 return make_error<RawError>(raw_error_code::corrupt_file, in readGSIHashHeader()
100 return make_error<RawError>( in readGSIHashHeader()
116 return make_error<RawError>(raw_error_code::corrupt_file, in readGSIHashRecords()
121 make_error<RawError>(raw_error_code::corrupt_file, in readGSIHashRecords()
142 make_error<RawError>(raw_error_code::corrupt_file, in readGSIHashBuckets()
165 make_error<RawError>(raw_error_code::corrupt_file, in readGSIHashBuckets()
DTpiStream.cpp45 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
49 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
53 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
57 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
61 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
66 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
84 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
93 return make_error<RawError>( in reload()
DPDBStringTable.cpp32 return make_error<RawError>(raw_error_code::corrupt_file, in readHeader()
35 return make_error<RawError>(raw_error_code::corrupt_file, in readHeader()
49 make_error<RawError>(raw_error_code::corrupt_file, in readStrings()
69 make_error<RawError>(raw_error_code::corrupt_file, in readHashTable()
127 return make_error<RawError>(raw_error_code::no_entry); in getIDForString()
135 return make_error<RawError>(raw_error_code::no_entry); in getIDForString()
DHashTable.cpp30 make_error<RawError>(raw_error_code::corrupt_file, in readSparseBitVector()
37 make_error<RawError>(raw_error_code::corrupt_file, in readSparseBitVector()
55 make_error<RawError>(raw_error_code::corrupt_file, in writeSparseBitVector()
66 return joinErrors(std::move(EC), make_error<RawError>( in writeSparseBitVector()
DInjectedSourceStream.cpp36 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
44 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
48 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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 …]
DMachO_arm64.cpp85 return make_error<JITLinkError>( in getRelocationKind()
124 return make_error<JITLinkError>("arm64 SUBTRACTOR without paired " in parsePairRelocation()
130 return make_error<JITLinkError>("arm64 SUBTRACTOR and paired UNSIGNED " in parsePairRelocation()
134 return make_error<JITLinkError>("length of arm64 SUBTRACTOR and paired " in parsePairRelocation()
181 return make_error<JITLinkError>("SUBTRACTOR relocation must fix up " in parsePairRelocation()
227 return make_error<JITLinkError>( in addRelocations()
245 return make_error<JITLinkError>("Unpaired Addend reloc at " + in addRelocations()
255 return make_error<JITLinkError>( in addRelocations()
268 return make_error<JITLinkError>("Paired relocation points at " in addRelocations()
280 return make_error<JITLinkError>("BRANCH26 target is not a B or BL " in addRelocations()
[all …]
DMachO.cpp37 Ctx->notifyFailed(make_error<JITLinkError>("Truncated MachO buffer")); in jitLink_MachO()
51 make_error<JITLinkError>("MachO 32-bit platforms not supported")); in jitLink_MachO()
73 Ctx->notifyFailed(make_error<JITLinkError>("MachO-64 CPU type not valid")); in jitLink_MachO()
77 Ctx->notifyFailed(make_error<JITLinkError>("MachO magic not valid")); in jitLink_MachO()
DMachOLinkGraphBuilder.cpp28 return make_error<JITLinkError>("Object is not a relocatable MachO"); in buildGraph()
147 return make_error<JITLinkError>( in createNormalizedSections()
191 return make_error<JITLinkError>( in createNormalizedSections()
271 return make_error<JITLinkError>("Symbol address does not fall within " in createNormalizedSymbols()
313 return make_error<JITLinkError>("Anonymous common symbol at index " + in graphifyRegularSymbols()
321 return make_error<JITLinkError>("Anonymous external symbol at " in graphifyRegularSymbols()
331 return make_error<JITLinkError>("Anonymous absolute symbol at index " + in graphifyRegularSymbols()
341 return make_error<JITLinkError>( in graphifyRegularSymbols()
346 return make_error<JITLinkError>( in graphifyRegularSymbols()
351 return make_error<JITLinkError>( in graphifyRegularSymbols()
[all …]
DMachOLinkGraphBuilder.h112 return make_error<JITLinkError>("No section recorded for index " + in findSectionByIndex()
122 return make_error<JITLinkError>("Symbol index out of range"); in findSymbolByIndex()
125 return make_error<JITLinkError>("No symbol at index " + in findSymbolByIndex()
146 return make_error<JITLinkError>("No symbol covering address " + in findSymbolByAddress()
/third_party/skia/third_party/externals/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 …]
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/
DMsgPackReader.cpp73 return make_error<StringError>( in read()
82 return make_error<StringError>( in read()
177 return make_error<StringError>( in read()
183 return make_error<StringError>( in readRaw()
193 return make_error<StringError>( in readInt()
203 return make_error<StringError>( in readUInt()
213 return make_error<StringError>( in readLength()
223 return make_error<StringError>( in readExt()
233 return make_error<StringError>( in createRaw()
243 return make_error<StringError>( in createExt()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Passes/
DPassPlugin.cpp21 return make_error<StringError>(Twine("Could not load library '") + in Load()
32 return make_error<StringError>(Twine("Plugin entry point not found in '") + in Load()
39 return make_error<StringError>( in Load()
46 return make_error<StringError>(Twine("Empty entry callback in plugin '") + in Load()
DPassBuilder.cpp1490 return make_error<StringError>( in parseLoopUnrollOptions()
1509 return make_error<StringError>( in parseLoopUnrollOptions()
1529 return make_error<StringError>( in parseMSanPassOptions()
1536 return make_error<StringError>( in parseMSanPassOptions()
1564 return make_error<StringError>( in parseSimplifyCFGOptions()
1571 return make_error<StringError>( in parseSimplifyCFGOptions()
1592 return make_error<StringError>( in parseLoopVectorizeOptions()
1610 return make_error<StringError>( in parseLoopUnswitchOptions()
1629 return make_error<StringError>( in parseMergedLoadStoreMotionOptions()
1873 return make_error<StringError>( in parseModulePass()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DRemarkStreamer.cpp160 return make_error<RemarkSetupFormatError>(std::move(E)); in setupOptimizationRemarks()
170 return make_error<RemarkSetupFileError>(errorCodeToError(EC)); in setupOptimizationRemarks()
176 return make_error<RemarkSetupFormatError>(std::move(E)); in setupOptimizationRemarks()
183 return make_error<RemarkSetupPatternError>(std::move(E)); in setupOptimizationRemarks()
201 return make_error<RemarkSetupFormatError>(std::move(E)); in setupOptimizationRemarks()
207 return make_error<RemarkSetupFormatError>(std::move(E)); in setupOptimizationRemarks()
214 return make_error<RemarkSetupPatternError>(std::move(E)); in setupOptimizationRemarks()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
DProfile.cpp57 return make_error<StringError>( in readBlockHeader()
64 return make_error<StringError>( in readBlockHeader()
71 return make_error<StringError>( in readBlockHeader()
87 return make_error<StringError>( in readPath()
105 return make_error<StringError>( in readData()
112 return make_error<StringError>( in readData()
123 return make_error<StringError>( in addBlock()
134 return make_error<StringError>( in expandPath()
269 return make_error<StringError>( in loadProfile()
278 return make_error<StringError>( in loadProfile()
DTrace.cpp40 return make_error<StringError>( in loadNaiveFormatLog()
45 return make_error<StringError>( in loadNaiveFormatLog()
356 return make_error<StringError>("Failed loading YAML Data.", In.error()); in loadYAMLLog()
365 return make_error<StringError>( in loadYAMLLog()
387 return make_error<StringError>( in loadTraceFile()
391 return make_error<StringError>( in loadTraceFile()
403 return make_error<StringError>( in loadTraceFile()
448 return make_error<StringError>( in loadTrace()
460 return make_error<StringError>( in loadTrace()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DBinaryStream.h61 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in checkOffsetForRead()
63 return make_error<BinaryStreamError>(stream_error_code::stream_too_short); in checkOffsetForRead()
94 return make_error<BinaryStreamError>(stream_error_code::invalid_offset); in checkOffsetForWrite()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/DIA/
DDIASession.cpp47 return make_error<DIAError>(dia_error_code::invalid_file_format, Context); in ErrorFromHResult()
49 return make_error<DIAError>(dia_error_code::invalid_parameter, Context); in ErrorFromHResult()
51 return make_error<DIAError>(dia_error_code::already_loaded, Context); in ErrorFromHResult()
54 return make_error<DIAError>(dia_error_code::debug_info_mismatch, Context); in ErrorFromHResult()
60 return make_error<DIAError>(dia_error_code::unspecified, OS.str()); in ErrorFromHResult()
74 return llvm::make_error<PDBError>(pdb_error_code::dia_failed_loading); in LoadDIA()
98 return make_error<PDBError>(pdb_error_code::invalid_utf8_path, Path); in createFromPdb()
124 return make_error<PDBError>(pdb_error_code::invalid_utf8_path, Path); in createFromExe()

123456