Home
last modified time | relevance | path

Searched defs:Reader (Results 1 – 25 of 300) sorted by relevance

12345678910>>...12

/external/brotli/go/cbrotli/
Dreader.go51 type Reader struct { struct
52 src io.Reader
53 state *C.BrotliDecoderState
54 buf []byte // scratch space for reading from src
55 in []byte // current chunk to decode; usually aliases buf
65 func NewReader(src io.Reader) *Reader {
74 func (r *Reader) Close() error {
84 func (r *Reader) Read(p []byte) (n int, err error) {
/external/rust/crates/bytes/src/buf/
Dreader.rs11 pub struct Reader<B> { struct
15 pub fn new<B>(buf: B) -> Reader<B> { in new() argument
19 impl<B: Buf> Reader<B> { impl
65 impl<B: Buf + Sized> io::Read for Reader<B> { implementation
74 impl<B: Buf + Sized> io::BufRead for Reader<B> { implementation
/external/google-breakpad/src/common/dwarf/
Dbytereader_unittest.cc60 class Reader: public ReaderFixture, public Test { }; class
63 TEST_F(Reader, SimpleConstructor) { in TEST_F() argument
91 TEST_F(Reader, ValidEncodings) { in TEST_F() argument
388 TEST_F(Reader, DW_EH_PE_absptr4) { in TEST_F() argument
398 TEST_F(Reader, DW_EH_PE_absptr8) { in TEST_F() argument
410 TEST_F(Reader, DW_EH_PE_uleb128) { in TEST_F() argument
420 TEST_F(Reader, DW_EH_PE_udata2) { in TEST_F() argument
430 TEST_F(Reader, DW_EH_PE_udata4) { in TEST_F() argument
440 TEST_F(Reader, DW_EH_PE_udata8Addr8) { in TEST_F() argument
452 TEST_F(Reader, DW_EH_PE_udata8Addr4) { in TEST_F() argument
[all …]
/external/llvm/unittests/Bitcode/
DBitstreamReaderTest.cpp39 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes)); in TEST() local
59 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes)); in TEST() local
68 BitstreamReader Reader(&Dummy, &Dummy); in TEST() local
76 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes)); in TEST() local
88 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes)); in TEST() local
98 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes)); in TEST() local
108 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes)); in TEST() local
120 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes)); in TEST() local
134 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes)); in TEST() local
148 BitstreamReader Reader(std::begin(Bytes), std::end(Bytes)); in TEST() local
[all …]
/external/crosvm/fuse/src/
Dserver.rs25 pub trait Reader: io::Read {} interface
184 fn lookup<R: Reader, W: Writer>(&self, in_header: InHeader, mut r: R, w: W) -> Result<usize> { in lookup()
218 fn getattr<R: Reader, W: Writer>(&self, in_header: InHeader, mut r: R, w: W) -> Result<usize> { in getattr()
248 fn setattr<R: Reader, W: Writer>(&self, in_header: InHeader, mut r: R, w: W) -> Result<usize> { in setattr()
294 fn symlink<R: Reader, W: Writer>(&self, in_header: InHeader, mut r: R, w: W) -> Result<usize> { in symlink()
329 fn mknod<R: Reader, W: Writer>(&self, in_header: InHeader, mut r: R, w: W) -> Result<usize> { in mknod()
365 fn mkdir<R: Reader, W: Writer>(&self, in_header: InHeader, mut r: R, w: W) -> Result<usize> { in mkdir()
398 fn chromeos_tmpfile<R: Reader, W: Writer>( in chromeos_tmpfile()
422 fn unlink<R: Reader, W: Writer>(&self, in_header: InHeader, mut r: R, w: W) -> Result<usize> { in unlink()
440 fn rmdir<R: Reader, W: Writer>(&self, in_header: InHeader, mut r: R, w: W) -> Result<usize> { in rmdir()
[all …]
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/
DPDBStringTable.cpp27 Error PDBStringTable::readHeader(BinaryStreamReader &Reader) { in readHeader()
42 Error PDBStringTable::readStrings(BinaryStreamReader &Reader) { in readStrings()
62 Error PDBStringTable::readHashTable(BinaryStreamReader &Reader) { in readHashTable()
76 Error PDBStringTable::readEpilogue(BinaryStreamReader &Reader) { in readEpilogue()
84 Error PDBStringTable::reload(BinaryStreamReader &Reader) { in reload()
DGlobalsStream.cpp41 BinaryStreamReader Reader(*Stream); in reload() local
94 BinaryStreamReader &Reader) { in readGSIHashHeader()
109 BinaryStreamReader &Reader) { in readGSIHashRecords()
132 BinaryStreamReader &Reader) { in readGSIHashBuckets()
171 Error GSIHashTable::read(BinaryStreamReader &Reader) { in read()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DPDBStringTable.cpp27 Error PDBStringTable::readHeader(BinaryStreamReader &Reader) { in readHeader()
42 Error PDBStringTable::readStrings(BinaryStreamReader &Reader) { in readStrings()
62 Error PDBStringTable::readHashTable(BinaryStreamReader &Reader) { in readHashTable()
76 Error PDBStringTable::readEpilogue(BinaryStreamReader &Reader) { in readEpilogue()
84 Error PDBStringTable::reload(BinaryStreamReader &Reader) { in reload()
DGlobalsStream.cpp41 BinaryStreamReader Reader(*Stream); in reload() local
94 BinaryStreamReader &Reader) { in readGSIHashHeader()
109 BinaryStreamReader &Reader) { in readGSIHashRecords()
132 BinaryStreamReader &Reader) { in readGSIHashBuckets()
171 Error GSIHashTable::read(BinaryStreamReader &Reader) { in read()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DRecordSerialization.h46 inline Error consume(BinaryStreamReader &Reader) { return Error::success(); } in consume()
69 template <typename T> Error consume(BinaryStreamReader &Reader, T *&Item) { in consume()
186 Error consume(BinaryStreamReader &Reader, in consume()
192 Error consume(BinaryStreamReader &Reader, in consume()
197 inline Error consume(BinaryStreamReader &Reader, in consume()
203 Error consume(BinaryStreamReader &Reader, in consume()
209 Error consume(BinaryStreamReader &Reader, in consume()
215 Error consume(BinaryStreamReader &Reader, in consume()
221 Error consume(BinaryStreamReader &Reader, T &&X, U &&Y, Args &&... Rest) { in consume()
/external/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
DRecordSerialization.h46 inline Error consume(BinaryStreamReader &Reader) { return Error::success(); } in consume()
69 template <typename T> Error consume(BinaryStreamReader &Reader, T *&Item) { in consume()
186 Error consume(BinaryStreamReader &Reader, in consume()
192 Error consume(BinaryStreamReader &Reader, in consume()
197 inline Error consume(BinaryStreamReader &Reader, in consume()
203 Error consume(BinaryStreamReader &Reader, in consume()
209 Error consume(BinaryStreamReader &Reader, in consume()
215 Error consume(BinaryStreamReader &Reader, in consume()
221 Error consume(BinaryStreamReader &Reader, T &&X, U &&Y, Args &&... Rest) { in consume()
/external/clang/lib/Serialization/
DASTReaderInternals.h42 ASTReader &Reader; variable
82 explicit ASTDeclContextNameLookupTrait(ASTReader &Reader, ModuleFile &F) in ASTDeclContextNameLookupTrait()
166 ASTReader &Reader; variable
179 : Reader(Reader), F(F), KnownII(II) { } in Reader() argument
198 ASTReader &Reader; variable
217 ASTSelectorLookupTrait(ASTReader &Reader, ModuleFile &F) in ASTSelectorLookupTrait()
251 ASTReader &Reader; variable
271 HeaderFileInfoTrait(ASTReader &Reader, ModuleFile &M, HeaderSearch *HS, in HeaderFileInfoTrait()
/external/llvm-project/clang/lib/Serialization/
DASTReaderInternals.h45 ASTReader &Reader; variable
87 explicit ASTDeclContextNameLookupTrait(ASTReader &Reader, ModuleFile &F) in ASTDeclContextNameLookupTrait()
160 ASTReader &Reader; variable
173 : Reader(Reader), F(F), KnownII(II) {} in Reader() function
192 ASTReader &Reader; variable
211 ASTSelectorLookupTrait(ASTReader &Reader, ModuleFile &F) in ASTSelectorLookupTrait()
245 ASTReader &Reader; variable
266 HeaderFileInfoTrait(ASTReader &Reader, ModuleFile &M, HeaderSearch *HS, in HeaderFileInfoTrait()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DRecordSerialization.cpp36 Error llvm::codeview::consume(BinaryStreamReader &Reader, APSInt &Num) { in consume()
114 Error llvm::codeview::consume_numeric(BinaryStreamReader &Reader, in consume_numeric()
126 Error llvm::codeview::consume(BinaryStreamReader &Reader, uint32_t &Item) { in consume()
139 Error llvm::codeview::consume(BinaryStreamReader &Reader, int32_t &Item) { in consume()
143 Error llvm::codeview::consume(BinaryStreamReader &Reader, StringRef &Item) { in consume()
DDebugCrossImpSubsection.cpp28 BinaryStreamReader Reader(Stream); in operator ()() local
45 BinaryStreamReader Reader) { in initialize()
50 BinaryStreamReader Reader(Stream); in initialize() local
DDebugCrossExSubsection.cpp19 BinaryStreamReader Reader) { in initialize()
30 BinaryStreamReader Reader(Stream); in initialize() local
DDebugChecksumsSubsection.cpp36 BinaryStreamReader Reader(Stream); in operator ()() local
51 Error DebugChecksumsSubsectionRef::initialize(BinaryStreamReader Reader) { in initialize()
59 BinaryStreamReader Reader(Section); in initialize() local
DDebugFrameDataSubsection.cpp15 Error DebugFrameDataSubsectionRef::initialize(BinaryStreamReader Reader) { in initialize()
32 BinaryStreamReader Reader(Section); in initialize() local
/external/llvm-project/llvm/lib/DebugInfo/CodeView/
DRecordSerialization.cpp36 Error llvm::codeview::consume(BinaryStreamReader &Reader, APSInt &Num) { in consume()
114 Error llvm::codeview::consume_numeric(BinaryStreamReader &Reader, in consume_numeric()
126 Error llvm::codeview::consume(BinaryStreamReader &Reader, uint32_t &Item) { in consume()
139 Error llvm::codeview::consume(BinaryStreamReader &Reader, int32_t &Item) { in consume()
143 Error llvm::codeview::consume(BinaryStreamReader &Reader, StringRef &Item) { in consume()
DDebugCrossImpSubsection.cpp28 BinaryStreamReader Reader(Stream); in operator ()() local
45 BinaryStreamReader Reader) { in initialize()
50 BinaryStreamReader Reader(Stream); in initialize() local
DDebugCrossExSubsection.cpp19 BinaryStreamReader Reader) { in initialize()
30 BinaryStreamReader Reader(Stream); in initialize() local
DDebugChecksumsSubsection.cpp36 BinaryStreamReader Reader(Stream); in operator ()() local
51 Error DebugChecksumsSubsectionRef::initialize(BinaryStreamReader Reader) { in initialize()
59 BinaryStreamReader Reader(Section); in initialize() local
/external/openscreen/osp/go/
Dbinary.go21 func ReadVaruint(r io.Reader) (uint64, error) {
83 func readByte(r io.Reader) (byte, error) {
91 func readBytes(r io.Reader, b []byte) error {
/external/rust/crates/csv-core/src/
Dreader.rs96 pub struct Reader { struct
98 dfa: Dfa,
100 dfa_state: DfaState,
102 nfa_state: NfaState,
104 delimiter: u8,
106 term: Terminator,
131 impl Default for Reader { argument
169 pub fn build(&self) -> Reader { in build()
476 impl Reader { impl
1403 fn parse_by_field(rdr: &mut Reader, data: &str) -> Csv { in parse_by_field()
[all …]
/external/llvm-project/llvm/unittests/Support/
DBinaryStreamTest.cpp273 BinaryStreamReader Reader(Stream); in TEST_F() local
508 BinaryStreamReader Reader(*Stream.Input); in TEST_F() local
517 BinaryStreamReader Reader(*Stream.Input); in TEST_F() local
551 BinaryStreamReader Reader(*Stream.Input); in TEST_F() local
575 BinaryStreamReader Reader(*Stream.Input); in TEST_F() local
601 BinaryStreamReader Reader(*Stream.Input); in TEST_F() local
637 BinaryStreamReader Reader(*Stream.Input); in TEST_F() local
674 BinaryStreamReader Reader(*Stream.Input); in TEST_F() local
707 BinaryStreamReader Reader(*Stream.Input); in TEST_F() local
728 BinaryStreamReader Reader(*Stream.Input); in TEST_F() local
[all …]

12345678910>>...12