Lines Matching refs:buffer_capacity
40 FileInputStream::FileInputStream(const std::string& path, size_t buffer_capacity) in FileInputStream() argument
41 : should_close_(true), buffer_capacity_(buffer_capacity) { in FileInputStream()
51 FileInputStream::FileInputStream(int fd, size_t buffer_capacity) in FileInputStream() argument
52 : fd_(fd), should_close_(true), buffer_capacity_(buffer_capacity) { in FileInputStream()
60 FileInputStream::FileInputStream(android::base::borrowed_fd fd, size_t buffer_capacity) in FileInputStream() argument
61 : fd_(fd.get()), should_close_(false), buffer_capacity_(buffer_capacity) { in FileInputStream()
131 FileOutputStream::FileOutputStream(const std::string& path, size_t buffer_capacity) in FileOutputStream() argument
132 : buffer_capacity_(buffer_capacity) { in FileOutputStream()
143 FileOutputStream::FileOutputStream(unique_fd fd, size_t buffer_capacity) in FileOutputStream() argument
144 : FileOutputStream(fd.get(), buffer_capacity) { in FileOutputStream()
148 FileOutputStream::FileOutputStream(int fd, size_t buffer_capacity) in FileOutputStream() argument
149 : fd_(fd), buffer_capacity_(buffer_capacity) { in FileOutputStream()