Home
last modified time | relevance | path

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

12

/frameworks/base/tools/aapt2/util/
DBigBuffer.h37 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 …]
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.cpp27 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()
DUtil.h209 bool WriteAll(std::ostream& out, const BigBuffer& buffer);
214 std::unique_ptr<uint8_t[]> Copy(const BigBuffer& buffer);
DUtil.cpp470 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/
DBigBufferInputStream.h28 inline explicit BigBufferInputStream(const BigBuffer* buffer) in BigBufferInputStream()
47 const BigBuffer* buffer_;
48 BigBuffer::const_iterator iter_;
DBigBufferOutputStream.h28 inline explicit BigBufferOutputStream(BigBuffer* buffer) : buffer_(buffer) {} in BigBufferOutputStream()
42 BigBuffer* buffer_;
/frameworks/base/tools/aapt2/flatten/
DChunkWriter.h30 explicit inline ChunkWriter(BigBuffer* buffer) : buffer_(buffer) {} in ChunkWriter()
49 inline BigBuffer* buffer() { return buffer_; } in buffer()
64 BigBuffer* buffer_;
DTableFlattener.h42 explicit TableFlattener(const TableFlattenerOptions& options, BigBuffer* buffer) in TableFlattener()
51 BigBuffer* buffer_;
DXmlFlattener.h37 XmlFlattener(BigBuffer* buffer, XmlFlattenerOptions options) in XmlFlattener()
47 BigBuffer* buffer_;
DTableFlattener.cpp83 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 …]
DXmlFlattener.cpp75 XmlFlattenerVisitor(BigBuffer* buffer, XmlFlattenerOptions options) in XmlFlattenerVisitor()
287 BigBuffer* buffer_;
298 BigBuffer node_buffer(1024); in Flatten()
DXmlFlattener_test.cpp57 BigBuffer buffer(1024);
/frameworks/base/tools/aapt2/
DStringPool_test.cpp175 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()
DStringPool.h148 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);
DStringPool.cpp330 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()
DLoadedApk.cpp94 BigBuffer buffer(4096); in WriteToArchive()
DAndroid.bp114 "util/BigBuffer.cpp",
/frameworks/base/tools/aapt2/cmd/
DCompile.cpp275 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()
DOptimize.cpp189 BigBuffer manifest_buffer(4096); in WriteSplitApk()
239 BigBuffer table_buffer(4096); in WriteSplitApk()
/frameworks/base/tools/aapt2/proto/
DProtoHelpers.cpp23 BigBuffer buffer(1024); in SerializeStringPoolToPb()
30 for (const BigBuffer::Block& block : buffer) { in SerializeStringPoolToPb()
DProtoSerialize.h38 void WriteData(const BigBuffer* buffer);
DTableProtoSerializer.cpp325 void CompiledFileOutputStream::WriteData(const BigBuffer* buffer) { in WriteData()
328 for (const BigBuffer::Block& block : *buffer) { in WriteData()
/frameworks/base/tools/aapt2/compile/
DPng.h48 bool process(const Source& source, std::istream* input, BigBuffer* outBuffer,
DPng.cpp93 BigBuffer* outBuffer = reinterpret_cast<BigBuffer*>(png_get_io_ptr(writePtr)); in writeDataToStream()
1235 BigBuffer* outBuffer, const PngOptions& options) { in process()

12