Lines Matching refs:pziinit
640 int LoadCentralDirectoryRecord(zip64_internal* pziinit) in LoadCentralDirectoryRecord() argument
665 central_pos = zip64local_SearchCentralDir64(&pziinit->z_filefunc,pziinit->filestream); in LoadCentralDirectoryRecord()
672 central_pos = zip64local_SearchCentralDir(&pziinit->z_filefunc,pziinit->filestream); in LoadCentralDirectoryRecord()
683 if (ZSEEK64(pziinit->z_filefunc, pziinit->filestream, central_pos, ZLIB_FILEFUNC_SEEK_SET) != 0) in LoadCentralDirectoryRecord()
687 if (zip64local_getLong(&pziinit->z_filefunc, pziinit->filestream,&uL)!=ZIP_OK) in LoadCentralDirectoryRecord()
691 …if (zip64local_getLong64(&pziinit->z_filefunc, pziinit->filestream, &sizeEndOfCentralDirectory)!=Z… in LoadCentralDirectoryRecord()
695 if (zip64local_getShort(&pziinit->z_filefunc, pziinit->filestream, &VersionMadeBy)!=ZIP_OK) in LoadCentralDirectoryRecord()
699 if (zip64local_getShort(&pziinit->z_filefunc, pziinit->filestream, &VersionNeeded)!=ZIP_OK) in LoadCentralDirectoryRecord()
703 if (zip64local_getLong(&pziinit->z_filefunc, pziinit->filestream,&number_disk)!=ZIP_OK) in LoadCentralDirectoryRecord()
707 if (zip64local_getLong(&pziinit->z_filefunc, pziinit->filestream,&number_disk_with_CD)!=ZIP_OK) in LoadCentralDirectoryRecord()
711 if (zip64local_getLong64(&pziinit->z_filefunc, pziinit->filestream, &number_entry)!=ZIP_OK) in LoadCentralDirectoryRecord()
715 if (zip64local_getLong64(&pziinit->z_filefunc, pziinit->filestream,&number_entry_CD)!=ZIP_OK) in LoadCentralDirectoryRecord()
722 if (zip64local_getLong64(&pziinit->z_filefunc, pziinit->filestream,&size_central_dir)!=ZIP_OK) in LoadCentralDirectoryRecord()
727 if (zip64local_getLong64(&pziinit->z_filefunc, pziinit->filestream,&offset_central_dir)!=ZIP_OK) in LoadCentralDirectoryRecord()
737 if (ZSEEK64(pziinit->z_filefunc, pziinit->filestream, central_pos,ZLIB_FILEFUNC_SEEK_SET)!=0) in LoadCentralDirectoryRecord()
741 if (zip64local_getLong(&pziinit->z_filefunc, pziinit->filestream,&uL)!=ZIP_OK) in LoadCentralDirectoryRecord()
745 if (zip64local_getShort(&pziinit->z_filefunc, pziinit->filestream,&number_disk)!=ZIP_OK) in LoadCentralDirectoryRecord()
749 if (zip64local_getShort(&pziinit->z_filefunc, pziinit->filestream,&number_disk_with_CD)!=ZIP_OK) in LoadCentralDirectoryRecord()
754 if (zip64local_getShort(&pziinit->z_filefunc, pziinit->filestream, &uL)!=ZIP_OK) in LoadCentralDirectoryRecord()
761 if (zip64local_getShort(&pziinit->z_filefunc, pziinit->filestream, &uL)!=ZIP_OK) in LoadCentralDirectoryRecord()
771 if (zip64local_getLong(&pziinit->z_filefunc, pziinit->filestream, &uL)!=ZIP_OK) in LoadCentralDirectoryRecord()
778 if (zip64local_getLong(&pziinit->z_filefunc, pziinit->filestream, &uL)!=ZIP_OK) in LoadCentralDirectoryRecord()
785 if (zip64local_getShort(&pziinit->z_filefunc, pziinit->filestream, &size_comment)!=ZIP_OK) in LoadCentralDirectoryRecord()
795 ZCLOSE64(pziinit->z_filefunc, pziinit->filestream); in LoadCentralDirectoryRecord()
801 pziinit->globalcomment = (char*)ALLOC(size_comment+1); in LoadCentralDirectoryRecord()
802 if (pziinit->globalcomment) in LoadCentralDirectoryRecord()
804 …size_comment = ZREAD64(pziinit->z_filefunc, pziinit->filestream, pziinit->globalcomment,size_comme… in LoadCentralDirectoryRecord()
805 pziinit->globalcomment[size_comment]=0; in LoadCentralDirectoryRecord()
810 pziinit->add_position_when_writing_offset = byte_before_the_zipfile; in LoadCentralDirectoryRecord()
816 …if (ZSEEK64(pziinit->z_filefunc, pziinit->filestream, offset_central_dir + byte_before_the_zipfile… in LoadCentralDirectoryRecord()
825 if (ZREAD64(pziinit->z_filefunc, pziinit->filestream,buf_read,(uLong)read_this) != read_this) in LoadCentralDirectoryRecord()
829 err = add_data_in_datablock(&pziinit->central_dir,buf_read, (uLong)read_this); in LoadCentralDirectoryRecord()
835 pziinit->begin_pos = byte_before_the_zipfile; in LoadCentralDirectoryRecord()
836 pziinit->number_entry = number_entry_CD; in LoadCentralDirectoryRecord()
838 …if (ZSEEK64(pziinit->z_filefunc, pziinit->filestream, offset_central_dir+byte_before_the_zipfile,Z… in LoadCentralDirectoryRecord()