Home
last modified time | relevance | path

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

/bootable/recovery/updater/
Dupdater.cpp96 ZipArchiveHandle za; in main() local
97 int open_err = OpenArchiveFromMemory(map.addr, map.length, argv[3], &za); in main()
100 CloseArchive(za); in main()
106 int find_err = FindEntry(za, script_name, &script_entry); in main()
110 CloseArchive(za); in main()
116 int extract_err = ExtractToMemory(za, &script_entry, reinterpret_cast<uint8_t*>(&script[0]), in main()
120 CloseArchive(za); in main()
139 CloseArchive(za); in main()
154 updater_info.package_zip = za; 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()
176 ZipArchiveHandle za = static_cast<UpdaterInfo*>(state->cookie)->package_zip; in PackageExtractFileFn() local
179 if (FindEntry(za, zip_string_path, &entry) != 0) { in PackageExtractFileFn()
188 ExtractToMemory(za, &entry, reinterpret_cast<uint8_t*>(&buffer[0]), buffer.size()); in PackageExtractFileFn()
Dblockimg.cpp345 ZipArchiveHandle za; member
464 ProcessZipEntryContents(nti->za, &nti->entry, receive_brotli_new_data, nti); in unzip_new_data()
466 ProcessZipEntryContents(nti->za, &nti->entry, receive_new_data, nti); in unzip_new_data()
1677 ZipArchiveHandle za = ui->package_zip; in PerformBlockImageUpdate() local
1679 if (cmd_pipe == nullptr || za == nullptr) { in PerformBlockImageUpdate()
1685 if (FindEntry(za, path_data, &patch_entry) != 0) { in PerformBlockImageUpdate()
1693 if (FindEntry(za, new_data, &new_entry) != 0) { in PerformBlockImageUpdate()
1778 params.nti.za = za; in PerformBlockImageUpdate()