Home
last modified time | relevance | path

Searched refs:BigBuffer (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/tools/aapt2/util/
DBigBuffer.h34 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 …]
DBigBuffer_test.cpp24 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()
DBigBuffer.cpp25 void* BigBuffer::nextBlockImpl(size_t size) { in nextBlockImpl()
DUtil.h214 bool writeAll(std::ostream& out, const BigBuffer& buffer);
219 std::unique_ptr<uint8_t[]> copy(const BigBuffer& buffer);
DUtil.cpp451 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/
DTableFlattener.h24 class BigBuffer; variable
29 TableFlattener(BigBuffer* buffer) : mBuffer(buffer) { in TableFlattener()
35 BigBuffer* mBuffer;
DChunkWriter.h29 BigBuffer* mBuffer;
34 explicit inline ChunkWriter(BigBuffer* buffer) : mBuffer(buffer) { in ChunkWriter()
57 inline BigBuffer* getBuffer() { in getBuffer()
DArchive.cpp64 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()
DXmlFlattener.h40 XmlFlattener(BigBuffer* buffer, XmlFlattenerOptions options) : in XmlFlattener()
47 BigBuffer* mBuffer;
DTableFlattener.cpp79 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()
DArchive.h48 virtual bool writeEntry(const BigBuffer& buffer) = 0;
DXmlFlattener.cpp39 BigBuffer* mBuffer;
55 XmlFlattenerVisitor(BigBuffer* buffer, XmlFlattenerOptions options) : in XmlFlattenerVisitor()
257 BigBuffer nodeBuffer(1024); in flatten()
DTableFlattener_test.cpp40 BigBuffer buffer(1024); in flatten()
54 BigBuffer buffer(1024); in flatten()
DXmlFlattener_test.cpp51 BigBuffer buffer(1024);
/frameworks/base/tools/aapt2/
DStringPool.h129 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);
DStringPool_test.cpp175 BigBuffer buffer(1024); in TEST()
188 BigBuffer buffer(1024); in TEST()
221 BigBuffer buffer(1024); in TEST()
DStringPool.cpp297 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()
DAndroid.mk50 util/BigBuffer.cpp \
/frameworks/base/tools/aapt2/compile/
DCompile.cpp261 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()
DPng.h38 bool process(const Source& source, std::istream* input, BigBuffer* outBuffer,
DPng.cpp88 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/
DProtoHelpers.cpp22 BigBuffer buffer(1024); in serializeStringPoolToPb()
29 for (const BigBuffer::Block& block : buffer) { in serializeStringPoolToPb()
/frameworks/base/tools/aapt2/link/
DLink.cpp177 BigBuffer buffer(1024); in flattenXml()
679 BigBuffer buffer(1024); in flattenTable()