ckb-next
v0.2.8 at branch master
ckb-next driver for corsair devices
|
Go to the source code of this file.
Data Structures | |
struct | tm_unz_s |
struct | unz_global_info64_s |
struct | unz_global_info_s |
struct | unz_file_info64_s |
struct | unz_file_info_s |
struct | unz_file_pos_s |
struct | unz64_file_pos_s |
Macros | |
#define | Z_BZIP2ED 12 |
#define | UNZ_OK (0) |
#define | UNZ_END_OF_LIST_OF_FILE (-100) |
#define | UNZ_ERRNO (Z_ERRNO) |
#define | UNZ_EOF (0) |
#define | UNZ_PARAMERROR (-102) |
#define | UNZ_BADZIPFILE (-103) |
#define | UNZ_INTERNALERROR (-104) |
#define | UNZ_CRCERROR (-105) |
#define | UNZ_AUTO_CLOSE 0x01u |
#define | UNZ_DEFAULT_FLAGS UNZ_AUTO_CLOSE |
Typedefs | |
typedef voidp | unzFile |
typedef struct tm_unz_s | tm_unz |
typedef struct unz_global_info64_s | unz_global_info64 |
typedef struct unz_global_info_s | unz_global_info |
typedef struct unz_file_info64_s | unz_file_info64 |
typedef struct unz_file_info_s | unz_file_info |
typedef struct unz_file_pos_s | unz_file_pos |
typedef struct unz64_file_pos_s | unz64_file_pos |
Functions | |
int ZEXPORT unzStringFileNameCompare | _Z_OF ((const char *fileName1, const char *fileName2, int iCaseSensitivity)) |
unzFile ZEXPORT unzOpen | _Z_OF ((voidpf file)) |
unzFile ZEXPORT unzOpen2 | _Z_OF ((voidpf file, zlib_filefunc_def *pzlib_filefunc_def)) |
unzFile ZEXPORT unzOpen2_64 | _Z_OF ((voidpf file, zlib_filefunc64_def *pzlib_filefunc_def)) |
unzFile | unzOpenInternal (voidpf file, zlib_filefunc64_32_def *pzlib_filefunc64_32_def, int is64bitOpenFunction, unsigned flags) |
int ZEXPORT unzClose | _Z_OF ((unzFile file)) |
Addition for GDAL : START. More... | |
int ZEXPORT unzGetGlobalInfo | _Z_OF ((unzFile file, unz_global_info *pglobal_info)) |
int ZEXPORT unzGetGlobalInfo64 | _Z_OF ((unzFile file, unz_global_info64 *pglobal_info)) |
int ZEXPORT unzGetGlobalComment | _Z_OF ((unzFile file, char *szComment, uLong uSizeBuf)) |
int ZEXPORT unzLocateFile | _Z_OF ((unzFile file, const char *szFileName, int iCaseSensitivity)) |
int ZEXPORT | unzGetFilePos (unzFile file, unz_file_pos *file_pos) |
int ZEXPORT | unzGoToFilePos (unzFile file, unz_file_pos *file_pos) |
int ZEXPORT | unzGetFilePos64 (unzFile file, unz64_file_pos *file_pos) |
int ZEXPORT | unzGoToFilePos64 (unzFile file, const unz64_file_pos *file_pos) |
int ZEXPORT unzGetCurrentFileInfo64 | _Z_OF ((unzFile file, unz_file_info64 *pfile_info, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize)) |
int ZEXPORT unzGetCurrentFileInfo | _Z_OF ((unzFile file, unz_file_info *pfile_info, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize)) |
int ZEXPORT unzOpenCurrentFilePassword | _Z_OF ((unzFile file, const char *password)) |
int ZEXPORT unzOpenCurrentFile2 | _Z_OF ((unzFile file, int *method, int *level, int raw)) |
int ZEXPORT unzOpenCurrentFile3 | _Z_OF ((unzFile file, int *method, int *level, int raw, const char *password)) |
int ZEXPORT unzReadCurrentFile | _Z_OF ((unzFile file, voidp buf, unsigned len)) |
ZPOS64_T ZEXPORT | unzGetOffset64 (unzFile file) |
uLong ZEXPORT | unzGetOffset (unzFile file) |
int ZEXPORT | unzSetOffset64 (unzFile file, ZPOS64_T pos) |
int ZEXPORT | unzSetOffset (unzFile file, uLong pos) |
int ZEXPORT | unzSetFlags (unzFile file, unsigned flags) |
int ZEXPORT | unzClearFlags (unzFile file, unsigned flags) |
struct tm_unz_s |
struct unz_global_info64_s |
struct unz_global_info_s |
struct unz_file_info64_s |
Data Fields | ||
---|---|---|
ZPOS64_T | compressed_size | |
uLong | compression_method | |
uLong | crc | |
uLong | disk_num_start | |
uLong | dosDate | |
uLong | external_fa | |
uLong | flag | |
uLong | internal_fa | |
uLong | size_file_comment | |
uLong | size_file_extra | |
uLong | size_filename | |
tm_unz | tmu_date | |
ZPOS64_T | uncompressed_size | |
uLong | version | |
uLong | version_needed |
struct unz_file_info_s |
Data Fields | ||
---|---|---|
uLong | compressed_size | |
uLong | compression_method | |
uLong | crc | |
uLong | disk_num_start | |
uLong | dosDate | |
uLong | external_fa | |
uLong | flag | |
uLong | internal_fa | |
uLong | size_file_comment | |
uLong | size_file_extra | |
uLong | size_filename | |
tm_unz | tmu_date | |
uLong | uncompressed_size | |
uLong | version | |
uLong | version_needed |
struct unz_file_pos_s |
struct unz64_file_pos_s |
#define UNZ_AUTO_CLOSE 0x01u |
Definition at line 88 of file unzip.h.
Referenced by QuaZip::open(), unzClose(), and unzOpenInternal().
#define UNZ_BADZIPFILE (-103) |
Definition at line 84 of file unzip.h.
Referenced by unz64local_CheckCurrentFileCoherencyHeader(), unz64local_GetCurrentFileInfoInternal(), unzOpenCurrentFile3(), and unzOpenInternal().
#define UNZ_CRCERROR (-105) |
Definition at line 86 of file unzip.h.
Referenced by unzCloseCurrentFile().
#define UNZ_DEFAULT_FLAGS UNZ_AUTO_CLOSE |
Definition at line 89 of file unzip.h.
Referenced by unzOpen(), unzOpen2(), unzOpen2_64(), and unzOpen64().
#define UNZ_END_OF_LIST_OF_FILE (-100) |
Definition at line 80 of file unzip.h.
Referenced by QuaZipPrivate::goToFirstUnmappedFile(), QuaZip::goToNextFile(), unzGetFilePos64(), unzGoToNextFile(), unzLocateFile(), and unzReadCurrentFile().
#define UNZ_EOF (0) |
Definition at line 82 of file unzip.h.
Referenced by unz64local_getByte(), and unzReadCurrentFile().
#define UNZ_ERRNO (Z_ERRNO) |
Definition at line 81 of file unzip.h.
Referenced by unz64local_CheckCurrentFileCoherencyHeader(), unz64local_getByte(), unz64local_GetCurrentFileInfoInternal(), unzGetGlobalComment(), unzGetLocalExtrafield(), unzOpenInternal(), and unzReadCurrentFile().
#define UNZ_INTERNALERROR (-104) |
Definition at line 85 of file unzip.h.
Referenced by unzOpenCurrentFile3().
#define UNZ_OK (0) |
Definition at line 79 of file unzip.h.
Referenced by QuaZip::close(), QuaZipFile::close(), JlCompress::compressFile(), QuaZipFile::csize(), JlCompress::extractFile(), QuaZipFile::getActualFileName(), QuaZip::getComment(), QuaZip::getCurrentFileInfo(), QuaZip::getCurrentFileName(), QuaZip::getEntriesCount(), QuaZipFile::getFileInfo(), QuaZipPrivate::getFileInfoList(), QuaZip::goToFirstFile(), QuaZipPrivate::goToFirstUnmappedFile(), QuaZip::goToNextFile(), QuaZip::open(), QuaZipFile::open(), QuaZipFile::readData(), QuaZipFilePrivate::resetZipError(), QuaZip::setCurrentFile(), QuaZipFilePrivate::setZipError(), unz64local_CheckCurrentFileCoherencyHeader(), unz64local_getByte(), unz64local_GetCurrentFileInfoInternal(), unz64local_getLong(), unz64local_getLong64(), unz64local_getShort(), unz64local_SearchCentralDir64(), unzClearFlags(), unzClose(), unzCloseCurrentFile(), unzGetCurrentFileInfo(), unzGetFilePos(), unzGetFilePos64(), unzGetGlobalInfo(), unzGetGlobalInfo64(), unzGoToFilePos64(), unzGoToFirstFile(), unzGoToNextFile(), unzLocateFile(), unzOpenCurrentFile3(), unzOpenInternal(), unzReadCurrentFile(), unzSetFlags(), unzSetOffset64(), and QuaZipFile::usize().
#define UNZ_PARAMERROR (-102) |
Definition at line 83 of file unzip.h.
Referenced by QuaZip::setCurrentFile(), unz64local_GetCurrentFileInfoInternal(), unzClearFlags(), unzClose(), unzCloseCurrentFile(), unzeof(), unzGetFilePos64(), unzGetGlobalComment(), unzGetGlobalInfo(), unzGetGlobalInfo64(), unzGetLocalExtrafield(), unzGoToFilePos(), unzGoToFilePos64(), unzGoToFirstFile(), unzGoToNextFile(), unzLocateFile(), unzOpenCurrentFile3(), unzReadCurrentFile(), unzSetFlags(), unzSetOffset64(), and unztell().
#define Z_BZIP2ED 12 |
Definition at line 67 of file unzip.h.
Referenced by unz64local_CheckCurrentFileCoherencyHeader(), unzCloseCurrentFile(), unzOpenCurrentFile3(), unzReadCurrentFile(), zip64FlushWriteBuffer(), zipCloseFileInZipRaw64(), zipOpenNewFileInZip4_64(), and zipWriteInFileInZip().
typedef struct unz64_file_pos_s unz64_file_pos |
typedef struct unz_file_info_s unz_file_info |
typedef struct unz_file_info64_s unz_file_info64 |
typedef struct unz_file_pos_s unz_file_pos |
typedef struct unz_global_info_s unz_global_info |
typedef struct unz_global_info64_s unz_global_info64 |
int ZEXPORT unzStringFileNameCompare _Z_OF | ( | (const char *fileName1, const char *fileName2, int iCaseSensitivity) | ) |
unzFile ZEXPORT unzOpen2 _Z_OF | ( | (voidpf file, zlib_filefunc_def *pzlib_filefunc_def) | ) |
unzFile ZEXPORT unzOpen2_64 _Z_OF | ( | (voidpf file, zlib_filefunc64_def *pzlib_filefunc_def) | ) |
int ZEXPORT unzGetGlobalInfo _Z_OF | ( | (unzFile file, unz_global_info *pglobal_info) | ) |
int ZEXPORT unzGetGlobalInfo64 _Z_OF | ( | (unzFile file, unz_global_info64 *pglobal_info) | ) |
int ZEXPORT unzGetGlobalComment _Z_OF | ( | (unzFile file, char *szComment, uLong uSizeBuf) | ) |
int ZEXPORT unzLocateFile _Z_OF | ( | (unzFile file, const char *szFileName, int iCaseSensitivity) | ) |
int ZEXPORT unzGetCurrentFileInfo64 _Z_OF | ( | (unzFile file, unz_file_info64 *pfile_info, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize) | ) |
int ZEXPORT unzGetCurrentFileInfo _Z_OF | ( | (unzFile file, unz_file_info *pfile_info, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize) | ) |
int ZEXPORT unzOpenCurrentFilePassword _Z_OF | ( | (unzFile file, const char *password) | ) |
int ZEXPORT unzOpenCurrentFile2 _Z_OF | ( | (unzFile file, int *method, int *level, int raw) | ) |
int ZEXPORT unzOpenCurrentFile3 _Z_OF | ( | (unzFile file, int *method, int *level, int raw, const char *password) | ) |
int ZEXPORT unzReadCurrentFile _Z_OF | ( | (unzFile file, voidp buf, unsigned len) | ) |
int ZEXPORT unzClearFlags | ( | unzFile | file, |
unsigned | flags | ||
) |
Definition at line 2147 of file unzip.c.
References unz64_s::flags, UNZ_OK, and UNZ_PARAMERROR.
Referenced by QuaZip::open().
int ZEXPORT unzGetFilePos | ( | unzFile | file, |
unz_file_pos * | file_pos | ||
) |
Definition at line 1334 of file unzip.c.
References unz_file_pos_s::num_of_file, unz64_file_pos_s::num_of_file, unz_file_pos_s::pos_in_zip_directory, unz64_file_pos_s::pos_in_zip_directory, UNZ_OK, and unzGetFilePos64().
int ZEXPORT unzGetFilePos64 | ( | unzFile | file, |
unz64_file_pos * | file_pos | ||
) |
Definition at line 1318 of file unzip.c.
References unz64_s::current_file_ok, unz64_s::num_file, unz64_file_pos_s::num_of_file, unz64_s::pos_in_central_dir, unz64_file_pos_s::pos_in_zip_directory, UNZ_END_OF_LIST_OF_FILE, UNZ_OK, and UNZ_PARAMERROR.
Referenced by QuaZipPrivate::addCurrentFileToDirectoryMap(), and unzGetFilePos().
uLong ZEXPORT unzGetOffset | ( | unzFile | file | ) |
Definition at line 2102 of file unzip.c.
References unzGetOffset64().
Definition at line 2087 of file unzip.c.
References unz64_s::current_file_ok, unz64_s::gi, unz64_s::num_file, unz_global_info64_s::number_entry, and unz64_s::pos_in_central_dir.
Referenced by unzGetOffset().
int ZEXPORT unzGoToFilePos | ( | unzFile | file, |
unz_file_pos * | file_pos | ||
) |
Definition at line 1370 of file unzip.c.
References unz_file_pos_s::num_of_file, unz64_file_pos_s::num_of_file, unz_file_pos_s::pos_in_zip_directory, unz64_file_pos_s::pos_in_zip_directory, UNZ_PARAMERROR, and unzGoToFilePos64().
int ZEXPORT unzGoToFilePos64 | ( | unzFile | file, |
const unz64_file_pos * | file_pos | ||
) |
Definition at line 1348 of file unzip.c.
References unz64_s::cur_file_info, unz64_s::cur_file_info_internal, unz64_s::current_file_ok, unz64_s::num_file, unz64_file_pos_s::num_of_file, unz64_s::pos_in_central_dir, unz64_file_pos_s::pos_in_zip_directory, unz64local_GetCurrentFileInfoInternal(), UNZ_OK, and UNZ_PARAMERROR.
Referenced by QuaZipPrivate::goToFirstUnmappedFile(), QuaZip::setCurrentFile(), and unzGoToFilePos().
unzFile unzOpenInternal | ( | voidpf | file, |
zlib_filefunc64_32_def * | pzlib_filefunc64_32_def, | ||
int | is64bitOpenFunction, | ||
unsigned | flags | ||
) |
Definition at line 587 of file unzip.c.
References ALLOC, unz64_s::byte_before_the_zipfile, unz64_s::central_pos, unz64_s::encrypted, unz64_s::filestream, fill_qiodevice64_filefunc(), unz64_s::flags, unz64_s::gi, unz64_s::is64bitOpenFunction, unz64_s::isZip64, unz_global_info64_s::number_entry, unz64_s::offset_central_dir, unz64_s::pfile_in_zip_read, unz64_s::size_central_dir, unz_global_info64_s::size_comment, unz64local_getLong(), unz64local_getLong64(), unz64local_getShort(), unz64local_SearchCentralDir(), unz64local_SearchCentralDir64(), UNZ_AUTO_CLOSE, UNZ_BADZIPFILE, unz_copyright, UNZ_ERRNO, UNZ_OK, unzGoToFirstFile(), unz64_s::z_filefunc, ZCLOSE64, ZFAKECLOSE64, zlib_filefunc64_32_def_s::zfile_func64, ZLIB_FILEFUNC_MODE_EXISTING, ZLIB_FILEFUNC_MODE_READ, ZLIB_FILEFUNC_SEEK_SET, ZOPEN64, zlib_filefunc64_32_def_s::zseek32_file, ZSEEK64, and zlib_filefunc64_32_def_s::ztell32_file.
Referenced by QuaZip::open(), unzOpen(), unzOpen2(), unzOpen2_64(), and unzOpen64().
int ZEXPORT unzSetFlags | ( | unzFile | file, |
unsigned | flags | ||
) |
Definition at line 2136 of file unzip.c.
References unz64_s::flags, UNZ_OK, and UNZ_PARAMERROR.
Referenced by QuaZip::open().
int ZEXPORT unzSetOffset | ( | unzFile | file, |
uLong | pos | ||
) |
Definition at line 2130 of file unzip.c.
References unzSetOffset64().
Definition at line 2112 of file unzip.c.
References unz64_s::cur_file_info, unz64_s::cur_file_info_internal, unz64_s::current_file_ok, unz64_s::gi, unz64_s::num_file, unz_global_info64_s::number_entry, unz64_s::pos_in_central_dir, unz64local_GetCurrentFileInfoInternal(), UNZ_OK, and UNZ_PARAMERROR.
Referenced by unzSetOffset().