Home
last modified time | relevance | path

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

/bootable/recovery/updater/
Dupdater.cpp99 ZipArchiveHandle za; in main() local
100 int open_err = OpenArchiveFromMemory(map.addr, map.length, argv[3], &za); in main()
103 CloseArchive(za); in main()
109 int find_err = FindEntry(za, script_name, &script_entry); in main()
113 CloseArchive(za); in main()
119 int extract_err = ExtractToMemory(za, &script_entry, reinterpret_cast<uint8_t*>(&script[0]), in main()
123 CloseArchive(za); in main()
141 CloseArchive(za); in main()
156 updater_info.package_zip = za; in main()
170 ota_io_init(za, state.is_retry); in main()
Dinstall.cpp132 ZipArchiveHandle za = static_cast<UpdaterInfo*>(state->cookie)->package_zip; in PackageExtractFileFn() local
135 if (FindEntry(za, zip_string_path, &entry) != 0) { in PackageExtractFileFn()
148 int32_t ret = ExtractEntryToFile(za, &entry, fd); in PackageExtractFileFn()
175 ZipArchiveHandle za = static_cast<UpdaterInfo*>(state->cookie)->package_zip; in PackageExtractFileFn() local
178 if (FindEntry(za, zip_string_path, &entry) != 0) { in PackageExtractFileFn()
187 ExtractToMemory(za, &entry, reinterpret_cast<uint8_t*>(&buffer[0]), buffer.size()); in PackageExtractFileFn()
/bootable/recovery/otafault/
Dconfig.cpp37 void ota_io_init(ZipArchiveHandle za, bool retry) { in ota_io_init() argument
38 archive = za; in ota_io_init()