Searched refs:buffer_capacity (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tools/aapt2/io/ |
D | FileStream.cpp | 40 FileInputStream::FileInputStream(const std::string& path, size_t buffer_capacity) in FileInputStream() argument 41 : buffer_capacity_(buffer_capacity) { in FileInputStream() 51 FileInputStream::FileInputStream(int fd, size_t buffer_capacity) in FileInputStream() argument 52 : fd_(fd), buffer_capacity_(buffer_capacity) { in FileInputStream() 111 FileOutputStream::FileOutputStream(const std::string& path, size_t buffer_capacity) in FileOutputStream() argument 112 : buffer_capacity_(buffer_capacity) { in FileOutputStream() 123 FileOutputStream::FileOutputStream(unique_fd fd, size_t buffer_capacity) in FileOutputStream() argument 124 : FileOutputStream(fd.get(), buffer_capacity) { in FileOutputStream() 128 FileOutputStream::FileOutputStream(int fd, size_t buffer_capacity) in FileOutputStream() argument 129 : fd_(fd), buffer_capacity_(buffer_capacity) { in FileOutputStream()
|
D | FileStream.h | 36 size_t buffer_capacity = kDefaultBufferCapacity); 39 explicit FileInputStream(int fd, size_t buffer_capacity = kDefaultBufferCapacity); 66 size_t buffer_capacity = kDefaultBufferCapacity); 69 explicit FileOutputStream(int fd, size_t buffer_capacity = kDefaultBufferCapacity); 73 size_t buffer_capacity = kDefaultBufferCapacity);
|
D | StringStream.cpp | 54 StringOutputStream::StringOutputStream(std::string* str, size_t buffer_capacity) in StringOutputStream() argument 56 buffer_capacity_(buffer_capacity), in StringOutputStream() 58 buffer_(new char[buffer_capacity]) { in StringOutputStream()
|
D | StringStream.h | 59 explicit StringOutputStream(std::string* str, size_t buffer_capacity = 4096u);
|