Home
last modified time | relevance | path

Searched refs:Reader (Results 1 – 25 of 247) sorted by relevance

12345678910

/third_party/mbedtls/tests/suites/
Dtest_suite_mps.data1 MPS Reader: Single step, single round, pausing disabled
4 MPS Reader: Single step, single round, pausing enabled but unused
7 MPS Reader: Single step, multiple rounds, pausing disabled
10 MPS Reader: Single step, multiple rounds, pausing enabled but unused
13 MPS Reader: Multiple steps, single round, pausing disabled
16 MPS Reader: Multiple steps, single round, pausing enabled but unused
19 MPS Reader: Multiple steps, multiple rounds, pausing disabled
22 MPS Reader: Multiple steps, multiple rounds, pausing enabled but unused
25 MPS Reader: Pausing needed but disabled
28 MPS Reader: Pausing needed + enabled, but buffer too small
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DRecordSerialization.h46 inline Error consume(BinaryStreamReader &Reader) { return Error::success(); } in consume() argument
52 Error consume(BinaryStreamReader &Reader, APSInt &Num);
55 Error consume_numeric(BinaryStreamReader &Reader, uint64_t &Value);
58 Error consume(BinaryStreamReader &Reader, uint32_t &Item);
59 Error consume(BinaryStreamReader &Reader, int32_t &Item);
62 Error consume(BinaryStreamReader &Reader, StringRef &Item);
69 template <typename T> Error consume(BinaryStreamReader &Reader, T *&Item) { in consume() argument
70 return Reader.readObject(Item); in consume()
76 Error deserialize(BinaryStreamReader &Reader) const { in deserialize()
79 return consume(Reader, Item); in deserialize()
[all …]
DTypeDeserializer.h31 : Stream(RecordData, llvm::support::little), Reader(Stream), in MappingInfo()
32 Mapping(Reader) {} in MappingInfo()
35 BinaryStreamReader Reader; member
105 : Reader(R), Mapping(Reader), StartOffset(0) {} in MappingInfo()
107 BinaryStreamReader &Reader; member
113 explicit FieldListDeserializer(BinaryStreamReader &Reader) : Mapping(Reader) { in FieldListDeserializer() argument
126 Mapping.StartOffset = Mapping.Reader.getOffset(); in visitMemberBegin()
151 uint32_t EndOffset = Mapping.Reader.getOffset(); in visitKnownMemberImpl()
153 Mapping.Reader.setOffset(Mapping.StartOffset); in visitKnownMemberImpl()
154 if (auto EC = Mapping.Reader.readBytes(CVR.Data, RecordLength)) in visitKnownMemberImpl()
[all …]
DCodeViewRecordIO.h47 return Reader->getOffset(); in getCurrentOffset()
54 explicit CodeViewRecordIO(BinaryStreamReader &Reader) : Reader(&Reader) {} in CodeViewRecordIO() argument
69 return (Streamer != nullptr) && (Reader == nullptr) && (Writer == nullptr); in isStreaming()
72 return (Reader != nullptr) && (Streamer == nullptr) && (Writer == nullptr); in isReading()
75 return (Writer != nullptr) && (Streamer == nullptr) && (Reader == nullptr); in isWriting()
93 if (auto EC = Reader->readObject(ValuePtr)) in mapObject()
110 return Reader->readInteger(Value);
165 if (auto EC = Reader->readInteger(Size))
190 while (!Reader->empty() && Reader->peek() < 0xf0 /* LF_PAD0 */) {
261 BinaryStreamReader *Reader = nullptr; variable
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DPDBStringTable.cpp27 Error PDBStringTable::readHeader(BinaryStreamReader &Reader) { in readHeader() argument
28 if (auto EC = Reader.readObject(Header)) in readHeader()
38 assert(Reader.bytesRemaining() == 0); in readHeader()
42 Error PDBStringTable::readStrings(BinaryStreamReader &Reader) { in readStrings() argument
44 if (auto EC = Reader.readStreamRef(Stream)) in readStrings()
53 assert(Reader.bytesRemaining() == 0); in readStrings()
62 Error PDBStringTable::readHashTable(BinaryStreamReader &Reader) { in readHashTable() argument
64 if (auto EC = Reader.readObject(HashCount)) in readHashTable()
67 if (auto EC = Reader.readArray(IDs, *HashCount)) { in readHashTable()
76 Error PDBStringTable::readEpilogue(BinaryStreamReader &Reader) { in readEpilogue() argument
[all …]
DPublicsStream.cpp59 BinaryStreamReader Reader(*Stream); in reload() local
62 if (Reader.bytesRemaining() < in reload()
68 if (Reader.readObject(Header)) in reload()
73 if (auto E = PublicsTable.read(Reader)) in reload()
78 if (auto EC = Reader.readArray(AddressMap, NumAddressMapEntries)) in reload()
84 if (auto EC = Reader.readArray(ThunkMap, Header->NumThunks)) in reload()
90 if (Reader.bytesRemaining() > 0) { in reload()
91 if (auto EC = Reader.readArray(SectionOffsets, Header->NumSections)) in reload()
97 if (Reader.bytesRemaining() > 0) in reload()
DGlobalsStream.cpp41 BinaryStreamReader Reader(*Stream); in reload() local
42 if (auto E = GlobalsTable.read(Reader)) in reload()
94 BinaryStreamReader &Reader) { in readGSIHashHeader() argument
95 if (Reader.readObject(HashHdr)) in readGSIHashHeader()
109 BinaryStreamReader &Reader) { in readGSIHashRecords() argument
119 if (auto EC = Reader.readArray(HashRecords, NumHashRecords)) in readGSIHashRecords()
132 BinaryStreamReader &Reader) { in readGSIHashBuckets() argument
140 if (auto EC = Reader.readArray(HashBitmap, NumBitmapEntries)) in readGSIHashBuckets()
163 if (auto EC = Reader.readArray(HashBuckets, NumBuckets)) in readGSIHashBuckets()
171 Error GSIHashTable::read(BinaryStreamReader &Reader) { in read() argument
[all …]
DModuleDebugStream.cpp38 BinaryStreamReader Reader(*Stream); in reload() local
41 if (Error E = reloadSerialize(Reader)) in reload()
44 if (Reader.bytesRemaining() > 0) in reload()
50 Error ModuleDebugStreamRef::reloadSerialize(BinaryStreamReader &Reader) { in reloadSerialize() argument
61 if (auto EC = Reader.readInteger(Signature)) in reloadSerialize()
63 Reader.setOffset(0); in reloadSerialize()
64 if (auto EC = Reader.readSubstream(SymbolsSubstream, SymbolSize)) in reloadSerialize()
66 if (auto EC = Reader.readSubstream(C11LinesSubstream, C11Size)) in reloadSerialize()
68 if (auto EC = Reader.readSubstream(C13LinesSubstream, C13Size)) in reloadSerialize()
82 if (auto EC = Reader.readInteger(GlobalRefsSize)) in reloadSerialize()
[all …]
DDbiStream.cpp35 BinaryStreamReader &Reader) { in loadSectionContribs() argument
36 if (Reader.bytesRemaining() % sizeof(ContribType) != 0) in loadSectionContribs()
41 uint32_t Count = Reader.bytesRemaining() / sizeof(ContribType); in loadSectionContribs()
42 if (auto EC = Reader.readArray(Output, Count)) in loadSectionContribs()
53 BinaryStreamReader Reader(*Stream); in reload() local
58 if (auto EC = Reader.readObject(Header)) in reload()
100 if (auto EC = Reader.readSubstream(ModiSubstream, Header->ModiSubstreamSize)) in reload()
103 if (auto EC = Reader.readSubstream(SecContrSubstream, in reload()
106 if (auto EC = Reader.readSubstream(SecMapSubstream, Header->SectionMapSize)) in reload()
108 if (auto EC = Reader.readSubstream(FileInfoSubstream, Header->FileInfoSize)) in reload()
[all …]
DInfoStream.cpp26 BinaryStreamReader Reader(*Stream); in reload() local
28 if (auto EC = Reader.readObject(Header)) in reload()
45 uint32_t Offset = Reader.getOffset(); in reload()
46 if (auto EC = NamedStreams.load(Reader)) in reload()
48 uint32_t NewOffset = Reader.getOffset(); in reload()
51 Reader.setOffset(Offset); in reload()
52 if (auto EC = Reader.readSubstream(SubNamedStreams, NamedStreamMapByteSize)) in reload()
56 while (!Stop && !Reader.empty()) { in reload()
58 if (auto EC = Reader.readEnum(Sig)) in reload()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DRecordSerialization.cpp36 Error llvm::codeview::consume(BinaryStreamReader &Reader, APSInt &Num) { in consume() argument
40 if (auto EC = Reader.readInteger(Short)) in consume()
52 if (auto EC = Reader.readInteger(N)) in consume()
59 if (auto EC = Reader.readInteger(N)) in consume()
66 if (auto EC = Reader.readInteger(N)) in consume()
73 if (auto EC = Reader.readInteger(N)) in consume()
80 if (auto EC = Reader.readInteger(N)) in consume()
87 if (auto EC = Reader.readInteger(N)) in consume()
94 if (auto EC = Reader.readInteger(N)) in consume()
114 Error llvm::codeview::consume_numeric(BinaryStreamReader &Reader, in consume_numeric() argument
[all …]
DDebugSubsectionVisitor.cpp31 BinaryStreamReader Reader(R.getRecordData()); in visitDebugSubsection() local
35 if (auto EC = Fragment.initialize(Reader)) in visitDebugSubsection()
42 if (auto EC = Fragment.initialize(Reader)) in visitDebugSubsection()
49 if (auto EC = Fragment.initialize(Reader)) in visitDebugSubsection()
55 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection()
61 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection()
67 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection()
73 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection()
79 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection()
85 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection()
DDebugCrossImpSubsection.cpp28 BinaryStreamReader Reader(Stream); in operator ()() local
29 if (Reader.bytesRemaining() < sizeof(CrossModuleImport)) in operator ()()
33 if (auto EC = Reader.readObject(Item.Header)) in operator ()()
35 if (Reader.bytesRemaining() < Item.Header->Count * sizeof(uint32_t)) in operator ()()
39 if (auto EC = Reader.readArray(Item.Imports, Item.Header->Count)) in operator ()()
45 BinaryStreamReader Reader) { in initialize() argument
46 return Reader.readArray(References, Reader.bytesRemaining()); in initialize()
50 BinaryStreamReader Reader(Stream); in initialize() local
51 return initialize(Reader); in initialize()
DDebugInlineeLinesSubsection.cpp25 BinaryStreamReader Reader(Stream); in operator ()() local
27 if (auto EC = Reader.readObject(Item.Header)) in operator ()()
32 if (auto EC = Reader.readInteger(ExtraFileCount)) in operator ()()
34 if (auto EC = Reader.readArray(Item.ExtraFiles, ExtraFileCount)) in operator ()()
38 Len = Reader.getOffset(); in operator ()()
45 Error DebugInlineeLinesSubsectionRef::initialize(BinaryStreamReader Reader) { in initialize() argument
46 if (auto EC = Reader.readEnum(Signature)) in initialize()
50 if (auto EC = Reader.readArray(Lines, Reader.bytesRemaining())) in initialize()
53 assert(Reader.bytesRemaining() == 0); in initialize()
DDebugFrameDataSubsection.cpp15 Error DebugFrameDataSubsectionRef::initialize(BinaryStreamReader Reader) { in initialize() argument
16 if (Reader.bytesRemaining() % sizeof(FrameData) != 0) { in initialize()
17 if (auto EC = Reader.readObject(RelocPtr)) in initialize()
21 if (Reader.bytesRemaining() % sizeof(FrameData) != 0) in initialize()
25 uint32_t Count = Reader.bytesRemaining() / sizeof(FrameData); in initialize()
26 if (auto EC = Reader.readArray(Frames, Count)) in initialize()
32 BinaryStreamReader Reader(Section); in initialize() local
33 return initialize(Reader); in initialize()
DDebugCrossExSubsection.cpp19 BinaryStreamReader Reader) { in initialize() argument
20 if (Reader.bytesRemaining() % sizeof(CrossModuleExport) != 0) in initialize()
25 uint32_t Size = Reader.bytesRemaining() / sizeof(CrossModuleExport); in initialize()
26 return Reader.readArray(References, Size); in initialize()
30 BinaryStreamReader Reader(Stream); in initialize() local
31 return initialize(Reader); in initialize()
DDebugChecksumsSubsection.cpp36 BinaryStreamReader Reader(Stream); in operator ()() local
39 if (auto EC = Reader.readObject(Header)) in operator ()()
44 if (auto EC = Reader.readBytes(Item.Checksum, Header->ChecksumSize)) in operator ()()
51 Error DebugChecksumsSubsectionRef::initialize(BinaryStreamReader Reader) { in initialize() argument
52 if (auto EC = Reader.readArray(Checksums, Reader.bytesRemaining())) in initialize()
59 BinaryStreamReader Reader(Section); in initialize() local
60 return initialize(Reader); in initialize()
/third_party/node/deps/npm/node_modules/asn1/lib/ber/
Dreader.js18 function Reader(data) { class
30 Object.defineProperty(Reader.prototype, 'length', {
35 Object.defineProperty(Reader.prototype, 'offset', {
40 Object.defineProperty(Reader.prototype, 'remain', {
44 Object.defineProperty(Reader.prototype, 'buffer', {
56 Reader.prototype.readByte = function (peek) {
69 Reader.prototype.peek = function () {
85 Reader.prototype.readLength = function (offset) {
128 Reader.prototype.readSequence = function (tag) {
145 Reader.prototype.readInt = function () {
[all …]
/third_party/PyYAML/lib/yaml/
Dloader.py11 class BaseLoader(Reader, Scanner, Parser, Composer, BaseConstructor, BaseResolver):
14 Reader.__init__(self, stream)
21 class FullLoader(Reader, Scanner, Parser, Composer, FullConstructor, Resolver):
24 Reader.__init__(self, stream)
31 class SafeLoader(Reader, Scanner, Parser, Composer, SafeConstructor, Resolver):
34 Reader.__init__(self, stream)
41 class Loader(Reader, Scanner, Parser, Composer, Constructor, Resolver):
44 Reader.__init__(self, stream)
55 class UnsafeLoader(Reader, Scanner, Parser, Composer, Constructor, Resolver):
58 Reader.__init__(self, stream)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DMsgPackReader.h98 class Reader {
101 Reader(MemoryBufferRef InputBuffer);
103 Reader(StringRef Input);
105 Reader(const Reader &) = delete;
106 Reader &operator=(const Reader &) = delete;
/third_party/skia/third_party/externals/brotli/go/cbrotli/
Dreader.go51 type Reader struct { struct
52 src io.Reader argument
65 func NewReader(src io.Reader) *Reader { argument
66 return &Reader{
74 func (r *Reader) Close() error { argument
84 func (r *Reader) Read(p []byte) (n int, err error) { argument
156 r := &Reader{
/third_party/jsoncpp/src/lib_json/
Djson_reader.cpp80 bool Reader::containsNewLine(Reader::Location begin, Reader::Location end) { in containsNewLine()
87 Reader::Reader() : features_(Features::all()) {} in Reader() function in Json::Reader
89 Reader::Reader(const Features& features) : features_(features) {} in Reader() function in Json::Reader
91 bool Reader::parse(const std::string& document, Value& root, in parse()
99 bool Reader::parse(std::istream& is, Value& root, bool collectComments) { in parse()
111 bool Reader::parse(const char* beginDoc, const char* endDoc, Value& root, in parse()
150 bool Reader::readValue() { in readValue()
227 void Reader::skipCommentTokens(Token& token) { in skipCommentTokens()
237 bool Reader::readToken(Token& token) { in readToken()
308 void Reader::skipSpaces() { in skipSpaces()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DCodeViewYAMLTypeHashing.cpp52 BinaryStreamReader Reader(DebugH, llvm::support::little); in fromDebugH() local
54 cantFail(Reader.readInteger(DHS.Magic)); in fromDebugH()
55 cantFail(Reader.readInteger(DHS.Version)); in fromDebugH()
56 cantFail(Reader.readInteger(DHS.HashAlgorithm)); in fromDebugH()
58 while (Reader.bytesRemaining() != 0) { in fromDebugH()
60 cantFail(Reader.readBytes(S, 8)); in fromDebugH()
63 assert(Reader.bytesRemaining() == 0); in fromDebugH()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/
DMsgPackReader.cpp22 Reader::Reader(MemoryBufferRef InputBuffer) in Reader() function in Reader
26 Reader::Reader(StringRef Input) : Reader({Input, "MsgPack"}) {} in Reader() function in Reader
28 Expected<bool> Reader::read(Object &Obj) { in read()
181 template <class T> Expected<bool> Reader::readRaw(Object &Obj) { in readRaw()
191 template <class T> Expected<bool> Reader::readInt(Object &Obj) { in readInt()
201 template <class T> Expected<bool> Reader::readUInt(Object &Obj) { in readUInt()
211 template <class T> Expected<bool> Reader::readLength(Object &Obj) { in readLength()
221 template <class T> Expected<bool> Reader::readExt(Object &Obj) { in readExt()
231 Expected<bool> Reader::createRaw(Object &Obj, uint32_t Size) { in createRaw()
241 Expected<bool> Reader::createExt(Object &Obj, uint32_t Size) { in createExt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
DTrace.cpp49 DataExtractor Reader(Data, IsLittleEndian, 8); in loadNaiveFormatLog() local
51 auto FileHeaderOrError = readBinaryFormatHeader(Reader, OffsetPtr); in loadNaiveFormatLog()
66 while (Reader.isValidOffset(OffsetPtr)) { in loadNaiveFormatLog()
67 if (!Reader.isValidOffsetForDataOfSize(OffsetPtr, 32)) in loadNaiveFormatLog()
73 auto RecordType = Reader.getU16(&OffsetPtr); in loadNaiveFormatLog()
86 Record.CPU = Reader.getU8(&OffsetPtr); in loadNaiveFormatLog()
93 auto Type = Reader.getU8(&OffsetPtr); in loadNaiveFormatLog()
120 Record.FuncId = Reader.getSigned(&OffsetPtr, sizeof(int32_t)); in loadNaiveFormatLog()
128 Record.TSC = Reader.getU64(&OffsetPtr); in loadNaiveFormatLog()
135 Record.TId = Reader.getU32(&OffsetPtr); in loadNaiveFormatLog()
[all …]

12345678910