Home
last modified time | relevance | path

Searched refs:BigBuffer (Results 1 – 25 of 26) 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) noexcept;
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) noexcept 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.cpp26 BigBuffer buffer(4); in TEST()
33 BigBuffer buffer(16); in TEST()
45 BigBuffer buffer(16); in TEST()
52 BigBuffer buffer(16); in TEST()
59 BigBuffer buffer2(16); in TEST()
86 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.h215 bool WriteAll(std::ostream& out, const BigBuffer& buffer);
218 std::unique_ptr<uint8_t[]> Copy(const BigBuffer& buffer);
DUtil.cpp447 bool WriteAll(std::ostream& out, const BigBuffer& buffer) { in WriteAll()
456 std::unique_ptr<uint8_t[]> Copy(const BigBuffer& buffer) { in Copy()
/frameworks/base/tools/aapt2/io/
DBigBufferStream.h28 inline explicit BigBufferInputStream(const BigBuffer* buffer) in BigBufferInputStream()
50 const BigBuffer* buffer_;
51 BigBuffer::const_iterator iter_;
58 inline explicit BigBufferOutputStream(BigBuffer* buffer) : buffer_(buffer) { in BigBufferOutputStream()
73 BigBuffer* buffer_;
/frameworks/base/tools/aapt2/
DStringPool_test.cpp206 BigBuffer buffer(1024); in TEST()
220 BigBuffer buffer(1024); in TEST()
261 BigBuffer buffers[2] = {BigBuffer(1024), BigBuffer(1024)}; in TEST()
266 for (const BigBuffer& buffer : buffers) { in TEST()
314 BigBuffer buffer(1024); in TEST()
345 BigBuffer buffers[2] = {BigBuffer(1024), BigBuffer(1024)}; in TEST()
364 BigBuffer buffers2[2] = {BigBuffer(1024), BigBuffer(1024)}; in TEST()
DStringPool.h156 static bool FlattenUtf8(BigBuffer* out, const StringPool& pool, IDiagnostics* diag);
157 static bool FlattenUtf16(BigBuffer* out, const StringPool& pool, IDiagnostics* diag);
211 static bool Flatten(BigBuffer* out, const StringPool& pool, bool utf8, IDiagnostics* diag);
DStringPool.cpp367 static bool EncodeString(const std::string& str, const bool utf8, BigBuffer* out, in EncodeString()
434 bool StringPool::Flatten(BigBuffer* out, const StringPool& pool, bool utf8, in Flatten()
503 bool StringPool::FlattenUtf8(BigBuffer* out, const StringPool& pool, IDiagnostics* diag) { in FlattenUtf8()
507 bool StringPool::FlattenUtf16(BigBuffer* out, const StringPool& pool, IDiagnostics* diag) { in FlattenUtf16()
DLoadedApk.cpp253 BigBuffer buffer(4096); in WriteToArchive()
279 BigBuffer buffer(8192); in WriteToArchive()
DAndroid.bp129 "util/BigBuffer.cpp",
/frameworks/base/tools/aapt2/format/binary/
DChunkWriter.h30 explicit inline ChunkWriter(BigBuffer* buffer) : buffer_(buffer) { in ChunkWriter()
50 inline BigBuffer* buffer() { in buffer()
71 BigBuffer* buffer_;
DXmlFlattener.h39 XmlFlattener(BigBuffer* buffer, XmlFlattenerOptions options) in XmlFlattener()
50 BigBuffer* buffer_;
DTableFlattener.h53 explicit TableFlattener(const TableFlattenerOptions& options, BigBuffer* buffer) in TableFlattener()
63 BigBuffer* buffer_;
DTableFlattener.cpp86 MapFlattenVisitor(ResTable_entry_ext* out_entry, BigBuffer* buffer) in MapFlattenVisitor()
217 BigBuffer* buffer_;
241 bool FlattenPackage(BigBuffer* buffer) { in FlattenPackage()
262 BigBuffer type_buffer(1024); in FlattenPackage()
291 T* WriteEntry(FlatEntry* entry, BigBuffer* buffer) { in WriteEntry()
316 bool FlattenValue(FlatEntry* entry, BigBuffer* buffer) { in FlattenValue()
333 BigBuffer* buffer) { in FlattenConfig()
346 BigBuffer values_buffer(512); in FlattenConfig()
429 bool FlattenOverlayable(BigBuffer* buffer) { in FlattenOverlayable()
567 BigBuffer* buffer) { in FlattenTypeSpec()
[all …]
DXmlFlattener.cpp77 XmlFlattenerVisitor(BigBuffer* buffer, XmlFlattenerOptions options) in XmlFlattenerVisitor()
306 BigBuffer* buffer_;
316 BigBuffer node_buffer(1024); in Flatten()
DXmlFlattener_test.cpp62 BigBuffer buffer(1024);
/frameworks/base/tools/aapt2/compile/
DPng.h48 bool process(const Source& source, std::istream* input, BigBuffer* outBuffer,
DPng.cpp94 BigBuffer* outBuffer = reinterpret_cast<BigBuffer*>(png_get_io_ptr(writePtr)); in writeDataToStream()
1236 BigBuffer* outBuffer, const PngOptions& options) { in process()
/frameworks/base/tools/aapt2/cmd/
DDump.cpp271 BigBuffer buffer(4096); in Dump()
338 BigBuffer buffer(4096); in Dump()
DCompile.cpp464 BigBuffer buffer(4096); in CompilePng()
478 BigBuffer crunched_png_buffer(4096); in CompilePng()
537 BigBuffer filtered_png_buffer(4096); in CompilePng()
547 BigBuffer legacy_buffer(4096); in CompilePng()
DConvert.cpp72 BigBuffer buffer(4096); in SerializeXml()
84 BigBuffer buffer(4096); in SerializeTable()
DOptimize.cpp225 BigBuffer manifest_buffer(4096); in WriteSplitApk()
273 BigBuffer table_buffer(4096); in WriteSplitApk()
DLink.cpp226 BigBuffer buffer(1024); in FlattenXml()
1054 BigBuffer buffer(1024); in FlattenTable()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize.cpp27 BigBuffer buffer(1024); in SerializeStringPoolToPb()
34 for (const BigBuffer::Block& block : buffer) { in SerializeStringPoolToPb()

12