Lines Matching refs:us
418 unz_s us;
436 fill_fopen_filefunc(&us.z_filefunc);
438 us.z_filefunc = *pzlib_filefunc_def;
440 us.filestream= (*(us.z_filefunc.zopen_file))(us.z_filefunc.opaque,
444 if (us.filestream==NULL)
447 central_pos = unzlocal_SearchCentralDir(&us.z_filefunc,us.filestream);
451 if (ZSEEK(us.z_filefunc, us.filestream,
456 if (unzlocal_getLong(&us.z_filefunc, us.filestream,&uL)!=UNZ_OK)
460 if (unzlocal_getShort(&us.z_filefunc, us.filestream,&number_disk)!=UNZ_OK)
464 if (unzlocal_getShort(&us.z_filefunc, us.filestream,&number_disk_with_CD)!=UNZ_OK)
468 if (unzlocal_getShort(&us.z_filefunc, us.filestream,&us.gi.number_entry)!=UNZ_OK)
472 if (unzlocal_getShort(&us.z_filefunc, us.filestream,&number_entry_CD)!=UNZ_OK)
475 if ((number_entry_CD!=us.gi.number_entry) ||
481 if (unzlocal_getLong(&us.z_filefunc, us.filestream,&us.size_central_dir)!=UNZ_OK)
486 if (unzlocal_getLong(&us.z_filefunc, us.filestream,&us.offset_central_dir)!=UNZ_OK)
490 if (unzlocal_getShort(&us.z_filefunc, us.filestream,&us.gi.size_comment)!=UNZ_OK)
493 if ((central_pos<us.offset_central_dir+us.size_central_dir) &&
499 ZCLOSE(us.z_filefunc, us.filestream);
503 us.byte_before_the_zipfile = central_pos -
504 (us.offset_central_dir+us.size_central_dir);
505 us.central_pos = central_pos;
506 us.pfile_in_zip_read = NULL;
507 us.encrypted = 0;
511 *s=us;