Lines Matching refs:file_info
987 unz_file_info64 file_info;
1012 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.version) != UNZ_OK)
1015 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.version_needed) != UNZ_OK)
1018 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.flag) != UNZ_OK)
1021 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.compression_method) != UNZ_OK)
1024 if (unz64local_getLong(&s->z_filefunc, s->filestream,&file_info.dosDate) != UNZ_OK)
1027 unz64local_DosDateToTmuDate(file_info.dosDate,&file_info.tmu_date);
1029 if (unz64local_getLong(&s->z_filefunc, s->filestream,&file_info.crc) != UNZ_OK)
1034 file_info.compressed_size = uL;
1038 file_info.uncompressed_size = uL;
1040 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.size_filename) != UNZ_OK)
1043 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.size_file_extra) != UNZ_OK)
1046 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.size_file_comment) != UNZ_OK)
1049 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.disk_num_start) != UNZ_OK)
1052 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.internal_fa) != UNZ_OK)
1055 if (unz64local_getLong(&s->z_filefunc, s->filestream,&file_info.external_fa) != UNZ_OK)
1063 lSeek+=file_info.size_filename;
1067 if (file_info.size_filename<fileNameBufferSize)
1069 *(szFileName+file_info.size_filename)='\0';
1070 uSizeRead = file_info.size_filename;
1075 if ((file_info.size_filename>0) && (fileNameBufferSize>0))
1085 if (file_info.size_file_extra<extraFieldBufferSize)
1086 uSizeRead = file_info.size_file_extra;
1098 if ((file_info.size_file_extra>0) && (extraFieldBufferSize>0))
1102 lSeek += file_info.size_file_extra - (uLong)uSizeRead;
1105 lSeek += file_info.size_file_extra;
1108 if ((err==UNZ_OK) && (file_info.size_file_extra != 0))
1113 lSeek -= file_info.size_file_extra;
1123 while(acc < file_info.size_file_extra)
1137 if(file_info.uncompressed_size == MAXU32)
1139 if (unz64local_getLong64(&s->z_filefunc, s->filestream,&file_info.uncompressed_size) != UNZ_OK)
1143 if(file_info.compressed_size == MAXU32)
1145 if (unz64local_getLong64(&s->z_filefunc, s->filestream,&file_info.compressed_size) != UNZ_OK)
1156 if(file_info.disk_num_start == 0xffff)
1159 if (unz64local_getLong(&s->z_filefunc, s->filestream,&file_info.disk_num_start) != UNZ_OK)
1177 if (file_info.size_file_comment<commentBufferSize)
1179 *(szComment+file_info.size_file_comment)='\0';
1180 uSizeRead = file_info.size_file_comment;
1193 if ((file_info.size_file_comment>0) && (commentBufferSize>0))
1196 lSeek+=file_info.size_file_comment - uSizeRead;
1199 lSeek+=file_info.size_file_comment;
1203 *pfile_info=file_info;