Home
last modified time | relevance | path

Searched refs:buf_read (Results 1 – 20 of 20) sorted by relevance

/external/rust/crates/protobuf/src/
Dbuf_read_iter.rs65 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()
357 InputSource::Read(ref mut buf_read) => { in read_exact()
358 buf_read.consume(consume); in read_exact()
359 buf_read.read_exact(buf)?; in read_exact()
361 InputSource::BufRead(ref mut buf_read) => { in read_exact()
362 buf_read.consume(consume); in read_exact()
363 buf_read.read_exact(buf)?; in read_exact()
393 InputSource::Read(ref mut buf_read) => { in do_fill_buf()
[all …]
Dcoded_input_stream.rs51 pub fn from_buffered_reader(buf_read: &'a mut dyn BufRead) -> CodedInputStream<'a> { in from_buffered_reader()
52 CodedInputStream::from_buf_read_iter(BufReadIter::from_buf_read(buf_read)) in from_buffered_reader()
/external/ltp/testcases/kernel/io/writetest/
Dwritetest.c117 char buf_read[BLOCKSIZE]; in verify_file() local
133 rv = read(fd, buf_read, BLOCKSIZE); in verify_file()
141 br = buf_read[n] & 0xff; in verify_file()
/external/rust/crates/bytes/tests/
Dtest_reader.rs19 fn buf_read() { in buf_read() function
/external/libvpx/libvpx/
Divfdec.c66 input_ctx->detect.buf_read = 0; in file_is_ivf()
Dtools_common.h79 size_t buf_read; member
Dtools_common.c119 const size_t left = detect->buf_read - detect->position; in read_yuv_frame()
326 input->detect.buf_read = fread(input->detect.buf, 1, 4, input->file); in open_input_file()
329 if (input->detect.buf_read == 4 && file_is_y4m(input->detect.buf)) { in open_input_file()
344 } else if (input->detect.buf_read == 4 && fourcc_is_ivf(input->detect.buf)) { in open_input_file()
/external/libaom/libaom/common/
Divfdec.c57 input_ctx->detect.buf_read = 0; in file_is_ivf()
Dtools_common.h93 size_t buf_read; member
Dtools_common.c112 const size_t left = detect->buf_read - detect->position; in read_yuv_frame()
/external/rust/crates/flate2/src/gz/
Dmod.rs183 read::gz_encoder(self.buf_read(BufReader::new(r), lvl)) in read()
190 pub fn buf_read<R>(self, r: R, lvl: Compression) -> bufread::GzEncoder<R> in buf_read() method
Dbufread.rs177 GzBuilder::new().buf_read(r, level) in new()
/external/mtools/
Dbuffer.c137 static int buf_read(Stream_t *Stream, char *buf, mt_off_t start, size_t len) in buf_read() function
327 buf_read,
Dfloppyd.c154 static size_t buf_read (io_buffer buf, Byte* buffer, size_t nbytes) { in buf_read() function
224 size_t buf_read (io_buffer handle, Byte* buffer, size_t nbytes) { in buf_read() function
251 if (buf_read(fp, val, 4) < 4) { in read_dword()
343 l = buf_read(fp, packet->data+start, length-start); in recv_packet()
/external/grpc-grpc/third_party/nanopb/
Dpb_decode.c26 static bool checkreturn buf_read(pb_istream_t *stream, pb_byte_t *buf, size_t count);
76 static bool checkreturn buf_read(pb_istream_t *stream, pb_byte_t *buf, size_t count) in buf_read() function
93 if (buf == NULL && stream->callback != buf_read) in pb_read()
116 if (!buf_read(stream, buf, count)) in pb_read()
157 stream.callback = &buf_read; in pb_istream_from_buffer()
/external/nanopb-c/
Dpb_decode.c26 static bool checkreturn buf_read(pb_istream_t *stream, pb_byte_t *buf, size_t count);
85 static bool checkreturn buf_read(pb_istream_t *stream, pb_byte_t *buf, size_t count) in buf_read() function
103 if (buf == NULL && stream->callback != buf_read) in pb_read()
126 if (!buf_read(stream, buf, count)) in pb_read()
167 stream.callback = &buf_read; in pb_istream_from_buffer()
/external/libaom/libaom/examples/
Dsvc_encoder_rtc.c121 input->detect.buf_read = fread(input->detect.buf, 1, 4, input->file); in open_input_file()
124 if (input->detect.buf_read == 4 && file_is_y4m(input->detect.buf)) { in open_input_file()
139 } else if (input->detect.buf_read == 4 && fourcc_is_ivf(input->detect.buf)) { in open_input_file()
/external/zlib/contrib/minizip/
Dzip.c815 void* buf_read = (void*)ALLOC(buf_size); in LoadCentralDirectoryRecord() local
825 if (ZREAD64(pziinit->z_filefunc, pziinit->filestream,buf_read,(uLong)read_this) != read_this) in LoadCentralDirectoryRecord()
829 err = add_data_in_datablock(&pziinit->central_dir,buf_read, (uLong)read_this); in LoadCentralDirectoryRecord()
833 TRYFREE(buf_read); in LoadCentralDirectoryRecord()
/external/rust/crates/libz-sys/src/zlib/contrib/minizip/
Dzip.c815 void* buf_read = (void*)ALLOC(buf_size); in LoadCentralDirectoryRecord() local
825 if (ZREAD64(pziinit->z_filefunc, pziinit->filestream,buf_read,(uLong)read_this) != read_this) in LoadCentralDirectoryRecord()
829 err = add_data_in_datablock(&pziinit->central_dir,buf_read, (uLong)read_this); in LoadCentralDirectoryRecord()
833 TRYFREE(buf_read); in LoadCentralDirectoryRecord()
/external/libaom/libaom/apps/
Daomenc.c1290 input->detect.buf_read = fread(input->detect.buf, 1, 4, input->file); in open_input_file()
1293 if (input->detect.buf_read == 4 && file_is_y4m(input->detect.buf)) { in open_input_file()
1307 } else if (input->detect.buf_read == 4 && fourcc_is_ivf(input->detect.buf)) { in open_input_file()