Lines Matching refs:filestream
168 voidpf filestream; /* io structore of the zipfile */ member
286 …_putValue OF((const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream, ZPOS64_T x, int…
287 local int zip64local_putValue (const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream,… in zip64local_putValue() argument
304 if (ZWRITE64(*pzlib_filefunc_def,filestream,buf,nbByte)!=(uLong)nbByte) in zip64local_putValue()
347 …64local_getByte OF((const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream, int *pi));
349 local int zip64local_getByte(const zlib_filefunc64_32_def* pzlib_filefunc_def,voidpf filestream,int… in zip64local_getByte() argument
352 int err = (int)ZREAD64(*pzlib_filefunc_def,filestream,&c,1); in zip64local_getByte()
360 if (ZERROR64(*pzlib_filefunc_def,filestream)) in zip64local_getByte()
371 …ocal_getShort OF((const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream, uLong *pX));
373 local int zip64local_getShort (const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream,… in zip64local_getShort() argument
379 err = zip64local_getByte(pzlib_filefunc_def,filestream,&i); in zip64local_getShort()
383 err = zip64local_getByte(pzlib_filefunc_def,filestream,&i); in zip64local_getShort()
393 …local_getLong OF((const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream, uLong *pX));
395 local int zip64local_getLong (const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream, … in zip64local_getLong() argument
401 err = zip64local_getByte(pzlib_filefunc_def,filestream,&i); in zip64local_getLong()
405 err = zip64local_getByte(pzlib_filefunc_def,filestream,&i); in zip64local_getLong()
409 err = zip64local_getByte(pzlib_filefunc_def,filestream,&i); in zip64local_getLong()
413 err = zip64local_getByte(pzlib_filefunc_def,filestream,&i); in zip64local_getLong()
423 …_getLong64 OF((const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream, ZPOS64_T *pX));
426 local int zip64local_getLong64 (const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream… in zip64local_getLong64() argument
432 err = zip64local_getByte(pzlib_filefunc_def,filestream,&i); in zip64local_getLong64()
436 err = zip64local_getByte(pzlib_filefunc_def,filestream,&i); in zip64local_getLong64()
440 err = zip64local_getByte(pzlib_filefunc_def,filestream,&i); in zip64local_getLong64()
444 err = zip64local_getByte(pzlib_filefunc_def,filestream,&i); in zip64local_getLong64()
448 err = zip64local_getByte(pzlib_filefunc_def,filestream,&i); in zip64local_getLong64()
452 err = zip64local_getByte(pzlib_filefunc_def,filestream,&i); in zip64local_getLong64()
456 err = zip64local_getByte(pzlib_filefunc_def,filestream,&i); in zip64local_getLong64()
460 err = zip64local_getByte(pzlib_filefunc_def,filestream,&i); in zip64local_getLong64()
478 …64local_SearchCentralDir OF((const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream));
480 …_T zip64local_SearchCentralDir(const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream) in zip64local_SearchCentralDir() argument
488 if (ZSEEK64(*pzlib_filefunc_def,filestream,0,ZLIB_FILEFUNC_SEEK_END) != 0) in zip64local_SearchCentralDir()
492 uSizeFile = ZTELL64(*pzlib_filefunc_def,filestream); in zip64local_SearchCentralDir()
515 if (ZSEEK64(*pzlib_filefunc_def,filestream,uReadPos,ZLIB_FILEFUNC_SEEK_SET)!=0) in zip64local_SearchCentralDir()
518 if (ZREAD64(*pzlib_filefunc_def,filestream,buf,uReadSize)!=uReadSize) in zip64local_SearchCentralDir()
540 …local_SearchCentralDir64 OF((const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream));
542 … zip64local_SearchCentralDir64(const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream) in zip64local_SearchCentralDir64() argument
552 if (ZSEEK64(*pzlib_filefunc_def,filestream,0,ZLIB_FILEFUNC_SEEK_END) != 0) in zip64local_SearchCentralDir64()
555 uSizeFile = ZTELL64(*pzlib_filefunc_def,filestream); in zip64local_SearchCentralDir64()
578 if (ZSEEK64(*pzlib_filefunc_def,filestream,uReadPos,ZLIB_FILEFUNC_SEEK_SET)!=0) in zip64local_SearchCentralDir64()
581 if (ZREAD64(*pzlib_filefunc_def,filestream,buf,uReadSize)!=uReadSize) in zip64local_SearchCentralDir64()
603 if (ZSEEK64(*pzlib_filefunc_def,filestream, uPosFound,ZLIB_FILEFUNC_SEEK_SET)!=0) in zip64local_SearchCentralDir64()
607 if (zip64local_getLong(pzlib_filefunc_def,filestream,&uL)!=ZIP_OK) in zip64local_SearchCentralDir64()
611 if (zip64local_getLong(pzlib_filefunc_def,filestream,&uL)!=ZIP_OK) in zip64local_SearchCentralDir64()
617 if (zip64local_getLong64(pzlib_filefunc_def,filestream,&relativeOffset)!=ZIP_OK) in zip64local_SearchCentralDir64()
621 if (zip64local_getLong(pzlib_filefunc_def,filestream,&uL)!=ZIP_OK) in zip64local_SearchCentralDir64()
627 if (ZSEEK64(*pzlib_filefunc_def,filestream, relativeOffset,ZLIB_FILEFUNC_SEEK_SET)!=0) in zip64local_SearchCentralDir64()
631 if (zip64local_getLong(pzlib_filefunc_def,filestream,&uL)!=ZIP_OK) in zip64local_SearchCentralDir64()
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()
804 …size_comment = ZREAD64(pziinit->z_filefunc, pziinit->filestream, pziinit->globalcomment,size_comme… 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()
838 …if (ZSEEK64(pziinit->z_filefunc, pziinit->filestream, offset_central_dir+byte_before_the_zipfile,Z… in LoadCentralDirectoryRecord()
862 ziinit.filestream = ZOPEN64(ziinit.z_filefunc, in zipOpen3()
868 if (ziinit.filestream == NULL) in zipOpen3()
872 ZSEEK64(ziinit.z_filefunc,ziinit.filestream,0,SEEK_END); in zipOpen3()
874 ziinit.begin_pos = ZTELL64(ziinit.z_filefunc,ziinit.filestream); in zipOpen3()
886 ZCLOSE64(ziinit.z_filefunc,ziinit.filestream); in zipOpen3()
965 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)LOCALHEADERMAGIC, 4); in Write_LocalFileHeader()
970 …err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)45,2);/* version needed to extract… in Write_LocalFileHeader()
972 …err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)20,2);/* version needed to extract… in Write_LocalFileHeader()
976 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)zi->ci.flag,2); in Write_LocalFileHeader()
979 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)zi->ci.method,2); in Write_LocalFileHeader()
982 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)zi->ci.dosDate,4); in Write_LocalFileHeader()
986 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,4); /* crc 32, unknown */ in Write_LocalFileHeader()
990 …err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0xFFFFFFFF,4); /* compressed size,… in Write_LocalFileHeader()
992 …err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,4); /* compressed size, unknown … in Write_LocalFileHeader()
997 …err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0xFFFFFFFF,4); /* uncompressed siz… in Write_LocalFileHeader()
999 …err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,4); /* uncompressed size, unknow… in Write_LocalFileHeader()
1003 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)size_filename,2); in Write_LocalFileHeader()
1011 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)size_extrafield,2); in Write_LocalFileHeader()
1015 if (ZWRITE64(zi->z_filefunc,zi->filestream,filename,size_filename)!=size_filename) in Write_LocalFileHeader()
1021 …if (ZWRITE64(zi->z_filefunc, zi->filestream, extrafield_local, size_extrafield_local) != size_extr… in Write_LocalFileHeader()
1035 zi->ci.pos_zip64extrainfo = ZTELL64(zi->z_filefunc,zi->filestream); in Write_LocalFileHeader()
1037 err = zip64local_putValue(&zi->z_filefunc, zi->filestream, (short)HeaderID,2); in Write_LocalFileHeader()
1038 err = zip64local_putValue(&zi->z_filefunc, zi->filestream, (short)DataSize,2); in Write_LocalFileHeader()
1040 err = zip64local_putValue(&zi->z_filefunc, zi->filestream, (ZPOS64_T)UncompressedSize,8); in Write_LocalFileHeader()
1041 err = zip64local_putValue(&zi->z_filefunc, zi->filestream, (ZPOS64_T)CompressedSize,8); in Write_LocalFileHeader()
1131 zi->ci.pos_local_header = ZTELL64(zi->z_filefunc,zi->filestream); in zipOpenNewFileInZip4_64()
1255 if (ZWRITE64(zi->z_filefunc,zi->filestream,bufHead,sizeHead) != sizeHead) in zipOpenNewFileInZip4_64()
1377 …if (ZWRITE64(zi->z_filefunc,zi->filestream,zi->ci.buffered_data,zi->ci.pos_in_buffered_data) != zi… in zip64FlushWriteBuffer()
1706 ZPOS64_T cur_pos_inzip = ZTELL64(zi->z_filefunc,zi->filestream); in zipCloseFileInZipRaw64()
1708 …if (ZSEEK64(zi->z_filefunc,zi->filestream, zi->ci.pos_local_header + 14,ZLIB_FILEFUNC_SEEK_SET)!=0) in zipCloseFileInZipRaw64()
1712 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,crc32,4); /* crc 32, unknown */ in zipCloseFileInZipRaw64()
1719 …if (ZSEEK64(zi->z_filefunc,zi->filestream, zi->ci.pos_zip64extrainfo + 4,ZLIB_FILEFUNC_SEEK_SET)!=… in zipCloseFileInZipRaw64()
1723 err = zip64local_putValue(&zi->z_filefunc, zi->filestream, uncompressed_size, 8); in zipCloseFileInZipRaw64()
1726 err = zip64local_putValue(&zi->z_filefunc, zi->filestream, compressed_size, 8); in zipCloseFileInZipRaw64()
1734 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,compressed_size,4); in zipCloseFileInZipRaw64()
1737 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,uncompressed_size,4); in zipCloseFileInZipRaw64()
1740 if (ZSEEK64(zi->z_filefunc,zi->filestream, cur_pos_inzip,ZLIB_FILEFUNC_SEEK_SET)!=0) in zipCloseFileInZipRaw64()
1760 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)ZIP64ENDLOCHEADERMAGIC,4); in Write_Zip64EndOfCentralDirectoryLocator()
1764 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,4); in Write_Zip64EndOfCentralDirectoryLocator()
1768 err = zip64local_putValue(&zi->z_filefunc,zi->filestream, pos,8); in Write_Zip64EndOfCentralDirectoryLocator()
1772 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)1,4); in Write_Zip64EndOfCentralDirectoryLocator()
1783 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)ZIP64ENDHEADERMAGIC,4); in Write_Zip64EndOfCentralDirectoryRecord()
1786 …err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(ZPOS64_T)Zip64DataSize,8); // why ZPOS64… in Write_Zip64EndOfCentralDirectoryRecord()
1789 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)45,2); in Write_Zip64EndOfCentralDirectoryRecord()
1792 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)45,2); in Write_Zip64EndOfCentralDirectoryRecord()
1795 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,4); in Write_Zip64EndOfCentralDirectoryRecord()
1798 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,4); in Write_Zip64EndOfCentralDirectoryRecord()
1801 err = zip64local_putValue(&zi->z_filefunc, zi->filestream, zi->number_entry, 8); in Write_Zip64EndOfCentralDirectoryRecord()
1804 err = zip64local_putValue(&zi->z_filefunc, zi->filestream, zi->number_entry, 8); in Write_Zip64EndOfCentralDirectoryRecord()
1807 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(ZPOS64_T)size_centraldir,8); in Write_Zip64EndOfCentralDirectoryRecord()
1812 err = zip64local_putValue(&zi->z_filefunc,zi->filestream, (ZPOS64_T)pos,8); in Write_Zip64EndOfCentralDirectoryRecord()
1821 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)ENDHEADERMAGIC,4); in Write_EndOfCentralDirectoryRecord()
1824 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,2); in Write_EndOfCentralDirectoryRecord()
1827 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,2); in Write_EndOfCentralDirectoryRecord()
1833 …err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0xffff,2); // use value in ZIP64 r… in Write_EndOfCentralDirectoryRecord()
1835 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)zi->number_entry,2); in Write_EndOfCentralDirectoryRecord()
1842 …err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)0xffff,2); // use value in ZIP64 r… in Write_EndOfCentralDirectoryRecord()
1844 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)zi->number_entry,2); in Write_EndOfCentralDirectoryRecord()
1848 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)size_centraldir,4); in Write_EndOfCentralDirectoryRecord()
1855 err = zip64local_putValue(&zi->z_filefunc,zi->filestream, (uLong)0xffffffff,4); in Write_EndOfCentralDirectoryRecord()
1858 …err = zip64local_putValue(&zi->z_filefunc,zi->filestream, (uLong)(centraldir_pos_inzip - zi->add_p… in Write_EndOfCentralDirectoryRecord()
1872 err = zip64local_putValue(&zi->z_filefunc,zi->filestream,(uLong)size_global_comment,2); in Write_GlobalComment()
1876 …if (ZWRITE64(zi->z_filefunc,zi->filestream, global_comment, size_global_comment) != size_global_co… in Write_GlobalComment()
1905 centraldir_pos_inzip = ZTELL64(zi->z_filefunc,zi->filestream); in zipClose()
1914 …if (ZWRITE64(zi->z_filefunc,zi->filestream, ldi->data, ldi->filled_in_this_block) != ldi->filled_i… in zipClose()
1927 ZPOS64_T Zip64EOCDpos = ZTELL64(zi->z_filefunc,zi->filestream); in zipClose()
1939 if (ZCLOSE64(zi->z_filefunc,zi->filestream) != 0) in zipClose()