/frameworks/base/tools/aapt2/util/ |
D | BigBuffer.h | 34 class BigBuffer { 52 friend class BigBuffer; 66 BigBuffer(size_t blockSize); 68 BigBuffer(const BigBuffer&) = delete; // No copying. 70 BigBuffer(BigBuffer&& rhs); 88 void appendBuffer(BigBuffer&& buffer); 115 inline BigBuffer::BigBuffer(size_t blockSize) : mBlockSize(blockSize), mSize(0) { in BigBuffer() function 118 inline BigBuffer::BigBuffer(BigBuffer&& rhs) : in BigBuffer() function 122 inline size_t BigBuffer::size() const { in size() 127 inline T* BigBuffer::nextBlock(size_t count) { in nextBlock() [all …]
|
D | BigBuffer_test.cpp | 24 BigBuffer buffer(4); in TEST() 31 BigBuffer buffer(16); in TEST() 43 BigBuffer buffer(16); in TEST() 50 BigBuffer buffer(16); in TEST() 57 BigBuffer buffer2(16); in TEST() 84 BigBuffer buffer(16); in TEST()
|
D | BigBuffer.cpp | 25 void* BigBuffer::nextBlockImpl(size_t size) { in nextBlockImpl()
|
D | Util.h | 214 bool writeAll(std::ostream& out, const BigBuffer& buffer); 219 std::unique_ptr<uint8_t[]> copy(const BigBuffer& buffer);
|
D | Util.cpp | 451 bool writeAll(std::ostream& out, const BigBuffer& buffer) { in writeAll() 460 std::unique_ptr<uint8_t[]> copy(const BigBuffer& buffer) { in copy()
|
/frameworks/base/tools/aapt2/flatten/ |
D | TableFlattener.h | 24 class BigBuffer; variable 29 TableFlattener(BigBuffer* buffer) : mBuffer(buffer) { in TableFlattener() 35 BigBuffer* mBuffer;
|
D | ChunkWriter.h | 29 BigBuffer* mBuffer; 34 explicit inline ChunkWriter(BigBuffer* buffer) : mBuffer(buffer) { in ChunkWriter() 57 inline BigBuffer* getBuffer() { in getBuffer()
|
D | Archive.cpp | 64 bool writeEntry(const BigBuffer& buffer) override { in writeEntry() 69 for (const BigBuffer::Block& b : buffer) { in writeEntry() 138 bool writeEntry(const BigBuffer& buffer) override { in writeEntry() 139 for (const BigBuffer::Block& b : buffer) { in writeEntry()
|
D | XmlFlattener.h | 40 XmlFlattener(BigBuffer* buffer, XmlFlattenerOptions options) : in XmlFlattener() 47 BigBuffer* mBuffer;
|
D | TableFlattener.cpp | 79 MapFlattenVisitor(ResTable_entry_ext* outEntry, BigBuffer* buffer) : in MapFlattenVisitor() 211 BigBuffer* mBuffer; 221 bool flattenPackage(BigBuffer* buffer) { in flattenPackage() 238 BigBuffer typeBuffer(1024); in flattenPackage() 261 T* writeEntry(FlatEntry* entry, BigBuffer* buffer) { in writeEntry() 286 bool flattenValue(FlatEntry* entry, BigBuffer* buffer) { in flattenValue() 303 std::vector<FlatEntry>* entries, BigBuffer* buffer) { in flattenConfig() 372 BigBuffer* buffer) { in flattenTypeSpec() 417 bool flattenTypes(BigBuffer* buffer) { in flattenTypes() 488 BigBuffer packageBuffer(1024); in consume()
|
D | Archive.h | 48 virtual bool writeEntry(const BigBuffer& buffer) = 0;
|
D | XmlFlattener.cpp | 39 BigBuffer* mBuffer; 55 XmlFlattenerVisitor(BigBuffer* buffer, XmlFlattenerOptions options) : in XmlFlattenerVisitor() 257 BigBuffer nodeBuffer(1024); in flatten()
|
D | TableFlattener_test.cpp | 40 BigBuffer buffer(1024); in flatten() 54 BigBuffer buffer(1024); in flatten()
|
D | XmlFlattener_test.cpp | 51 BigBuffer buffer(1024);
|
/frameworks/base/tools/aapt2/ |
D | StringPool.h | 129 static bool flattenUtf8(BigBuffer* out, const StringPool& pool); 130 static bool flattenUtf16(BigBuffer* out, const StringPool& pool); 196 static bool flatten(BigBuffer* out, const StringPool& pool, bool utf8);
|
D | StringPool_test.cpp | 175 BigBuffer buffer(1024); in TEST() 188 BigBuffer buffer(1024); in TEST() 221 BigBuffer buffer(1024); in TEST()
|
D | StringPool.cpp | 297 bool StringPool::flatten(BigBuffer* out, const StringPool& pool, bool utf8) { in flatten() 399 bool StringPool::flattenUtf8(BigBuffer* out, const StringPool& pool) { in flattenUtf8() 403 bool StringPool::flattenUtf16(BigBuffer* out, const StringPool& pool) { in flattenUtf16()
|
D | Android.mk | 50 util/BigBuffer.cpp \
|
/frameworks/base/tools/aapt2/compile/ |
D | Compile.cpp | 261 const BigBuffer& buffer, IArchiveWriter* writer, in writeHeaderAndBufferToWriter() 279 for (const BigBuffer::Block& block : buffer) { in writeHeaderAndBufferToWriter() 357 BigBuffer buffer(1024); in compileXml() 375 BigBuffer buffer(4096); in compilePng() 404 BigBuffer buffer(256); in compileFile()
|
D | Png.h | 38 bool process(const Source& source, std::istream* input, BigBuffer* outBuffer,
|
D | Png.cpp | 88 BigBuffer* outBuffer = reinterpret_cast<BigBuffer*>(png_get_io_ptr(writePtr)); in writeDataToStream() 1193 bool Png::process(const Source& source, std::istream* input, BigBuffer* outBuffer, in process()
|
/frameworks/base/tools/aapt2/proto/ |
D | ProtoHelpers.cpp | 22 BigBuffer buffer(1024); in serializeStringPoolToPb() 29 for (const BigBuffer::Block& block : buffer) { in serializeStringPoolToPb()
|
/frameworks/base/tools/aapt2/link/ |
D | Link.cpp | 177 BigBuffer buffer(1024); in flattenXml() 679 BigBuffer buffer(1024); in flattenTable()
|