Searched refs:BigBuffer (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/tools/aapt2/
H A DBigBuffer.h33 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 DTableFlattener.h20 #include "BigBuffer.h"
51 bool flatten(BigBuffer* out, const ResourceTable& table);
54 bool flattenValue(BigBuffer* out, const FlatEntry& flatEntry, SymbolEntryVector* symbols);
H A DXmlFlattener.h20 #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 DBigBuffer_test.cpp17 #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 DPng.h20 #include "BigBuffer.h"
33 bool process(const Source& source, std::istream& input, BigBuffer* outBuffer,
H A DBigBuffer.cpp17 #include "BigBuffer.h"
25 void* BigBuffer::nextBlockImpl(size_t size) {
H A DXmlFlattener.cpp17 #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 DStringPool.h20 #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 DTableFlattener.cpp17 #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 DAndroid.mk28 BigBuffer.cpp \
H A DUtil.cpp17 #include "BigBuffer.h"
311 bool writeAll(std::ostream& out, const BigBuffer& buffer) {
320 std::unique_ptr<uint8_t[]> copy(const BigBuffer& buffer) {
H A DStringPool.cpp17 #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 DZipFile.h24 #include "BigBuffer.h"
122 status_t add(const BigBuffer& data, const char* storageName,
H A DStringPool_test.cpp167 BigBuffer buffer(1024);
193 BigBuffer buffer(1024);
H A DUtil.h20 #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 DXmlFlattener_test.cpp62 BigBuffer outBuffer(1024);
H A DMain.cpp18 #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 DPng.cpp17 #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 DZipFile.cpp348 status_t ZipFile::add(const BigBuffer& buffer, const char* storageName, int compressionMethod,

Completed in 89 milliseconds