/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); 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) 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 | 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 | 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 | 209 bool WriteAll(std::ostream& out, const BigBuffer& buffer); 214 std::unique_ptr<uint8_t[]> Copy(const BigBuffer& buffer);
|
D | Util.cpp | 470 bool WriteAll(std::ostream& out, const BigBuffer& buffer) { in WriteAll() 479 std::unique_ptr<uint8_t[]> Copy(const BigBuffer& buffer) { in Copy()
|
/frameworks/base/tools/aapt2/io/ |
D | BigBufferInputStream.h | 28 inline explicit BigBufferInputStream(const BigBuffer* buffer) in BigBufferInputStream() 47 const BigBuffer* buffer_; 48 BigBuffer::const_iterator iter_;
|
D | BigBufferOutputStream.h | 28 inline explicit BigBufferOutputStream(BigBuffer* buffer) : buffer_(buffer) {} in BigBufferOutputStream() 42 BigBuffer* buffer_;
|
/frameworks/base/tools/aapt2/flatten/ |
D | ChunkWriter.h | 30 explicit inline ChunkWriter(BigBuffer* buffer) : buffer_(buffer) {} in ChunkWriter() 49 inline BigBuffer* buffer() { return buffer_; } in buffer() 64 BigBuffer* buffer_;
|
D | TableFlattener.h | 42 explicit TableFlattener(const TableFlattenerOptions& options, BigBuffer* buffer) in TableFlattener() 51 BigBuffer* buffer_;
|
D | XmlFlattener.h | 37 XmlFlattener(BigBuffer* buffer, XmlFlattenerOptions options) in XmlFlattener() 47 BigBuffer* buffer_;
|
D | TableFlattener.cpp | 83 MapFlattenVisitor(ResTable_entry_ext* out_entry, BigBuffer* buffer) in MapFlattenVisitor() 214 BigBuffer* buffer_; 228 bool FlattenPackage(BigBuffer* buffer) { in FlattenPackage() 248 BigBuffer type_buffer(1024); in FlattenPackage() 273 T* WriteEntry(FlatEntry* entry, BigBuffer* buffer) { in WriteEntry() 298 bool FlattenValue(FlatEntry* entry, BigBuffer* buffer) { in FlattenValue() 316 BigBuffer* buffer) { in FlattenConfig() 330 BigBuffer values_buffer(512); in FlattenConfig() 416 BigBuffer* buffer) { in FlattenTypeSpec() 463 bool FlattenTypes(BigBuffer* buffer) { in FlattenTypes() [all …]
|
D | XmlFlattener.cpp | 75 XmlFlattenerVisitor(BigBuffer* buffer, XmlFlattenerOptions options) in XmlFlattenerVisitor() 287 BigBuffer* buffer_; 298 BigBuffer node_buffer(1024); in Flatten()
|
D | XmlFlattener_test.cpp | 57 BigBuffer buffer(1024);
|
/frameworks/base/tools/aapt2/ |
D | StringPool_test.cpp | 175 BigBuffer buffer(1024); in TEST() 188 BigBuffer buffer(1024); in TEST() 226 BigBuffer buffers[2] = {BigBuffer(1024), BigBuffer(1024)}; in TEST() 231 for (const BigBuffer& buffer : buffers) { in TEST()
|
D | StringPool.h | 148 static bool FlattenUtf8(BigBuffer* out, const StringPool& pool); 149 static bool FlattenUtf16(BigBuffer* out, const StringPool& pool); 218 static bool Flatten(BigBuffer* out, const StringPool& pool, bool utf8);
|
D | StringPool.cpp | 330 bool StringPool::Flatten(BigBuffer* out, const StringPool& pool, bool utf8) { in Flatten() 443 bool StringPool::FlattenUtf8(BigBuffer* out, const StringPool& pool) { in FlattenUtf8() 447 bool StringPool::FlattenUtf16(BigBuffer* out, const StringPool& pool) { in FlattenUtf16()
|
D | LoadedApk.cpp | 94 BigBuffer buffer(4096); in WriteToArchive()
|
D | Android.bp | 114 "util/BigBuffer.cpp",
|
/frameworks/base/tools/aapt2/cmd/ |
D | Compile.cpp | 275 const BigBuffer& buffer, IArchiveWriter* writer, in WriteHeaderAndBufferToWriter() 350 BigBuffer buffer(1024); in FlattenXmlToOutStream() 473 BigBuffer buffer(4096); in CompilePng() 488 BigBuffer crunched_png_buffer(4096); in CompilePng() 546 BigBuffer filtered_png_buffer(4096); in CompilePng() 556 BigBuffer legacy_buffer(4096); in CompilePng() 582 BigBuffer buffer(256); in CompileFile()
|
D | Optimize.cpp | 189 BigBuffer manifest_buffer(4096); in WriteSplitApk() 239 BigBuffer table_buffer(4096); in WriteSplitApk()
|
/frameworks/base/tools/aapt2/proto/ |
D | ProtoHelpers.cpp | 23 BigBuffer buffer(1024); in SerializeStringPoolToPb() 30 for (const BigBuffer::Block& block : buffer) { in SerializeStringPoolToPb()
|
D | ProtoSerialize.h | 38 void WriteData(const BigBuffer* buffer);
|
D | TableProtoSerializer.cpp | 325 void CompiledFileOutputStream::WriteData(const BigBuffer* buffer) { in WriteData() 328 for (const BigBuffer::Block& block : *buffer) { in WriteData()
|
/frameworks/base/tools/aapt2/compile/ |
D | Png.h | 48 bool process(const Source& source, std::istream* input, BigBuffer* outBuffer,
|
D | Png.cpp | 93 BigBuffer* outBuffer = reinterpret_cast<BigBuffer*>(png_get_io_ptr(writePtr)); in writeDataToStream() 1235 BigBuffer* outBuffer, const PngOptions& options) { in process()
|