/frameworks/base/tools/aapt2/util/ |
D | BigBuffer.h | 37 class BigBuffer { 55 friend class BigBuffer; 69 explicit BigBuffer(size_t block_size); 71 BigBuffer(BigBuffer&& rhs) noexcept; 103 void AppendBuffer(BigBuffer&& buffer); 123 DISALLOW_COPY_AND_ASSIGN(BigBuffer); 136 inline BigBuffer::BigBuffer(size_t block_size) in BigBuffer() function 139 inline BigBuffer::BigBuffer(BigBuffer&& rhs) noexcept in BigBuffer() function 144 inline size_t BigBuffer::size() const { return size_; } in size() 146 inline size_t BigBuffer::block_size() const { return block_size_; } in block_size() [all …]
|
D | BigBuffer_test.cpp | 26 BigBuffer buffer(4); in TEST() 33 BigBuffer buffer(16); in TEST() 45 BigBuffer buffer(16); in TEST() 52 BigBuffer buffer(16); in TEST() 59 BigBuffer buffer2(16); in TEST() 86 BigBuffer buffer(16); in TEST()
|
D | BigBuffer.cpp | 27 void* BigBuffer::NextBlockImpl(size_t size) { in NextBlockImpl() 54 void* BigBuffer::NextBlock(size_t* out_size) { in NextBlock() 79 std::string BigBuffer::to_string() const { in to_string()
|
D | Util.h | 215 bool WriteAll(std::ostream& out, const BigBuffer& buffer); 218 std::unique_ptr<uint8_t[]> Copy(const BigBuffer& buffer);
|
D | Util.cpp | 447 bool WriteAll(std::ostream& out, const BigBuffer& buffer) { in WriteAll() 456 std::unique_ptr<uint8_t[]> Copy(const BigBuffer& buffer) { in Copy()
|
/frameworks/base/tools/aapt2/io/ |
D | BigBufferStream.h | 28 inline explicit BigBufferInputStream(const BigBuffer* buffer) in BigBufferInputStream() 50 const BigBuffer* buffer_; 51 BigBuffer::const_iterator iter_; 58 inline explicit BigBufferOutputStream(BigBuffer* buffer) : buffer_(buffer) { in BigBufferOutputStream() 73 BigBuffer* buffer_;
|
/frameworks/base/tools/aapt2/ |
D | StringPool_test.cpp | 206 BigBuffer buffer(1024); in TEST() 220 BigBuffer buffer(1024); in TEST() 261 BigBuffer buffers[2] = {BigBuffer(1024), BigBuffer(1024)}; in TEST() 266 for (const BigBuffer& buffer : buffers) { in TEST() 314 BigBuffer buffer(1024); in TEST() 345 BigBuffer buffers[2] = {BigBuffer(1024), BigBuffer(1024)}; in TEST() 364 BigBuffer buffers2[2] = {BigBuffer(1024), BigBuffer(1024)}; in TEST()
|
D | StringPool.h | 156 static bool FlattenUtf8(BigBuffer* out, const StringPool& pool, IDiagnostics* diag); 157 static bool FlattenUtf16(BigBuffer* out, const StringPool& pool, IDiagnostics* diag); 211 static bool Flatten(BigBuffer* out, const StringPool& pool, bool utf8, IDiagnostics* diag);
|
D | StringPool.cpp | 367 static bool EncodeString(const std::string& str, const bool utf8, BigBuffer* out, in EncodeString() 434 bool StringPool::Flatten(BigBuffer* out, const StringPool& pool, bool utf8, in Flatten() 503 bool StringPool::FlattenUtf8(BigBuffer* out, const StringPool& pool, IDiagnostics* diag) { in FlattenUtf8() 507 bool StringPool::FlattenUtf16(BigBuffer* out, const StringPool& pool, IDiagnostics* diag) { in FlattenUtf16()
|
D | LoadedApk.cpp | 253 BigBuffer buffer(4096); in WriteToArchive() 279 BigBuffer buffer(8192); in WriteToArchive()
|
D | Android.bp | 129 "util/BigBuffer.cpp",
|
/frameworks/base/tools/aapt2/format/binary/ |
D | ChunkWriter.h | 30 explicit inline ChunkWriter(BigBuffer* buffer) : buffer_(buffer) { in ChunkWriter() 50 inline BigBuffer* buffer() { in buffer() 71 BigBuffer* buffer_;
|
D | XmlFlattener.h | 39 XmlFlattener(BigBuffer* buffer, XmlFlattenerOptions options) in XmlFlattener() 50 BigBuffer* buffer_;
|
D | TableFlattener.h | 53 explicit TableFlattener(const TableFlattenerOptions& options, BigBuffer* buffer) in TableFlattener() 63 BigBuffer* buffer_;
|
D | TableFlattener.cpp | 86 MapFlattenVisitor(ResTable_entry_ext* out_entry, BigBuffer* buffer) in MapFlattenVisitor() 217 BigBuffer* buffer_; 241 bool FlattenPackage(BigBuffer* buffer) { in FlattenPackage() 262 BigBuffer type_buffer(1024); in FlattenPackage() 291 T* WriteEntry(FlatEntry* entry, BigBuffer* buffer) { in WriteEntry() 316 bool FlattenValue(FlatEntry* entry, BigBuffer* buffer) { in FlattenValue() 333 BigBuffer* buffer) { in FlattenConfig() 346 BigBuffer values_buffer(512); in FlattenConfig() 429 bool FlattenOverlayable(BigBuffer* buffer) { in FlattenOverlayable() 567 BigBuffer* buffer) { in FlattenTypeSpec() [all …]
|
D | XmlFlattener.cpp | 77 XmlFlattenerVisitor(BigBuffer* buffer, XmlFlattenerOptions options) in XmlFlattenerVisitor() 306 BigBuffer* buffer_; 316 BigBuffer node_buffer(1024); in Flatten()
|
D | XmlFlattener_test.cpp | 62 BigBuffer buffer(1024);
|
/frameworks/base/tools/aapt2/compile/ |
D | Png.h | 48 bool process(const Source& source, std::istream* input, BigBuffer* outBuffer,
|
D | Png.cpp | 94 BigBuffer* outBuffer = reinterpret_cast<BigBuffer*>(png_get_io_ptr(writePtr)); in writeDataToStream() 1236 BigBuffer* outBuffer, const PngOptions& options) { in process()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Dump.cpp | 271 BigBuffer buffer(4096); in Dump() 338 BigBuffer buffer(4096); in Dump()
|
D | Compile.cpp | 464 BigBuffer buffer(4096); in CompilePng() 478 BigBuffer crunched_png_buffer(4096); in CompilePng() 537 BigBuffer filtered_png_buffer(4096); in CompilePng() 547 BigBuffer legacy_buffer(4096); in CompilePng()
|
D | Convert.cpp | 72 BigBuffer buffer(4096); in SerializeXml() 84 BigBuffer buffer(4096); in SerializeTable()
|
D | Optimize.cpp | 225 BigBuffer manifest_buffer(4096); in WriteSplitApk() 273 BigBuffer table_buffer(4096); in WriteSplitApk()
|
D | Link.cpp | 226 BigBuffer buffer(1024); in FlattenXml() 1054 BigBuffer buffer(1024); in FlattenTable()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize.cpp | 27 BigBuffer buffer(1024); in SerializeStringPoolToPb() 34 for (const BigBuffer::Block& block : buffer) { in SerializeStringPoolToPb()
|