Searched refs:MemoryChunk (Results 1 – 3 of 3) sorted by relevance
26 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()
63 std::unique_ptr<const MemoryChunk> entry = zip->Uncompress("AndroidManifest.xml"); in ExtractOverlayManifestInfo()
29 struct MemoryChunk { struct33 static std::unique_ptr<MemoryChunk> Allocate(size_t size); argument36 MemoryChunk() { in MemoryChunk() argument44 std::unique_ptr<const MemoryChunk> Uncompress(const std::string& entryPath) const;