/external/rust/crates/protobuf/src/ |
D | buf_read_iter.rs | 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() 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 …]
|
D | coded_input_stream.rs | 51 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/ |
D | writetest.c | 117 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/ |
D | test_reader.rs | 19 fn buf_read() { in buf_read() function
|
/external/libvpx/libvpx/ |
D | ivfdec.c | 66 input_ctx->detect.buf_read = 0; in file_is_ivf()
|
D | tools_common.h | 79 size_t buf_read; member
|
D | tools_common.c | 119 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/ |
D | ivfdec.c | 57 input_ctx->detect.buf_read = 0; in file_is_ivf()
|
D | tools_common.h | 93 size_t buf_read; member
|
D | tools_common.c | 112 const size_t left = detect->buf_read - detect->position; in read_yuv_frame()
|
/external/rust/crates/flate2/src/gz/ |
D | mod.rs | 183 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
|
D | bufread.rs | 177 GzBuilder::new().buf_read(r, level) in new()
|
/external/mtools/ |
D | buffer.c | 137 static int buf_read(Stream_t *Stream, char *buf, mt_off_t start, size_t len) in buf_read() function 327 buf_read,
|
D | floppyd.c | 154 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/ |
D | pb_decode.c | 26 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/ |
D | pb_decode.c | 26 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/ |
D | svc_encoder_rtc.c | 121 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/ |
D | zip.c | 815 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/ |
D | zip.c | 815 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/ |
D | aomenc.c | 1290 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()
|