Home
last modified time | relevance | path

Searched refs:BufRead (Results 1 – 25 of 53) sorted by relevance

123

/external/rust/crates/flate2/src/zlib/
Dbufread.rs46 impl<R: BufRead> ZlibEncoder<R> {
109 impl<R: BufRead> Read for ZlibEncoder<R> {
116 impl<R: AsyncRead + BufRead> AsyncRead for ZlibEncoder<R> {}
118 impl<R: BufRead + Write> Write for ZlibEncoder<R> {
129 impl<R: AsyncWrite + BufRead> AsyncWrite for ZlibEncoder<R> {
174 impl<R: BufRead> ZlibDecoder<R> {
234 impl<R: BufRead> Read for ZlibDecoder<R> {
241 impl<R: AsyncRead + BufRead> AsyncRead for ZlibDecoder<R> {}
243 impl<R: BufRead + Write> Write for ZlibDecoder<R> {
254 impl<R: AsyncWrite + BufRead> AsyncWrite for ZlibDecoder<R> {
/external/rust/crates/flate2/src/deflate/
Dbufread.rs50 impl<R: BufRead> DeflateEncoder<R> {
113 impl<R: BufRead> Read for DeflateEncoder<R> {
120 impl<R: AsyncRead + BufRead> AsyncRead for DeflateEncoder<R> {}
122 impl<W: BufRead + Write> Write for DeflateEncoder<W> {
133 impl<R: AsyncWrite + BufRead> AsyncWrite for DeflateEncoder<R> {
180 impl<R: BufRead> DeflateDecoder<R> {
244 impl<R: BufRead> Read for DeflateDecoder<R> {
251 impl<R: AsyncRead + BufRead> AsyncRead for DeflateDecoder<R> {}
253 impl<W: BufRead + Write> Write for DeflateDecoder<W> {
264 impl<R: AsyncWrite + BufRead> AsyncWrite for DeflateDecoder<R> {
/external/oss-fuzz/projects/image-png/
Dbuf_independent.rs6 use std::io::{BufRead, Read, Result};
9 struct SmalBuf<R: BufRead> {
14 impl<R: BufRead> SmalBuf<R> {
20 impl<R: BufRead> Read for SmalBuf<R> {
27 impl<R: BufRead> BufRead for SmalBuf<R> {
51 fn png_compare<R: BufRead, S: BufRead>(reference: png::Decoder<R>, smal: png::Decoder<S>) in png_compare() argument
/external/rust/crates/flate2/src/gz/
Dbufread.rs158 pub fn gz_encoder<R: BufRead>(header: Vec<u8>, r: R, lvl: Compression) -> GzEncoder<R> { in gz_encoder()
168 impl<R: BufRead> GzEncoder<R> {
232 impl<R: BufRead> Read for GzEncoder<R> {
256 impl<R: BufRead + Write> Write for GzEncoder<R> {
351 impl<R: BufRead> GzDecoder<R> {
411 impl<R: BufRead> Read for GzDecoder<R> {
521 impl<R: AsyncRead + BufRead> AsyncRead for GzDecoder<R> {}
523 impl<R: BufRead + Write> Write for GzDecoder<R> {
534 impl<R: AsyncWrite + BufRead> AsyncWrite for GzDecoder<R> {
583 impl<R: BufRead> MultiGzDecoder<R> {
[all …]
/external/python/cpython2/Misc/Vim/
Dvimrc20 au BufRead,BufNewFile *py,*pyw,*.c,*.h set tabstop=8
26 au BufRead,BufNewFile *.py,*pyw set shiftwidth=4
27 au BufRead,BufNewFile *.py,*.pyw set expandtab
37 au BufRead,BufNewFile *.c,*.h call Select_c_style()
38 au BufRead,BufNewFile Makefile* set noexpandtab
44 au BufRead,BufNewFile *.py,*.pyw match BadWhitespace /^\t\+/
46 au BufRead,BufNewFile *.py,*.pyw,*.c,*.h match BadWhitespace /\s\+$/
51 au BufRead,BufNewFile *.py,*.pyw,*.c,*.h set textwidth=79
60 au BufRead,BufNewFile *.c,*.h set formatoptions-=c formatoptions-=o formatoptions-=r
/external/rust/crates/protobuf/src/
Dbuf_read_iter.rs2 use std::io::BufRead;
32 BufRead(&'a mut dyn BufRead), enumerator
65 InputSource::BufRead(ref mut buf_read) => buf_read.consume(self.pos_within_buf), in drop()
89 pub fn from_buf_read<'a>(buf_read: &'a mut dyn BufRead) -> BufReadIter<'a> { in from_buf_read()
91 input_source: InputSource::BufRead(buf_read), in from_buf_read()
361 InputSource::BufRead(ref mut buf_read) => { in read_exact()
397 InputSource::BufRead(ref mut buf_read) => { in do_fill_buf()
472 use std::io::BufRead;
487 impl BufRead for Read5ThenPanic { in eof_at_limit()
Dcoded_input_stream.rs6 use std::io::BufRead;
51 pub fn from_buffered_reader(buf_read: &'a mut dyn BufRead) -> CodedInputStream<'a> { in from_buffered_reader()
723 impl<'a> BufRead for CodedInputStream<'a> {
753 impl<'a> WithCodedInputStream for &'a mut (dyn BufRead + 'a) {
795 use std::io::BufRead;
811 let mut is = CodedInputStream::from_buffered_reader(&mut reader as &mut dyn BufRead); in test_read_partial()
971 BufRead::fill_buf(is).expect("io::BufRead::fill_buf"), in test_input_stream_io_bufread()
974 BufRead::consume(is, 3); in test_input_stream_io_bufread()
/external/rust/crates/bstr/src/
Dio.rs18 pub trait BufReadExt: io::BufRead {
344 impl<B: io::BufRead> BufReadExt for B {}
377 impl<B: io::BufRead> Iterator for ByteLines<B> {
393 impl<B: io::BufRead> Iterator for ByteRecords<B> {
/external/rust/crates/tokio/src/io/
Dasync_buf_read.rs111 Poll::Ready(io::BufRead::fill_buf(self.get_mut())) in poll_fill_buf()
115 io::BufRead::consume(self.get_mut(), amt) in consume()
/external/rust/crates/futures-util/src/io/
Dallow_std.rs159 impl<T> io::BufRead for AllowStdIo<T> where T: io::BufRead {
168 impl<T> AsyncBufRead for AllowStdIo<T> where T: io::BufRead {
Dcursor.rs192 Poll::Ready(io::BufRead::fill_buf(&mut self.get_mut().inner)) in poll_fill_buf()
196 io::BufRead::consume(&mut self.inner, amt) in consume()
/external/rust/crates/flate2/src/
Dcrc.rs110 impl<R: BufRead> BufRead for CrcReader<R> {
/external/llvm/utils/vim/
Dvimrc34 au BufRead,BufNewFile * syntax match LongLine /\%>80v.\+/
62 au! BufRead,BufNewFile *Makefile* set filetype=make
79 au! BufRead,BufNewFile *.ll set filetype=llvm
85 au! BufRead,BufNewFile *.td set filetype=tablegen
92 au! BufRead,BufNewFile *.rst set filetype=rest
/external/llvm-project/llvm/utils/vim/
Dvimrc34 au BufRead,BufNewFile * syntax match LongLine /\%>80v.\+/
62 au! BufRead,BufNewFile *Makefile* set filetype=make
79 au! BufRead,BufNewFile *.ll set filetype=llvm
85 au! BufRead,BufNewFile *.td set filetype=tablegen
92 au! BufRead,BufNewFile *.rst set filetype=rest
/external/llvm/utils/vim/ftdetect/
Dllvm.vim1 au BufRead,BufNewFile *.ll set filetype=llvm
Dtablegen.vim1 au BufRead,BufNewFile *.td set filetype=tablegen
Dllvm-lit.vim1 au BufRead,BufNewFile lit.*cfg set filetype=python
/external/llvm-project/mlir/utils/vim/ftdetect/
Dmlir.vim1 au BufRead,BufNewFile *.mlir set filetype=mlir
/external/llvm-project/llvm/utils/vim/ftdetect/
Dtablegen.vim1 au BufRead,BufNewFile *.td set filetype=tablegen
Dllvm.vim1 au BufRead,BufNewFile *.ll set filetype=llvm
Dllvm-lit.vim1 au BufRead,BufNewFile lit.*cfg set filetype=python
/external/rust/crates/bstr/examples/
Dwords-std.rs4 use std::io::{self, BufRead};
Duppercase-std.rs2 use std::io::{self, BufRead, Write};
Dlines-std.rs2 use std::io::{self, BufRead, Write};
/external/rust/crates/bytes/tests/
Dtest_reader.rs4 use std::io::{BufRead, Read};

123