Lines Matching refs:buffer_
47 buffer_.reset(new uint8_t[buffer_capacity_]); in FileInputStream()
56 buffer_.reset(new uint8_t[buffer_capacity_]); in FileInputStream()
67 *data = buffer_.get() + buffer_offset_; in Next()
74 ssize_t n = TEMP_FAILURE_RETRY(read(fd_, buffer_.get(), buffer_capacity_)); in Next()
78 buffer_.reset(); in Next()
86 *data = buffer_.get(); in Next()
119 buffer_.reset(new uint8_t[buffer_capacity_]); in FileOutputStream()
133 buffer_.reset(new uint8_t[buffer_capacity_]); in FileOutputStream()
154 *data = buffer_.get() + buffer_offset_; in Next()
181 ssize_t n = TEMP_FAILURE_RETRY(write(fd_, buffer_.get(), buffer_offset_)); in FlushImpl()
186 buffer_.reset(); in FlushImpl()