Home
last modified time | relevance | path

Searched refs:buffer_capacity (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/aapt2/io/
DFileStream.cpp40 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()
DFileStream.h36 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);
DStringStream.cpp54 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()
DStringStream.h59 explicit StringOutputStream(std::string* str, size_t buffer_capacity = 4096u);