Home
last modified time | relevance | path

Searched refs:zip_entry_ (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tools/aapt2/io/
DZipArchive.cpp32 : zip_handle_(handle), zip_entry_(entry), source_(source) {} in ZipFile()
35 if (zip_entry_.method == kCompressStored) { in OpenAsData()
39 bool result = file_map.create(nullptr, fd, zip_entry_.offset, in OpenAsData()
40 zip_entry_.uncompressed_length, true); in OpenAsData()
48 std::unique_ptr<uint8_t[]>(new uint8_t[zip_entry_.uncompressed_length]); in OpenAsData()
50 ExtractToMemory(zip_handle_, &zip_entry_, data.get(), in OpenAsData()
51 static_cast<uint32_t>(zip_entry_.uncompressed_length)); in OpenAsData()
56 zip_entry_.uncompressed_length); in OpenAsData()
63 return zip_entry_.method != kCompressStored; in WasCompressed()
DZipArchive.h47 ZipEntry zip_entry_; variable