Searched refs:buffer_capacity (Results 1 – 8 of 8) sorted by relevance
/external/libaom/libaom/common/ |
D | obudec.c | 69 static int obudec_read_obu_header(FILE *f, size_t buffer_capacity, in obudec_read_obu_header() argument 72 if (!f || buffer_capacity < (OBU_HEADER_SIZE + OBU_EXTENSION_SIZE) || in obudec_read_obu_header() 121 static int obudec_read_obu_header_and_size(FILE *f, size_t buffer_capacity, in obudec_read_obu_header_and_size() argument 128 buffer_capacity < kMinimumBufferSize) { in obudec_read_obu_header_and_size() 150 if (obudec_read_obu_header(f, buffer_capacity - leb128_length_obu, is_annexb, in obudec_read_obu_header_and_size() 343 obu_ctx->buffer_capacity = OBU_BUFFER_SIZE; in file_is_obu() 350 if (payload_length > (obu_ctx->buffer_capacity - bytes_read)) { in file_is_obu() 420 &obu_ctx->buffer_capacity, &obu_size, &obu_header, in obudec_read_temporal_unit()
|
D | obudec.h | 23 size_t buffer_capacity; member
|
/external/libchrome/mojo/core/ |
D | channel_posix.cc | 447 size_t buffer_capacity = 0; in OnFileCanReadWithoutBlocking() local 451 buffer_capacity = next_read_size; in OnFileCanReadWithoutBlocking() 452 char* buffer = GetReadBuffer(&buffer_capacity); in OnFileCanReadWithoutBlocking() 453 DCHECK_GT(buffer_capacity, 0u); in OnFileCanReadWithoutBlocking() 457 SocketRecvmsg(socket_.get(), buffer, buffer_capacity, &incoming_fds); in OnFileCanReadWithoutBlocking() 474 } while (bytes_read == buffer_capacity && in OnFileCanReadWithoutBlocking()
|
D | channel_unittest.cc | 24 char* GetReadBufferTest(size_t* buffer_capacity) { in GetReadBufferTest() argument 25 return GetReadBuffer(buffer_capacity); in GetReadBufferTest()
|
D | channel.cc | 612 char* Channel::GetReadBuffer(size_t* buffer_capacity) { in GetReadBuffer() argument 614 size_t required_capacity = *buffer_capacity; in GetReadBuffer() 618 *buffer_capacity = required_capacity; in GetReadBuffer()
|
D | channel.h | 311 char* GetReadBuffer(size_t* buffer_capacity);
|
/external/rust/crates/csv/src/ |
D | writer.rs | 475 pub fn buffer_capacity(&mut self, capacity: usize) -> &mut WriterBuilder { in buffer_capacity() method 1345 WriterBuilder::new().buffer_capacity(4).from_writer(underlying); in full_buffer_should_not_flush_underlying()
|
D | reader.rs | 613 pub fn buffer_capacity(&mut self, capacity: usize) -> &mut ReaderBuilder { in buffer_capacity() method
|