Lines Matching refs:zip
369 void *unzip_file(zipfile_t zip, const char *name, unsigned *sz) in unzip_file() argument
375 entry = lookup_zipentry(zip, name); in unzip_file()
614 void do_update_signature(zipfile_t zip, char *fn) in do_update_signature() argument
618 data = unzip_file(zip, fn, &sz); in do_update_signature()
630 zipfile_t zip; in do_update() local
639 zip = init_zipfile(zdata, zsize); in do_update()
640 if(zip == 0) die("failed to access zipdata in '%s'"); in do_update()
642 data = unzip_file(zip, "android-info.txt", &sz); in do_update()
646 data = unzip_file(zip, "android-product.txt", &sz); in do_update()
659 data = unzip_file(zip, "boot.img", &sz); in do_update()
661 do_update_signature(zip, "boot.sig"); in do_update()
667 data = unzip_file(zip, "recovery.img", &sz); in do_update()
669 do_update_signature(zip, "recovery.sig"); in do_update()
676 data = unzip_file(zip, "system.img", &sz); in do_update()
678 do_update_signature(zip, "system.sig"); in do_update()