/external/llvm-project/llvm/unittests/FileCheck/ |
D | FileCheckTest.cpp | 213 expectDiagnosticError(OverflowErrorStr, ResultValue.takeError()); in checkValueFromStringReprFailure() 324 NoFormat.getWildcardRegex().takeError()); in TEST_F() 327 NoFormat.getMatchingString(ExpressionValue(18u)).takeError()); in TEST_F() 394 doValueOperation(Operation, LeftValue, RightValue).takeError()); in expectOperationValueResult() 415 "overflow error", ExpressionValue(-1).getUnsignedValue().takeError()); in TEST_F() 420 ExpressionValue(MinInt64).getUnsignedValue().takeError()); in TEST_F() 443 .takeError()); in TEST_F() 448 ExpressionValue(MaxUint64).getSignedValue().takeError()); in TEST_F() 710 expectUndefErrors({"FOO"}, EvalResult.takeError()); in TEST_F() 743 expectUndefErrors({"FOO"}, EvalResult.takeError()); in TEST_F() [all …]
|
/external/llvm-project/llvm/lib/Bitstream/Reader/ |
D | BitstreamReader.cpp | 38 return MaybeVBR.takeError(); in EnterSubBlock() 50 return MaybeNum.takeError(); in EnterSubBlock() 86 return Res.takeError(); in readAbbreviatedField() 97 return MaybeCode.takeError(); in skipRecord() 107 return Res.takeError(); in skipRecord() 124 return MaybeCode.takeError(); in skipRecord() 138 return MaybeField.takeError(); in skipRecord() 145 return MaybeNum.takeError(); in skipRecord() 171 return Res.takeError(); in skipRecord() 185 return MaybeNum.takeError(); in skipRecord() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitstream/Reader/ |
D | BitstreamReader.cpp | 38 return MaybeVBR.takeError(); in EnterSubBlock() 50 return MaybeNum.takeError(); in EnterSubBlock() 86 return Res.takeError(); in readAbbreviatedField() 97 return MaybeCode.takeError(); in skipRecord() 107 return Res.takeError(); in skipRecord() 124 return MaybeCode.takeError(); in skipRecord() 138 return MaybeField.takeError(); in skipRecord() 145 return MaybeNum.takeError(); in skipRecord() 170 return Res.takeError(); in skipRecord() 184 return MaybeNum.takeError(); in skipRecord() [all …]
|
/external/llvm-project/llvm/unittests/Support/ |
D | DataExtractorTest.cpp | 106 C.takeError(), in TEST() 142 C.takeError(), in TEST() 149 C.takeError(), in TEST() 157 C.takeError(), in TEST() 177 consumeError(C.takeError()); in TEST() 184 EXPECT_THAT_ERROR(C.takeError(), Succeeded()); in TEST() 188 EXPECT_THAT_ERROR(C.takeError(), Succeeded()); in TEST() 192 EXPECT_THAT_ERROR(C.takeError(), Failed()); in TEST() 197 EXPECT_THAT_ERROR(C.takeError(), Failed()); in TEST() 201 EXPECT_THAT_ERROR(C.takeError(), Succeeded()); in TEST() [all …]
|
D | CachePruningTest.cpp | 77 toString(parseCachePruningPolicy("prune_interval=").takeError())); in TEST() 79 toString(parseCachePruningPolicy("prune_interval=foos").takeError())); in TEST() 81 toString(parseCachePruningPolicy("prune_interval=24x").takeError())); in TEST() 83 toString(parseCachePruningPolicy("cache_size=foo").takeError())); in TEST() 85 toString(parseCachePruningPolicy("cache_size=foo%").takeError())); in TEST() 87 toString(parseCachePruningPolicy("cache_size=101%").takeError())); in TEST() 90 toString(parseCachePruningPolicy("cache_size_bytes=foo").takeError())); in TEST() 93 toString(parseCachePruningPolicy("cache_size_bytes=foom").takeError())); in TEST() 95 toString(parseCachePruningPolicy("foo=bar").takeError())); in TEST()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/ |
D | YAMLRemarkParser.cpp | 118 return isMeta.takeError(); in createYAMLParserFromMeta() 124 return Version.takeError(); in createYAMLParserFromMeta() 128 return StrTabSize.takeError(); in createYAMLParserFromMeta() 137 return MaybeStrTab.takeError(); in createYAMLParserFromMeta() 212 return T.takeError(); in parseRemark() 220 return MaybeKey.takeError(); in parseRemark() 227 return MaybeStr.takeError(); in parseRemark() 232 return MaybeStr.takeError(); in parseRemark() 237 return MaybeStr.takeError(); in parseRemark() 242 return MaybeU.takeError(); in parseRemark() [all …]
|
D | RemarkLinker.cpp | 36 return SectionName.takeError(); in getRemarksSectionContents() 41 return MaybeName.takeError(); in getRemarksSectionContents() 48 return Contents.takeError(); in getRemarksSectionContents() 70 return ParserFormat.takeError(); in link() 80 return MaybeParser.takeError(); in link() 86 if (Error E = Next.takeError()) { in link() 106 return SectionOrErr.takeError(); in link() 118 return MaybeSerializer.takeError(); in serialize()
|
/external/llvm-project/llvm/lib/Remarks/ |
D | YAMLRemarkParser.cpp | 117 return isMeta.takeError(); in createYAMLParserFromMeta() 123 return Version.takeError(); in createYAMLParserFromMeta() 127 return StrTabSize.takeError(); in createYAMLParserFromMeta() 136 return MaybeStrTab.takeError(); in createYAMLParserFromMeta() 211 return T.takeError(); in parseRemark() 219 return MaybeKey.takeError(); in parseRemark() 226 return MaybeStr.takeError(); in parseRemark() 231 return MaybeStr.takeError(); in parseRemark() 236 return MaybeStr.takeError(); in parseRemark() 241 return MaybeU.takeError(); in parseRemark() [all …]
|
D | RemarkLinker.cpp | 36 return SectionName.takeError(); in getRemarksSectionContents() 41 return MaybeName.takeError(); in getRemarksSectionContents() 48 return Contents.takeError(); in getRemarksSectionContents() 70 return ParserFormat.takeError(); in link() 80 return MaybeParser.takeError(); in link() 86 if (Error E = Next.takeError()) { in link() 106 return SectionOrErr.takeError(); in link() 118 return MaybeSerializer.takeError(); in serialize()
|
/external/llvm-project/clang/lib/AST/ |
D | ASTImporter.cpp | 157 return ToOrErr.takeError(); in importInto() 166 return ToOrErr.takeError(); in import() 199 Err = MaybeVal.takeError(); in importChecked() 275 llvm::consumeError(ToAttrOrErr.takeError()); in InitializeImportedDecl() 661 return ToOrErr.takeError(); in ImportArrayChecked() 701 return ToLAngleLocOrErr.takeError(); in ImportTemplateArgumentListInfo() 704 return ToRAngleLocOrErr.takeError(); in ImportTemplateArgumentListInfo() 759 return ToRequiresClause.takeError(); in import() 763 return ToTemplateLocOrErr.takeError(); in import() 766 return ToLAngleLocOrErr.takeError(); in import() [all …]
|
/external/llvm-project/llvm/tools/llvm-pdbutil/ |
D | YAMLOutputStyle.cpp | 112 return ExpectedST.takeError(); in dumpStringTable() 119 return S.takeError(); in dumpStringTable() 158 return IS.takeError(); in dumpPDBStream() 204 return DbiS.takeError(); in dumpDbiStream() 241 return ExpectedST.takeError(); in dumpDbiStream() 246 return ExpectedChecksums.takeError(); in dumpDbiStream() 259 return Converted.takeError(); in dumpDbiStream() 272 return ES.takeError(); in dumpDbiStream() 288 return TpiS.takeError(); in dumpTpiStream() 296 return ExpectedRecord.takeError(); in dumpTpiStream() [all …]
|
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
D | PDBFile.cpp | 262 return DbiS.takeError(); in getPDBGlobalsStream() 267 return GlobalS.takeError(); in getPDBGlobalsStream() 280 return InfoS.takeError(); in getPDBInfoStream() 293 return DbiS.takeError(); in getPDBDbiStream() 306 return TpiS.takeError(); in getPDBTpiStream() 322 return IpiS.takeError(); in getPDBIpiStream() 335 return DbiS.takeError(); in getPDBPublicsStream() 340 return PublicS.takeError(); in getPDBPublicsStream() 353 return DbiS.takeError(); in getPDBSymbolStream() 358 return SymbolS.takeError(); in getPDBSymbolStream() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/ |
D | PDBFile.cpp | 261 return DbiS.takeError(); in getPDBGlobalsStream() 266 return GlobalS.takeError(); in getPDBGlobalsStream() 279 return InfoS.takeError(); in getPDBInfoStream() 292 return DbiS.takeError(); in getPDBDbiStream() 305 return TpiS.takeError(); in getPDBTpiStream() 321 return IpiS.takeError(); in getPDBIpiStream() 334 return DbiS.takeError(); in getPDBPublicsStream() 339 return PublicS.takeError(); in getPDBPublicsStream() 352 return DbiS.takeError(); in getPDBSymbolStream() 357 return SymbolS.takeError(); in getPDBSymbolStream() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | Archive.cpp | 68 consumeError(NameOrErr.takeError()); in ArchiveMemberHeader() 88 consumeError(NameOrErr.takeError()); in ArchiveMemberHeader() 144 return NameOrErr.takeError(); in getName() 353 *Err = isThinOrErr.takeError(); in Child() 360 *Err = MemberSize.takeError(); in Child() 372 *Err = NameOrErr.takeError(); in Child() 398 return Size.takeError(); in getSize() 411 return NameOrErr.takeError(); in isThinMember() 419 return isThin.takeError(); in getFullName() 423 return NameOrErr.takeError(); in getFullName() [all …]
|
D | IRObjectFile.cpp | 79 return Contents.takeError(); in findBitcodeInObject() 101 return ObjFile.takeError(); in findBitcodeInMemBuffer() 113 return BCOrErr.takeError(); in create() 118 return BMsOrErr.takeError(); in create() 126 return MOrErr.takeError(); in create() 140 return BCOrErr.takeError(); in readIRSymtab() 144 return BFCOrErr.takeError(); in readIRSymtab() 148 return FCOrErr.takeError(); in readIRSymtab()
|
D | Minidump.cpp | 32 return ExpectedSize.takeError(); in getString() 44 return ExpectedData.takeError(); in getString() 64 return ExpectedHeader.takeError(); in getMemoryInfoList() 69 return Data.takeError(); in getMemoryInfoList() 81 return ExpectedSize.takeError(); in getListStream() 115 return ExpectedHeader.takeError(); in create() 126 return ExpectedStreams.takeError(); in create() 136 return Stream.takeError(); in create()
|
/external/llvm-project/llvm/lib/Object/ |
D | Archive.cpp | 68 consumeError(NameOrErr.takeError()); in ArchiveMemberHeader() 88 consumeError(NameOrErr.takeError()); in ArchiveMemberHeader() 144 return NameOrErr.takeError(); in getName() 353 *Err = isThinOrErr.takeError(); in Child() 360 *Err = MemberSize.takeError(); in Child() 372 *Err = NameOrErr.takeError(); in Child() 407 return NameOrErr.takeError(); in isThinMember() 415 return isThin.takeError(); in getFullName() 419 return NameOrErr.takeError(); in getFullName() 433 return isThinOrErr.takeError(); in getBuffer() [all …]
|
D | IRObjectFile.cpp | 79 return Contents.takeError(); in findBitcodeInObject() 102 return ObjFile.takeError(); in findBitcodeInMemBuffer() 114 return BCOrErr.takeError(); in create() 119 return BMsOrErr.takeError(); in create() 127 return MOrErr.takeError(); in create() 141 return BCOrErr.takeError(); in readIRSymtab() 145 return BFCOrErr.takeError(); in readIRSymtab() 149 return FCOrErr.takeError(); in readIRSymtab()
|
D | Minidump.cpp | 32 return ExpectedSize.takeError(); in getString() 44 return ExpectedData.takeError(); in getString() 64 return ExpectedHeader.takeError(); in getMemoryInfoList() 69 return Data.takeError(); in getMemoryInfoList() 81 return ExpectedSize.takeError(); in getListStream() 115 return ExpectedHeader.takeError(); in create() 126 return ExpectedStreams.takeError(); in create() 136 return Stream.takeError(); in create()
|
/external/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | JITSymbol.cpp | 73 return SymbolFlagsOrErr.takeError(); in fromObjectSymbol() 85 return SymbolType.takeError(); in fromObjectSymbol() 98 report_fatal_error(SymbolFlagsOrErr.takeError()); in fromObjectSymbol() 117 OnResolved(AddrOrErr.takeError()); in lookup() 120 } else if (auto Err = Sym.takeError()) { in lookup() 129 OnResolved(AddrOrErr.takeError()); in lookup() 132 } else if (auto Err = Sym.takeError()) { in lookup() 159 } else if (auto Err = Sym.takeError()) in getResponsibilitySet()
|
/external/llvm-project/clang-tools-extra/clangd/index/remote/marshalling/ |
D | Marshalling.cpp | 49 return SID.takeError(); in getIDs() 83 return IDs.takeError(); in fromProtobuf() 117 return IDs.takeError(); in fromProtobuf() 133 return IDs.takeError(); in fromProtobuf() 149 return ID.takeError(); in fromProtobuf() 161 return Declaration.takeError(); in fromProtobuf() 175 return SerializedHeader.takeError(); in fromProtobuf() 188 return Location.takeError(); in fromProtobuf() 198 return SubjectID.takeError(); in fromProtobuf() 203 return Object.takeError(); in fromProtobuf() [all …]
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | ClangdServer.cpp | 237 return CB(IP.takeError()); in codeComplete() 297 return CB(IP.takeError()); in signatureHelp() 319 return CB(Begin.takeError()); in formatRange() 322 return CB(End.takeError()); in formatRange() 338 return CB(CursorPos.takeError()); in formatOnType() 346 return CB(Style.takeError()); in formatOnType() 365 return CB(InpAST.takeError()); in prepareRename() 380 return CB(Results.takeError()); in prepareRename() 399 return CB(InpAST.takeError()); in rename() 410 return CB(R.takeError()); in rename() [all …]
|
/external/llvm-project/llvm/tools/obj2yaml/ |
D | elf2yaml.cpp | 163 return ShdrOrErr.takeError(); in getUniquedSymbolName() 292 return SectionsOrErr.takeError(); in dump() 330 toString(TableOrErr.takeError())); in dump() 354 return ChunksOrErr.takeError(); in dump() 375 return PhdrsOrErr.takeError(); in dump() 449 return PhdrsOrErr.takeError(); in dumpProgramHeaders() 535 return SecOrErr.takeError(); in dumpSections() 614 return NameOrErr.takeError(); in dumpSections() 638 return StrTableOrErr.takeError(); in dumpSymbols() 643 return SymtabOrErr.takeError(); in dumpSymbols() [all …]
|
/external/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
D | ELF_x86_64.cpp | 270 if (errorToBool(Symbols.takeError())) in createNormalizedSymbols() 275 return StrTabSec.takeError(); in createNormalizedSymbols() 278 return StringTable.takeError(); in createNormalizedSymbols() 286 return NameOrErr.takeError(); in createNormalizedSymbols() 311 return Name.takeError(); in createNormalizedSections() 344 return contents.takeError(); in createNormalizedSections() 379 return RelSectName.takeError(); in addRelocations() 386 return UpdateSection.takeError(); in addRelocations() 390 return UpdateSectionName.takeError(); in addRelocations() 401 return Relocations.takeError(); in addRelocations() [all …]
|
/external/llvm-project/llvm/unittests/Remarks/ |
D | YAMLRemarksParsingTest.cpp | 19 EXPECT_FALSE(errorToBool(MaybeParser.takeError())); in parseGood() 24 EXPECT_FALSE(errorToBool(Remark.takeError())); // Check for parsing errors. in parseGood() 27 Error E = Remark.takeError(); in parseGood() 35 EXPECT_FALSE(errorToBool(MaybeParser.takeError())); in parseGoodMeta() 40 EXPECT_FALSE(errorToBool(Remark.takeError())); // Check for parsing errors. in parseGoodMeta() 43 Error E = Remark.takeError(); in parseGoodMeta() 52 EXPECT_FALSE(errorToBool(MaybeParser.takeError())); in parseExpectError() 61 handleAllErrors(Remark.takeError(), in parseExpectError() 80 handleAllErrors(MaybeParser.takeError(), in parseExpectErrorMeta() 403 EXPECT_FALSE(errorToBool(MaybeParser.takeError())); in TEST() [all …]
|