Home
last modified time | relevance | path

Searched refs:Expected (Results 1 – 25 of 409) sorted by relevance

12345678910>>...17

/freebsd-12.1/contrib/llvm/include/llvm/Object/
H A DArchive.h46 Expected<StringRef> getRawName() const;
52 Expected<uint32_t> getSize() const;
62 Expected<unsigned> getUID() const;
63 Expected<unsigned> getGID() const;
99 Expected<bool> isThinMember() const;
111 Expected<Child> getNext() const;
113 Expected<StringRef> getName() const;
133 Expected<uint64_t> getSize() const;
135 Expected<uint64_t> getRawSize() const;
142 Expected<std::unique_ptr<Binary>>
[all …]
H A DELF.h282 inline Expected<uint32_t>
296 Expected<uint32_t>
344 Expected<const typename ELFT::Sym *>
354 Expected<ArrayRef<T>>
376 Expected<ArrayRef<uint8_t>>
423 Expected<const typename ELFT::Sym *>
433 Expected<StringRef>
541 Expected<StringRef>
587 Expected<StringRef>
596 Expected<StringRef>
[all …]
H A DObjectFile.h160 Expected<StringRef> getName() const;
163 Expected<uint64_t> getAddress() const;
172 Expected<SymbolRef::Type> getType() const;
176 Expected<section_iterator> getSection() const;
230 virtual Expected<section_iterator>
326 static Expected<OwningBinary<ObjectFile>>
329 static Expected<std::unique_ptr<ObjectFile>>
331 static Expected<std::unique_ptr<ObjectFile>>
340 static Expected<std::unique_ptr<COFFObjectFile>>
343 static Expected<std::unique_ptr<ObjectFile>>
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Bitcode/
H A DBitcodeReader.h78 friend Expected<BitcodeFileContents>
81 Expected<std::unique_ptr<Module>> getModuleImpl(LLVMContext &Context,
104 Expected<std::unique_ptr<Module>> parseModule(LLVMContext &Context);
108 Expected<BitcodeLTOInfo> getLTOInfo();
111 Expected<std::unique_ptr<ModuleSummaryIndex>> getSummary();
132 Expected<std::vector<BitcodeModule>>
139 Expected<std::unique_ptr<Module>>
148 Expected<std::unique_ptr<Module>> getOwningLazyBitcodeModule(
171 Expected<BitcodeLTOInfo> getBitcodeLTOInfo(MemoryBufferRef Buffer);
174 Expected<std::unique_ptr<ModuleSummaryIndex>>
[all …]
/freebsd-12.1/contrib/googletest/googletest/test/
H A Dgoogletest-output-test-golden-lin.txt6 Expected: true
98 Expected: true
508 Expected fatal failure.
553 Expected fatal failure.
605 Expected failure
637 Expected failure
651 Expected failure
665 Expected failure
679 Expected failure
892 Expected failure
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DASTImporter.h191 llvm::Expected<QualType> Import_New(QualType FromT);
218 llvm::Expected<Decl *> Import_New(Decl *FromD);
219 llvm::Expected<Decl *> Import_New(const Decl *FromD) { in Import_New()
245 llvm::Expected<Expr *> Import_New(Expr *FromE);
254 llvm::Expected<Stmt *> Import_New(Stmt *FromS);
263 llvm::Expected<NestedNameSpecifier *>
273 llvm::Expected<NestedNameSpecifierLoc>
323 llvm::Expected<Selector> Import_New(Selector FromSel);
332 llvm::Expected<FileID> Import_New(FileID);
341 llvm::Expected<CXXCtorInitializer *>
[all …]
/freebsd-12.1/contrib/llvm/lib/Object/
H A DArchive.cpp143 Expected<StringRef> NameOrErr = getRawName(); in getName()
263 Expected<sys::TimePoint<std::chrono::seconds>>
352 Expected<bool> isThinOrErr = isThinMember(); in Child()
418 Expected<bool> isThin = isThinMember(); in getFullName()
422 Expected<StringRef> NameOrErr = getName(); in getFullName()
436 Expected<bool> isThinOrErr = isThinMember(); in getBuffer()
441 Expected<uint32_t> Size = getSize(); in getBuffer()
473 Expected<StringRef> NameOrErr = getName(); in getNext()
509 Expected<StringRef> NameOrErr = getName(); in getMemoryBufferRef()
513 Expected<StringRef> Buf = getBuffer(); in getMemoryBufferRef()
[all …]
H A DIRObjectFile.cpp75 Expected<MemoryBufferRef>
89 Expected<MemoryBufferRef>
98 Expected<std::unique_ptr<ObjectFile>> ObjFile = in findBitcodeInMemBuffer()
109 Expected<std::unique_ptr<IRObjectFile>>
111 Expected<MemoryBufferRef> BCOrErr = findBitcodeInMemBuffer(Object); in create()
115 Expected<std::vector<BitcodeModule>> BMsOrErr = in create()
122 Expected<std::unique_ptr<Module>> MOrErr = in create()
135 Expected<IRSymtabFile> object::readIRSymtab(MemoryBufferRef MBRef) { in readIRSymtab()
137 Expected<MemoryBufferRef> BCOrErr = in readIRSymtab()
142 Expected<BitcodeFileContents> BFCOrErr = getBitcodeFileContents(*BCOrErr); in readIRSymtab()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DMSVCErrorWorkarounds.h44 template <typename T> class MSVCPExpected : public Expected<T> {
47 : Expected<T>(make_error<StringError>("", inconvertibleErrorCode())) { in MSVCPExpected()
51 MSVCPExpected(MSVCPExpected &&Other) : Expected<T>(std::move(Other)) {} in MSVCPExpected()
54 Expected<T>::operator=(std::move(Other));
58 MSVCPExpected(Error Err) : Expected<T>(std::move(Err)) {} in MSVCPExpected()
65 : Expected<T>(std::move(Val)) {}
69 Expected<OtherT> &&Other,
72 : Expected<T>(std::move(Other)) {}
76 Expected<OtherT> &&Other,
79 : Expected<T>(std::move(Other)) {}
H A DError.h456 Expected(Error Err) in Expected() function
475 Expected(OtherT &&Val,
488 Expected(Expected &&Other) { moveConstruct(std::move(Other)); } in Expected() function
493 Expected(Expected<OtherT> &&Other,
502 explicit Expected(
503 Expected<OtherT> &&Other,
510 Expected &operator=(Expected &&Other) {
516 ~Expected() { in ~Expected()
614 this->~Expected(); in moveAssign()
940 Expected<T> handleExpected(Expected<T> ValOrErr, RecoveryFtor &&RecoveryPath, in handleExpected()
[all …]
/freebsd-12.1/contrib/googletest/googlemock/test/
H A Dgmock_output_test_golden.txt39 Expected arg #0: is equal to 0
41 Expected: to be called once
52 Expected arg #0: is equal to 0
101 Expected arg #0: is equal to 0
103 Expected arg #1: is equal to 0
117 Expected arg #0: is equal to 0
138 Expected arg #0: is equal to 0
179 Expected arg #2: is >= 0
207 Expected arg #0: is >= 2
224 Expected arg #0: is equal to 2
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/BinaryFormat/
H A DMsgPackReader.h123 Expected<bool> read(Object &Obj);
136 template <class T> Expected<bool> readRaw(Object &Obj);
137 template <class T> Expected<bool> readInt(Object &Obj);
138 template <class T> Expected<bool> readUInt(Object &Obj);
139 template <class T> Expected<bool> readLength(Object &Obj);
140 template <class T> Expected<bool> readExt(Object &Obj);
141 Expected<bool> createRaw(Object &Obj, uint32_t Size);
142 Expected<bool> createExt(Object &Obj, uint32_t Size);
/freebsd-12.1/contrib/llvm/tools/bugpoint/
H A DMiscompilation.cpp61 Expected<ReduceMiscompilingPasses::TestResult>
249 Expected<bool>
283 Expected<bool> Broken = in TestFuncs()
306 static Expected<bool>
485 Expected<bool>
536 static Expected<bool>
562 Expected<bool> Ret = in ExtractBlocks()
737 Expected<bool> Result = in debugMiscompilation()
981 Expected<std::string> SharedObject = in TestCodeGenerator()
990 Expected<bool> Result = in TestCodeGenerator()
[all …]
H A DListReducer.h42 virtual Expected<TestResult> doTest(std::vector<ElTy> &Prefix,
48 Expected<bool> reduceList(std::vector<ElTy> &TheList) { in reduceList()
51 Expected<TestResult> Result = doTest(TheList, empty); in reduceList()
99 Expected<TestResult> Result = doTest(ShuffledList, empty); in reduceList()
124 Expected<TestResult> Result = doTest(Prefix, Suffix); in reduceList()
187 Expected<TestResult> Result = doTest(EmptyList, TestList); in reduceList()
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/PDB/Native/
H A DPDBFile.h70 Expected<ArrayRef<uint8_t>> getBlockData(uint32_t BlockIndex,
95 Expected<InfoStream &> getPDBInfoStream();
96 Expected<DbiStream &> getPDBDbiStream();
97 Expected<GlobalsStream &> getPDBGlobalsStream();
98 Expected<TpiStream &> getPDBTpiStream();
99 Expected<TpiStream &> getPDBIpiStream();
100 Expected<PublicsStream &> getPDBPublicsStream();
101 Expected<SymbolStream &> getPDBSymbolStream();
102 Expected<PDBStringTable &> getStringTable();
118 Expected<std::unique_ptr<msf::MappedBlockStream>>
/freebsd-12.1/contrib/llvm/include/llvm/ExecutionEngine/Orc/
H A DRemoteObjectLayer.h47 : public rpc::Function<AddObject, Expected<ObjHandleT>(std::string)> {
59 : public rpc::Function<FindSymbol, Expected<RemoteSymbol>(std::string,
67 Expected<RemoteSymbol>(ObjHandleT, std::string,
102 Expected<JITTargetAddress>(RemoteSymbolId)> {
159 Expected<JITTargetAddress> materialize() { in materialize()
200 Expected<RemoteSymbol> jitSymbolToRemote(JITSymbol Sym) { in jitSymbolToRemote()
214 JITSymbol remoteToJITSymbol(Expected<RemoteSymbol> RemoteSymOrErr) { in remoteToJITSymbol()
329 Expected<ObjHandleT>
377 Expected<RemoteSymbol> lookupInLogicalDylib(ObjHandleT H, in lookupInLogicalDylib()
460 Expected<ObjHandleT> addObject(std::string ObjBuffer) { in addObject()
[all …]
H A DLLJIT.h42 static Expected<std::unique_ptr<LLJIT>>
80 Expected<JITEvaluatedSymbol> lookupLinkerMangled(JITDylib &JD,
86 Expected<JITEvaluatedSymbol> lookupLinkerMangled(StringRef Name) { in lookupLinkerMangled()
91 Expected<JITEvaluatedSymbol> lookup(JITDylib &JD, StringRef UnmangledName) { in lookup()
96 Expected<JITEvaluatedSymbol> lookup(StringRef UnmangledName) { in lookup()
145 static Expected<std::unique_ptr<LLLazyJIT>>
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/Symbolize/
H A DSymbolize.h60 Expected<DILineInfo> symbolizeCode(const std::string &ModuleName,
63 Expected<DIInliningInfo> symbolizeInlinedCode(const std::string &ModuleName,
66 Expected<DIGlobal> symbolizeData(const std::string &ModuleName,
83 Expected<SymbolizableModule *>
94 Expected<ObjectPair> getOrCreateObjectPair(const std::string &Path,
100 Expected<ObjectFile *> getOrCreateObject(const std::string &Path,
/freebsd-12.1/contrib/ntp/ntpd/
H A Dcheck_y2k.c408 time_t Expected; in main() local
431 Expected = t * 24 * 60 * 60; in main()
432 if ( Observed != Expected || Flag ) in main()
437 (unsigned long)Observed, (unsigned long)Expected, in main()
438 ((long)Observed - (long)Expected) ); in main()
452 if ( Observed != Expected || Flag ) in main()
457 (unsigned long)Observed, (unsigned long)Expected, in main()
458 ((long)Observed - (long)Expected) ); in main()
470 if ( Observed != Expected || Flag ) in main()
475 (unsigned long)Observed, (unsigned long)Expected, in main()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/MSF/
H A DMSFBuilder.h57 static Expected<MSFBuilder> create(BumpPtrAllocator &Allocator,
74 Expected<uint32_t> addStream(uint32_t Size, ArrayRef<uint32_t> Blocks);
80 Expected<uint32_t> addStream(uint32_t Size);
114 Expected<MSFLayout> generateLayout();
117 Expected<FileBufferByteStream> commit(StringRef Path, MSFLayout &Layout);
/freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/Native/
H A DPDBFile.cpp104 Expected<ArrayRef<uint8_t>> PDBFile::getBlockData(uint32_t BlockIndex, in getBlockData()
256 Expected<GlobalsStream &> PDBFile::getPDBGlobalsStream() { in getPDBGlobalsStream()
274 Expected<InfoStream &> PDBFile::getPDBInfoStream() { in getPDBInfoStream()
287 Expected<DbiStream &> PDBFile::getPDBDbiStream() { in getPDBDbiStream()
300 Expected<TpiStream &> PDBFile::getPDBTpiStream() { in getPDBTpiStream()
313 Expected<TpiStream &> PDBFile::getPDBIpiStream() { in getPDBIpiStream()
329 Expected<PublicsStream &> PDBFile::getPDBPublicsStream() { in getPDBPublicsStream()
347 Expected<SymbolStream &> PDBFile::getPDBSymbolStream() { in getPDBSymbolStream()
367 Expected<PDBStringTable &> PDBFile::getStringTable() { in getStringTable()
453 Expected<uint32_t> ExpectedNSI = IS->getNamedStreamIndex("/names"); in hasPDBStringTable()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/
H A DASTSelectionRequirements.cpp15 Expected<SelectedASTNode>
18 Expected<SourceRange> Range = in evaluate()
31 Expected<CodeRangeASTSelection> CodeRangeASTSelectionRequirement::evaluate( in evaluate()
34 Expected<SelectedASTNode> ASTSelection = in evaluate()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/Refactoring/
H A DRefactoringActionRules.h57 Expected<AtomicChanges> Changes = createSourceReplacements(Context); in invoke()
65 virtual Expected<AtomicChanges>
79 Expected<SymbolOccurrences> Occurrences = findSymbolOccurrences(Context); in invoke()
87 virtual Expected<SymbolOccurrences>
H A DRefactoringActionRuleRequirements.h49 Expected<SourceRange> evaluate(RefactoringRuleContext &Context) const { in evaluate()
63 Expected<SelectedASTNode> evaluate(RefactoringRuleContext &Context) const;
77 Expected<CodeRangeASTSelection>
106 Expected<typename OptionType::ValueType>
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Rename/
H A DRenamingAction.cpp46 Expected<SymbolOccurrences>
66 Expected<RenameOccurrences>
78 Expected<AtomicChanges>
80 Expected<SymbolOccurrences> Occurrences = findSymbolOccurrences(ND, Context); in createSourceReplacements()
89 Expected<QualifiedRenameRule>
135 Expected<AtomicChanges>
143 Expected<std::vector<AtomicChange>>
221 Expected<std::vector<AtomicChange>> Change = in HandleOneRename()

12345678910>>...17