Home
last modified time | relevance | path

Searched refs:Expected (Results 1 - 25 of 380) sorted by relevance

12345678910>>...16

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
H A DArchive.h46 Expected<StringRef> getRawName() const;
49 Expected<StringRef> getName(uint64_t Size) const;
51 Expected<uint64_t> getSize() const;
53 Expected<sys::fs::perms> getAccessMode() const;
54 Expected<sys::TimePoint<std::chrono::seconds>> getLastModified() const;
61 Expected<unsigned> getUID() const;
62 Expected<unsigned> getGID() const;
98 Expected<bool> isThinMember() const;
110 Expected<Child> getNext() const;
112 Expected<StringRe
[all...]
H A DELF.h124 Expected<const T *> getEntry(uint32_t Section, uint32_t Entry) const;
126 Expected<const T *> getEntry(const Elf_Shdr *Section, uint32_t Entry) const;
128 Expected<StringRef>
131 Expected<StringRef> getStringTableForSymtab(const Elf_Shdr &Section) const;
132 Expected<StringRef> getStringTableForSymtab(const Elf_Shdr &Section,
135 Expected<ArrayRef<Elf_Word>> getSHNDXTable(const Elf_Shdr &Section) const;
136 Expected<ArrayRef<Elf_Word>> getSHNDXTable(const Elf_Shdr &Section,
148 Expected<const Elf_Sym *> getRelocationSymbol(const Elf_Rel *Rel,
151 static Expected<ELFFile> create(StringRef Object);
164 Expected<Elf_Shdr_Rang
[all...]
H A DObjectFile.h97 Expected<StringRef> getName() const;
101 Expected<StringRef> getContents() const;
133 Expected<section_iterator> getRelocatedSection() const;
181 Expected<StringRef> getName() const;
184 Expected<uint64_t> getAddress() const;
193 Expected<SymbolRef::Type> getType() const;
197 Expected<section_iterator> getSection() const;
243 virtual Expected<StringRef> getSymbolName(DataRefImpl Symb) const = 0;
246 virtual Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const = 0;
250 virtual Expected<SymbolRe
[all...]
H A DMinidump.h28 static Expected<std::unique_ptr<MinidumpFile>> create(MemoryBufferRef Source);
49 Expected<ArrayRef<uint8_t>>
56 Expected<std::string> getString(size_t Offset) const;
62 Expected<const minidump::SystemInfo &> getSystemInfo() const { in getSystemInfo()
71 Expected<ArrayRef<minidump::Module>> getModuleList() const { in getModuleList()
80 Expected<ArrayRef<minidump::Thread>> getThreadList() const { in getThreadList()
88 Expected<const minidump::ExceptionStream &> getExceptionStream() const { in getExceptionStream()
100 Expected<ArrayRef<minidump::MemoryDescriptor>> getMemoryList() const { in getMemoryList()
141 Expected<iterator_range<MemoryInfoIterator>> getMemoryInfoList() const;
154 static Expected<ArrayRe
[all...]
H A DXCOFFObjectFile.h227 Expected<StringRef> getStringTableEntry(uint32_t Offset) const;
235 static Expected<std::unique_ptr<XCOFFObjectFile>> create(unsigned Type,
240 static Expected<XCOFFStringTable> parseStringTable(const XCOFFObjectFile *Obj,
244 friend Expected<std::unique_ptr<ObjectFile>>
256 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override;
257 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override;
260 Expected<SymbolRef::Type> getSymbolType(DataRefImpl Symb) const override;
261 Expected<section_iterator> getSymbolSection(DataRefImpl Symb) const override;
264 Expected<StringRef> getSectionName(DataRefImpl Sec) const override;
268 Expected<ArrayRe
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitcode/
H A DBitcodeReader.h34 // These functions are for converting Expected/Error values to
41 ErrorOr<T> expectedToErrorOrAndEmitErrors(LLVMContext &Ctx, Expected<T> Val) { in expectedToErrorOrAndEmitErrors()
77 friend Expected<BitcodeFileContents>
80 Expected<std::unique_ptr<Module>> getModuleImpl(LLVMContext &Context,
98 Expected<std::unique_ptr<Module>> getLazyModule(LLVMContext &Context,
103 Expected<std::unique_ptr<Module>> parseModule(LLVMContext &Context);
107 Expected<BitcodeLTOInfo> getLTOInfo();
110 Expected<std::unique_ptr<ModuleSummaryIndex>> getSummary();
128 Expected<BitcodeFileContents> getBitcodeFileContents(MemoryBufferRef Buffer);
131 Expected<st
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/
H A DYAMLRemarkParser.cpp26 assert(Ctx && "Expected non-null Ctx in diagnostic handler."); in handleDiagnostic()
28 assert(Message.empty() && "Expected an empty string."); in handleDiagnostic()
61 static Expected<bool> parseMagic(StringRef &Buf) { in parseMagic()
71 static Expected<uint64_t> parseVersion(StringRef &Buf) { in parseVersion()
88 static Expected<uint64_t> parseStrTabSize(StringRef &Buf) { in parseStrTabSize()
99 static Expected<ParsedStringTable> parseStrTab(StringRef &Buf, in parseStrTab()
108 return Expected<ParsedStringTable>(std::move(Result)); in parseStrTab()
111 Expected<std::unique_ptr<YAMLRemarkParser>>
116 Expected<bool> isMeta = parseMagic(Buf); in createYAMLParserFromMeta()
122 Expected<uint64_ in createYAMLParserFromMeta()
[all...]
H A DRemarkLinker.cpp23 static Expected<StringRef>
32 Expected<Optional<StringRef>>
34 Expected<StringRef> SectionName = getRemarksSectionName(Obj); in getRemarksSectionContents()
39 Expected<StringRef> MaybeName = Section.getName(); in getRemarksSectionContents()
45 if (Expected<StringRef> Contents = Section.getContents()) in getRemarksSectionContents()
68 Expected<Format> ParserFormat = magicToFormat(Buffer); in link()
74 Expected<std::unique_ptr<RemarkParser>> MaybeParser = in link()
85 Expected<std::unique_ptr<Remark>> Next = Parser.next(); in link()
104 Expected<Optional<StringRef>> SectionOrErr = getRemarksSectionContents(Obj); in link()
114 Expected<st in serialize()
[all...]
H A DYAMLRemarkParser.h68 Expected<std::unique_ptr<Remark>> next() override;
83 Expected<std::unique_ptr<Remark>> parseRemark(yaml::Document &Remark);
85 Expected<Type> parseType(yaml::MappingNode &Node);
87 Expected<StringRef> parseKey(yaml::KeyValueNode &Node);
89 virtual Expected<StringRef> parseStr(yaml::KeyValueNode &Node);
91 Expected<unsigned> parseUnsigned(yaml::KeyValueNode &Node);
93 Expected<RemarkLocation> parseDebugLoc(yaml::KeyValueNode &Node);
95 Expected<Argument> parseArg(yaml::Node &Node);
109 Expected<StringRef> parseStr(yaml::KeyValueNode &Node) override;
112 Expected<st
[all...]
H A DBitstreamRemarkParser.cpp48 Expected<unsigned> RecordID = Stream.readRecord(Code, Record, &Blob); in parseRecord()
95 Expected<unsigned> RecordID = Stream.readRecord(Code, Record, &Blob); in parseRecord()
161 Expected<BitstreamEntry> Next = Stream.advance(); in parseBlock()
212 Expected<std::array<char, 4>> BitstreamParserHelper::parseMagic() { in parseMagic()
215 if (Expected<unsigned> R = Stream.Read(8)) in parseMagic()
223 Expected<BitstreamEntry> Next = Stream.advance(); in parseBlockInfoBlock()
233 Expected<Optional<BitstreamBlockInfo>> MaybeBlockInfo = in parseBlockInfoBlock()
249 static Expected<bool> isBlock(BitstreamCursor &Stream, unsigned BlockID) { in isBlock()
252 Expected<BitstreamEntry> Next = Stream.advance(); in isBlock()
273 Expected<boo
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitstream/Reader/
H A DBitstreamReader.cpp36 Expected<uint32_t> MaybeVBR = ReadVBR(bitc::CodeLenWidth); in EnterSubBlock()
48 Expected<word_t> MaybeNum = Read(bitc::BlockSizeWidth); in EnterSubBlock()
67 static Expected<uint64_t> readAbbreviatedField(BitstreamCursor &Cursor, in readAbbreviatedField()
83 if (Expected<unsigned> Res = Cursor.Read(6)) in readAbbreviatedField()
92 Expected<unsigned> BitstreamCursor::skipRecord(unsigned AbbrevID) { in skipRecord()
95 Expected<uint32_t> MaybeCode = ReadVBR(6); in skipRecord()
99 Expected<uint32_t> MaybeVBR = ReadVBR(6); in skipRecord()
104 if (Expected<uint64_t> Res = ReadVBR64(6)) in skipRecord()
122 Expected<uint64_t> MaybeCode = readAbbreviatedField(*this, CodeOp); in skipRecord()
135 if (Expected<uint64_ in skipRecord()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
H A DArchive.cpp66 Expected<StringRef> NameOrErr = getName(Size); in ArchiveMemberHeader()
86 Expected<StringRef> NameOrErr = getName(Size); in ArchiveMemberHeader()
100 Expected<StringRef> ArchiveMemberHeader::getRawName() const { in getRawName()
128 Expected<StringRef> ArchiveMemberHeader::getName(uint64_t Size) const { in getName()
142 Expected<StringRef> NameOrErr = getRawName(); in getName()
226 Expected<uint64_t> ArchiveMemberHeader::getSize() const { in getSize()
244 Expected<sys::fs::perms> ArchiveMemberHeader::getAccessMode() const { in getAccessMode()
262 Expected<sys::TimePoint<std::chrono::seconds>>
283 Expected<unsigned> ArchiveMemberHeader::getUID() const { in getUID()
302 Expected<unsigne
[all...]
H A DIRObjectFile.cpp73 Expected<MemoryBufferRef>
77 Expected<StringRef> Contents = Sec.getContents(); in findBitcodeInObject()
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<MemoryBufferRe in readIRSymtab()
[all...]
H A DMinidump.cpp25 Expected<std::string> MinidumpFile::getString(size_t Offset) const { in getString()
56 Expected<iterator_range<MinidumpFile::MemoryInfoIterator>>
66 Expected<ArrayRef<uint8_t>> Data = in getMemoryInfoList()
75 Expected<ArrayRef<T>> MinidumpFile::getListStream(StreamType Type) const { in getListStream()
94 template Expected<ArrayRef<Module>>
96 template Expected<ArrayRef<Thread>>
98 template Expected<ArrayRef<MemoryDescriptor>>
101 Expected<ArrayRef<uint8_t>>
110 Expected<std::unique_ptr<MinidumpFile>>
133 Expected<ArrayRe in create()
[all...]
H A DXCOFFObjectFile.cpp25 static Expected<const T *> getObject(MemoryBufferRef M, const void *Ptr, in getObject()
154 Expected<StringRef>
171 Expected<StringRef>
179 Expected<StringRef> XCOFFObjectFile::getSymbolName(DataRefImpl Symb) const { in getSymbolName()
193 Expected<uint64_t> XCOFFObjectFile::getSymbolAddress(DataRefImpl Symb) const { in getSymbolAddress()
209 Expected<SymbolRef::Type>
215 Expected<section_iterator>
223 Expected<DataRefImpl> ExpSec = getSectionByNum(SectNum); in getSymbolSection()
235 Expected<StringRef> XCOFFObjectFile::getSectionName(DataRefImpl Sec) const { in getSectionName()
266 Expected<ArrayRe
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DMSVCErrorWorkarounds.h10 // constructible, so this header provides analogues of Error an Expected
13 // FIXME: Kill off this header and migrate all users to Error/Expected once we
41 // A default-constructible llvm::Expected that is suitable for use with MSVC's
43 template <typename T> class MSVCPExpected : public Expected<T> {
46 : Expected<T>(make_error<StringError>("", inconvertibleErrorCode())) { in MSVCPExpected()
50 MSVCPExpected(MSVCPExpected &&Other) : Expected<T>(std::move(Other)) {} in MSVCPExpected()
53 Expected<T>::operator=(std::move(Other)); in operator =()
57 MSVCPExpected(Error Err) : Expected<T>(std::move(Err)) {} in MSVCPExpected()
64 : Expected<T>(std::move(Val)) {} in MSVCPExpected()
68 Expected<Other in MSVCPExpected()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/
H A DPDBFile.h70 Expected<ArrayRef<uint8_t>> getBlockData(uint32_t BlockIndex,
89 Expected<std::unique_ptr<msf::MappedBlockStream>>
91 Expected<std::unique_ptr<msf::MappedBlockStream>>
100 Expected<InfoStream &> getPDBInfoStream();
101 Expected<DbiStream &> getPDBDbiStream();
102 Expected<GlobalsStream &> getPDBGlobalsStream();
103 Expected<TpiStream &> getPDBTpiStream();
104 Expected<TpiStream &> getPDBIpiStream();
105 Expected<PublicsStream &> getPDBPublicsStream();
106 Expected<SymbolStrea
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/Symbolize/
H A DSymbolize.h58 Expected<DILineInfo> symbolizeCode(const ObjectFile &Obj,
60 Expected<DILineInfo> symbolizeCode(const std::string &ModuleName,
62 Expected<DIInliningInfo>
65 Expected<DIGlobal> symbolizeData(const std::string &ModuleName,
67 Expected<std::vector<DILocal>>
81 Expected<DILineInfo>
89 Expected<SymbolizableModule *>
92 Expected<SymbolizableModule *>
108 Expected<ObjectPair> getOrCreateObjectPair(const std::string &Path,
114 Expected<ObjectFil
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
H A DMsgPackReader.h122 Expected<bool> read(Object &Obj);
135 template <class T> Expected<bool> readRaw(Object &Obj);
136 template <class T> Expected<bool> readInt(Object &Obj);
137 template <class T> Expected<bool> readUInt(Object &Obj);
138 template <class T> Expected<bool> readLength(Object &Obj);
139 template <class T> Expected<bool> readExt(Object &Obj);
140 Expected<bool> createRaw(Object &Obj, uint32_t Size);
141 Expected<bool> createExt(Object &Obj, uint32_t Size);
/third_party/json/tests/thirdparty/Fuzzer/test/
H A DSimpleDictionaryTest.cpp17 const char *Expected = "ElvisPresley"; in LLVMFuzzerTestOneInput() local
18 if (Size < strlen(Expected)) return 0; in LLVMFuzzerTestOneInput()
20 for (size_t i = 0; Expected[i]; i++) in LLVMFuzzerTestOneInput()
21 if (Expected[i] + Zero == Data[i]) in LLVMFuzzerTestOneInput()
23 if (Match == strlen(Expected)) { in LLVMFuzzerTestOneInput()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitstream/
H A DBitstreamReader.h141 if (Expected<word_t> Res = Read(WordBitNo)) in JumpToBit()
159 assert(!(BitNo % 8) && "Expected bit on byte boundary"); in getPointerToBit()
189 Expected<word_t> Read(unsigned NumBits) { in Read()
232 Expected<uint32_t> ReadVBR(unsigned NumBits) { in ReadVBR()
233 Expected<unsigned> MaybeRead = Read(NumBits); in ReadVBR()
259 Expected<uint64_t> ReadVBR64(unsigned NumBits) { in ReadVBR64()
260 Expected<uint64_t> MaybeRead = Read(NumBits); in ReadVBR64()
399 Expected<BitstreamEntry> advance(unsigned Flags = 0) { in advance()
404 Expected<unsigned> MaybeCode = ReadCode(); in advance()
417 if (Expected<unsigne in advance()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cTextureGatherTests.cpp974 if (!ColorEqual(data, Expected(), g_color_eps)) in Verify()
977 << tcu::TestLog::Message << "Expected " << Expected().x() << ", " << Expected().y() << ", " in Verify()
978 << Expected().z() << ", " << Expected().w() << ", got: " << data.x() << ", " << data.y() << ", " in Verify()
986 virtual Vec4 Expected() in Expected() function in gl4cts::__anon27655::GatherBase
1064 << tcu::TestLog::Message << "Expected " in Run()
1109 if (!ColorEqual(data[0], Expected(), g_color_eps)) in VerifyCompute()
1112 << tcu::TestLog::Message << "Expected " << Expecte in VerifyCompute()
1150 virtual Vec4 Expected() Expected() function in gl4cts::__anon27655::PlainGatherFloat2DRg
1335 virtual Vec4 Expected() Expected() function in gl4cts::__anon27655::PlainGatherDepth2D
1564 virtual Vec4 Expected() Expected() function in gl4cts::__anon27655::PlainGatherDepth2DArray
1638 virtual Vec4 Expected() Expected() function in gl4cts::__anon27655::PlainGatherFloatCubeRg
1926 virtual Vec4 Expected() Expected() function in gl4cts::__anon27655::PlainGatherDepthCube
2215 virtual Vec4 Expected() Expected() function in gl4cts::__anon27655::PlainGatherDepthCubeArray
2239 virtual Vec4 Expected() Expected() function in gl4cts::__anon27655::PlainGatherFloat2DRect
2459 virtual Vec4 Expected() Expected() function in gl4cts::__anon27655::PlainGatherDepth2DRect
2784 virtual Vec4 Expected() Expected() function in gl4cts::__anon27655::OffsetsGatherDepth2D
2900 virtual Vec4 Expected() Expected() function in gl4cts::__anon27655::OffsetsGatherDepth2DArray
2990 virtual Vec4 Expected() Expected() function in gl4cts::__anon27655::OffsetsGatherDepth2DRect
3007 virtual Vec4 Expected() Expected() function in gl4cts::__anon27655::Swizzle
3029 virtual Vec4 Expected() Expected() function in gl4cts::__anon27655::IncompleteTexture
3043 virtual Vec4 Expected() Expected() function in gl4cts::__anon27655::IncompleteTextureLastComp
3164 virtual Vec4 Expected() Expected() function in gl4cts::__anon27655::PlainGatherFloat2DSrgb
3187 virtual Vec4 Expected() Expected() function in gl4cts::__anon27655::PlainGatherFloat2DSrgbAlpha
[all...]
/third_party/nghttp2/third-party/llhttp/src/
H A Dllhttp.c3246 state->reason = "Expected dot"; in llhttp__internal__run()
6194 state->reason = "Expected dot"; in llhttp__internal__run()
6650 state->reason = "Expected LF after chunk data"; in llhttp__internal__run()
6724 state->reason = "Expected LF after chunk size"; in llhttp__internal__run()
7306 state->reason = "Expected LF after headers"; in llhttp__internal__run()
7501 state->reason = "Expected LF after CR"; in llhttp__internal__run()
8161 state->reason = "Expected CRLF"; in llhttp__internal__run()
8196 state->reason = "Expected HTTP/2 Connection Preface"; in llhttp__internal__run()
8205 state->reason = "Expected CRLF after version"; in llhttp__internal__run()
8224 state->reason = "Expected CRL in llhttp__internal__run()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Remarks/
H A DRemarkParser.h52 virtual Expected<std::unique_ptr<Remark>> next() = 0;
75 Expected<StringRef> operator[](size_t Index) const;
78 Expected<std::unique_ptr<RemarkParser>> createRemarkParser(Format ParserFormat,
81 Expected<std::unique_ptr<RemarkParser>>
85 Expected<std::unique_ptr<RemarkParser>>
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktAtomicOperationTests.cpp330 struct Expected struct in vkt::shaderexecutor::__anon28661::TestBuffer
335 Expected (T inout, T output0, T output1) in Expected() function
454 struct Expected struct in vkt::shaderexecutor::__anon28661::TestBufferFloatingPoint
459 Expected(T inout, T output0, T output1) in Expected() function
537 // Expected results are collected to this vector. in checkOperation()
538 vector<Expected<T> > exp; in checkOperation()
544 exp.push_back(Expected<T>(originalInout + input0 + input1, originalInout, originalInout + input0)); in checkOperation()
545 exp.push_back(Expected<T>(originalInout + input0 + input1, originalInout + input1, originalInout)); in checkOperation()
551 exp.push_back(Expected<T>(originalInout & input0 & input1, originalInout, originalInout & input0)); in checkOperation()
552 exp.push_back(Expected< in checkOperation()
[all...]

Completed in 24 milliseconds

12345678910>>...16