Lines Matching refs:us

588     unz64_s us;  in unzOpenInternal()  local
606 us.z_filefunc.zseek32_file = NULL; in unzOpenInternal()
607 us.z_filefunc.ztell32_file = NULL; in unzOpenInternal()
609 fill_fopen64_filefunc(&us.z_filefunc.zfile_func64); in unzOpenInternal()
611 us.z_filefunc = *pzlib_filefunc64_32_def; in unzOpenInternal()
612 us.is64bitOpenFunction = is64bitOpenFunction; in unzOpenInternal()
616 us.filestream = ZOPEN64(us.z_filefunc, in unzOpenInternal()
620 if (us.filestream==NULL) in unzOpenInternal()
623 central_pos = unz64local_SearchCentralDir64(&us.z_filefunc,us.filestream); in unzOpenInternal()
629 us.isZip64 = 1; in unzOpenInternal()
631 if (ZSEEK64(us.z_filefunc, us.filestream, in unzOpenInternal()
636 if (unz64local_getLong(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK) in unzOpenInternal()
640 if (unz64local_getLong64(&us.z_filefunc, us.filestream,&uL64)!=UNZ_OK) in unzOpenInternal()
644 if (unz64local_getShort(&us.z_filefunc, us.filestream,&uS)!=UNZ_OK) in unzOpenInternal()
648 if (unz64local_getShort(&us.z_filefunc, us.filestream,&uS)!=UNZ_OK) in unzOpenInternal()
652 if (unz64local_getLong(&us.z_filefunc, us.filestream,&number_disk)!=UNZ_OK) in unzOpenInternal()
656 if (unz64local_getLong(&us.z_filefunc, us.filestream,&number_disk_with_CD)!=UNZ_OK) in unzOpenInternal()
660 if (unz64local_getLong64(&us.z_filefunc, us.filestream,&us.gi.number_entry)!=UNZ_OK) in unzOpenInternal()
664 if (unz64local_getLong64(&us.z_filefunc, us.filestream,&number_entry_CD)!=UNZ_OK) in unzOpenInternal()
667 if ((number_entry_CD!=us.gi.number_entry) || in unzOpenInternal()
673 if (unz64local_getLong64(&us.z_filefunc, us.filestream,&us.size_central_dir)!=UNZ_OK) in unzOpenInternal()
678 if (unz64local_getLong64(&us.z_filefunc, us.filestream,&us.offset_central_dir)!=UNZ_OK) in unzOpenInternal()
681 us.gi.size_comment = 0; in unzOpenInternal()
685 central_pos = unz64local_SearchCentralDir(&us.z_filefunc,us.filestream); in unzOpenInternal()
689 us.isZip64 = 0; in unzOpenInternal()
691 if (ZSEEK64(us.z_filefunc, us.filestream, in unzOpenInternal()
696 if (unz64local_getLong(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK) in unzOpenInternal()
700 if (unz64local_getShort(&us.z_filefunc, us.filestream,&number_disk)!=UNZ_OK) in unzOpenInternal()
704 if (unz64local_getShort(&us.z_filefunc, us.filestream,&number_disk_with_CD)!=UNZ_OK) in unzOpenInternal()
708 if (unz64local_getShort(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK) in unzOpenInternal()
710 us.gi.number_entry = uL; in unzOpenInternal()
713 if (unz64local_getShort(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK) in unzOpenInternal()
717 if ((number_entry_CD!=us.gi.number_entry) || in unzOpenInternal()
723 if (unz64local_getLong(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK) in unzOpenInternal()
725 us.size_central_dir = uL; in unzOpenInternal()
729 if (unz64local_getLong(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK) in unzOpenInternal()
731 us.offset_central_dir = uL; in unzOpenInternal()
734 if (unz64local_getShort(&us.z_filefunc, us.filestream,&us.gi.size_comment)!=UNZ_OK) in unzOpenInternal()
738 if ((central_pos<us.offset_central_dir+us.size_central_dir) && in unzOpenInternal()
744 ZCLOSE64(us.z_filefunc, us.filestream); in unzOpenInternal()
748 us.byte_before_the_zipfile = central_pos - in unzOpenInternal()
749 (us.offset_central_dir+us.size_central_dir); in unzOpenInternal()
750 us.central_pos = central_pos; in unzOpenInternal()
751 us.pfile_in_zip_read = NULL; in unzOpenInternal()
752 us.encrypted = 0; in unzOpenInternal()
758 *s=us; in unzOpenInternal()