Lines Matching refs:zip_handle_
77 ZipArchiveHandle zip_handle_; member in MemoryPackage
117 ZipArchiveHandle zip_handle_; member in FilePackage
155 : map_(std::move(map)), path_(path), zip_handle_(nullptr) { in MemoryPackage()
163 : package_content_(std::move(content)), zip_handle_(nullptr) { in MemoryPackage()
171 if (zip_handle_) { in ~MemoryPackage()
172 CloseArchive(zip_handle_); in ~MemoryPackage()
201 if (zip_handle_) { in GetZipArchiveHandle()
202 return zip_handle_; in GetZipArchiveHandle()
206 &zip_handle_); in GetZipArchiveHandle()
212 return zip_handle_; in GetZipArchiveHandle()
217 : fd_(std::move(fd)), package_size_(file_size), path_(path), zip_handle_(nullptr) { in FilePackage()
222 if (zip_handle_) { in ~FilePackage()
223 CloseArchive(zip_handle_); in ~FilePackage()
268 if (zip_handle_) { in GetZipArchiveHandle()
269 return zip_handle_; in GetZipArchiveHandle()
272 if (auto err = OpenArchiveFd(fd_.get(), path_.c_str(), &zip_handle_, false); err != 0) { in GetZipArchiveHandle()
277 return zip_handle_; in GetZipArchiveHandle()