Searched refs:buffer_capacity_ (Results 1 – 4 of 4) sorted by relevance
41 : buffer_capacity_(buffer_capacity) { in FileInputStream()47 buffer_.reset(new uint8_t[buffer_capacity_]); in FileInputStream()52 : fd_(fd), buffer_capacity_(buffer_capacity) { in FileInputStream()56 buffer_.reset(new uint8_t[buffer_capacity_]); in FileInputStream()74 ssize_t n = TEMP_FAILURE_RETRY(read(fd_, buffer_.get(), buffer_capacity_)); in Next()112 : buffer_capacity_(buffer_capacity) { in FileOutputStream()119 buffer_.reset(new uint8_t[buffer_capacity_]); in FileOutputStream()129 : fd_(fd), buffer_capacity_(buffer_capacity) { in FileOutputStream()133 buffer_.reset(new uint8_t[buffer_capacity_]); in FileOutputStream()147 if (buffer_offset_ == buffer_capacity_) { in Next()[all …]
56 buffer_capacity_(buffer_capacity), in StringOutputStream()66 if (buffer_offset_ == buffer_capacity_) { in Next()71 *size = buffer_capacity_ - buffer_offset_; in Next()72 buffer_offset_ = buffer_capacity_; in Next()
57 size_t buffer_capacity_ = 0u; variable99 size_t buffer_capacity_ = 0u; variable
85 size_t buffer_capacity_; variable