/frameworks/base/tools/aapt2/ |
H A D | BigBuffer.h | 33 class BigBuffer { class in namespace:aapt 51 friend class BigBuffer; 62 * Create a BigBuffer with block allocation sizes 65 BigBuffer(size_t blockSize); 67 BigBuffer(const BigBuffer&) = delete; // No copying. 69 BigBuffer(BigBuffer&& rhs); 84 * Moves the specified BigBuffer into this one. When this method 87 void appendBuffer(BigBuffer 114 inline BigBuffer::BigBuffer(size_t blockSize) : mBlockSize(blockSize), mSize(0) { function in class:aapt::BigBuffer 117 inline BigBuffer::BigBuffer(BigBuffer&& rhs) : function in class:aapt::BigBuffer [all...] |
H A D | TableFlattener.h | 20 #include "BigBuffer.h" 51 bool flatten(BigBuffer* out, const ResourceTable& table); 54 bool flattenValue(BigBuffer* out, const FlatEntry& flatEntry, SymbolEntryVector* symbols);
|
H A D | XmlFlattener.h | 20 #include "BigBuffer.h" 35 bool flatten(Node* root, const std::u16string& defaultPackage, BigBuffer* outBuffer); 53 * Like flatten(Node*,BigBuffer*), but references to resources are checked 64 const FlattenOptions& options, BigBuffer* outBuffer);
|
H A D | BigBuffer_test.cpp | 17 #include "BigBuffer.h" 24 BigBuffer buffer(4); 31 BigBuffer buffer(16); 43 BigBuffer buffer(16); 50 BigBuffer buffer(16); 57 BigBuffer buffer2(16); 84 BigBuffer buffer(16);
|
H A D | Png.h | 20 #include "BigBuffer.h" 33 bool process(const Source& source, std::istream& input, BigBuffer* outBuffer,
|
H A D | BigBuffer.cpp | 17 #include "BigBuffer.h" 25 void* BigBuffer::nextBlockImpl(size_t size) {
|
H A D | XmlFlattener.cpp | 17 #include "BigBuffer.h" 45 XmlFlattener(BigBuffer* outBuffer, StringPool* pool, FlatStringRefList* stringRefs, 185 virtual bool writeAttributes(BigBuffer* out, Element* node, 189 BigBuffer* mOut; 201 CompileXmlFlattener(BigBuffer* outBuffer, StringPool* pool, FlatStringRefList* stringRefs, 206 virtual bool writeAttributes(BigBuffer* out, Element* node, 239 LinkedXmlFlattener(BigBuffer* outBuffer, StringPool* pool, 250 virtual bool writeAttributes(BigBuffer* out, Element* node, 461 * strings yet. We write to a temporary BigBuffer while parsing the input, adding strings 462 * we encounter to the StringPool. At the end, we write the StringPool to the given BigBuffer an [all...] |
H A D | StringPool.h | 20 #include "BigBuffer.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);
|
H A D | TableFlattener.cpp | 17 #include "BigBuffer.h" 46 MapFlattener(BigBuffer* out, const FlatEntry& flatEntry, SymbolEntryVector* symbols) : 207 BigBuffer* mOut; 216 ValueFlattener(BigBuffer* out, SymbolEntryVector* symbols) : 239 BigBuffer* mOut; 248 bool TableFlattener::flattenValue(BigBuffer* out, const FlatEntry& flatEntry, 284 bool TableFlattener::flatten(BigBuffer* out, const ResourceTable& table) { 315 BigBuffer typeBlock(1024);
|
H A D | Android.mk | 28 BigBuffer.cpp \
|
H A D | Util.cpp | 17 #include "BigBuffer.h" 311 bool writeAll(std::ostream& out, const BigBuffer& buffer) { 320 std::unique_ptr<uint8_t[]> copy(const BigBuffer& buffer) {
|
H A D | StringPool.cpp | 17 #include "BigBuffer.h" 291 bool StringPool::flatten(BigBuffer* out, const StringPool& pool, bool utf8) { 386 bool StringPool::flattenUtf8(BigBuffer* out, const StringPool& pool) { 390 bool StringPool::flattenUtf16(BigBuffer* out, const StringPool& pool) {
|
H A D | ZipFile.h | 24 #include "BigBuffer.h" 122 status_t add(const BigBuffer& data, const char* storageName,
|
H A D | StringPool_test.cpp | 167 BigBuffer buffer(1024); 193 BigBuffer buffer(1024);
|
H A D | Util.h | 20 #include "BigBuffer.h" 187 * Writes the entire BigBuffer to the output stream. 189 bool writeAll(std::ostream& out, const BigBuffer& buffer); 192 * Copies the entire BigBuffer into a single buffer. 194 std::unique_ptr<uint8_t[]> copy(const BigBuffer& buffer);
|
H A D | XmlFlattener_test.cpp | 62 BigBuffer outBuffer(1024);
|
H A D | Main.cpp | 18 #include "BigBuffer.h" 375 BigBuffer outBuffer(1024); 447 BigBuffer outBuffer(1024); 492 BigBuffer outBuffer(4096); 574 BigBuffer outBuffer(1024); 671 BigBuffer buffer(1024);
|
H A D | Png.cpp | 17 #include "BigBuffer.h" 89 BigBuffer* outBuffer = reinterpret_cast<BigBuffer*>(png_get_io_ptr(writePtr)); 1195 bool Png::process(const Source& source, std::istream& input, BigBuffer* outBuffer,
|
H A D | ZipFile.cpp | 348 status_t ZipFile::add(const BigBuffer& buffer, const char* storageName, int compressionMethod,
|