Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DFileStream.cpp40 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()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DFileStream.h34 size_t buffer_capacity = kDefaultBufferCapacity);
37 explicit FileInputStream(int fd, size_t buffer_capacity = kDefaultBufferCapacity);
41 size_t buffer_capacity = kDefaultBufferCapacity);
77 size_t buffer_capacity = kDefaultBufferCapacity);
80 explicit FileOutputStream(int fd, size_t buffer_capacity = kDefaultBufferCapacity);
84 size_t buffer_capacity = kDefaultBufferCapacity);
/frameworks/base/tools/aapt2/io/
DStringStream.cpp71 StringOutputStream::StringOutputStream(std::string* str, size_t buffer_capacity) in StringOutputStream() argument
73 buffer_capacity_(buffer_capacity), in StringOutputStream()
75 buffer_(new char[buffer_capacity]) { in StringOutputStream()
DStringStream.h60 explicit StringOutputStream(std::string* str, size_t buffer_capacity = 4096u);
/frameworks/proto_logging/stats/
Datoms.proto19507 optional int32 buffer_capacity = 5; field