Home | History | Annotate | Download | only in minizip

Lines Matching defs:file_info

778     unz_file_info64 file_info;
803 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.version) != UNZ_OK)
806 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.version_needed) != UNZ_OK)
809 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.flag) != UNZ_OK)
812 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.compression_method) != UNZ_OK)
815 if (unz64local_getLong(&s->z_filefunc, s->filestream,&file_info.dosDate) != UNZ_OK)
818 unz64local_DosDateToTmuDate(file_info.dosDate,&file_info.tmu_date);
820 if (unz64local_getLong(&s->z_filefunc, s->filestream,&file_info.crc) != UNZ_OK)
825 file_info.compressed_size = uL;
829 file_info.uncompressed_size = uL;
831 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.size_filename) != UNZ_OK)
834 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.size_file_extra) != UNZ_OK)
837 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.size_file_comment) != UNZ_OK)
840 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.disk_num_start) != UNZ_OK)
843 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.internal_fa) != UNZ_OK)
846 if (unz64local_getLong(&s->z_filefunc, s->filestream,&file_info.external_fa) != UNZ_OK)
854 lSeek+=file_info.size_filename;
858 if (file_info.size_filename<fileNameBufferSize)
860 *(szFileName+file_info.size_filename)='\0';
861 uSizeRead = file_info.size_filename;
866 if ((file_info.size_filename>0) && (fileNameBufferSize>0))
876 if (file_info.size_file_extra<extraFieldBufferSize)
877 uSizeRead = file_info.size_file_extra;
889 if ((file_info.size_file_extra>0) && (extraFieldBufferSize>0))
893 lSeek += file_info.size_file_extra - (uLong)uSizeRead;
896 lSeek += file_info.size_file_extra;
899 if ((err==UNZ_OK) && (file_info.size_file_extra != 0))
904 lSeek -= file_info.size_file_extra;
914 while(acc < file_info.size_file_extra)
928 if(file_info.uncompressed_size == MAXU32)
930 if (unz64local_getLong64(&s->z_filefunc, s->filestream,&file_info.uncompressed_size) != UNZ_OK)
934 if(file_info.compressed_size == MAXU32)
936 if (unz64local_getLong64(&s->z_filefunc, s->filestream,&file_info.compressed_size) != UNZ_OK)
947 if(file_info.disk_num_start == 0xffff)
950 if (unz64local_getLong(&s->z_filefunc, s->filestream,&file_info.disk_num_start) != UNZ_OK)
968 if (file_info.size_file_comment<commentBufferSize)
970 *(szComment+file_info.size_file_comment)='\0';
971 uSizeRead = file_info.size_file_comment;
984 if ((file_info.size_file_comment>0) && (commentBufferSize>0))
987 lSeek+=file_info.size_file_comment - uSizeRead;
990 lSeek+=file_info.size_file_comment;
994 *pfile_info=file_info;