Home
last modified time | relevance | path

Searched refs:MemoryChunk (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/cmds/idmap2/libidmap2/
DZipFile.cpp26 std::unique_ptr<MemoryChunk> MemoryChunk::Allocate(size_t size) { in Allocate()
27 void* ptr = ::operator new(sizeof(MemoryChunk) + size); in Allocate()
28 std::unique_ptr<MemoryChunk> chunk(reinterpret_cast<MemoryChunk*>(ptr)); in Allocate()
46 std::unique_ptr<const MemoryChunk> ZipFile::Uncompress(const std::string& entryPath) const { in Uncompress()
52 std::unique_ptr<MemoryChunk> chunk = MemoryChunk::Allocate(entry.uncompressed_length); in Uncompress()
DResourceUtils.cpp63 std::unique_ptr<const MemoryChunk> entry = zip->Uncompress("AndroidManifest.xml"); in ExtractOverlayManifestInfo()
/frameworks/base/cmds/idmap2/include/idmap2/
DZipFile.h29 struct MemoryChunk { struct
33 static std::unique_ptr<MemoryChunk> Allocate(size_t size); argument
36 MemoryChunk() { in MemoryChunk() argument
44 std::unique_ptr<const MemoryChunk> Uncompress(const std::string& entryPath) const;