NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <tchar.h>
#include "unzip.h"
Go to the source code of this file.
Classes | |
struct | tm_unz_s |
struct | unz_global_info_s |
struct | unz_file_info_s |
struct | z_stream_s |
struct | inflate_huft_s |
struct | inflate_blocks_state |
struct | inflate_codes_state |
struct | internal_state |
struct | unz_file_info_internal_s |
struct | LUFILE |
struct | file_in_zip_read_info_s |
struct | unz_s |
class | TUnzip |
struct | TUnzipHandleData |
Macros | |
#define | ZIP_HANDLE 1 |
#define | ZIP_FILENAME 2 |
#define | ZIP_MEMORY 3 |
#define | zmalloc(len) malloc(len) |
#define | zfree(p) free(p) |
#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_PASSWORD (-106) |
#define | ZLIB_VERSION "1.1.3" |
#define | Z_NO_FLUSH 0 |
#define | Z_SYNC_FLUSH 2 |
#define | Z_FULL_FLUSH 3 |
#define | Z_FINISH 4 |
#define | Z_NO_COMPRESSION 0 |
#define | Z_BEST_SPEED 1 |
#define | Z_BEST_COMPRESSION 9 |
#define | Z_DEFAULT_COMPRESSION (-1) |
#define | Z_FILTERED 1 |
#define | Z_HUFFMAN_ONLY 2 |
#define | Z_DEFAULT_STRATEGY 0 |
#define | Z_BINARY 0 |
#define | Z_ASCII 1 |
#define | Z_UNKNOWN 2 |
#define | Z_DEFLATED 8 |
#define | Z_NULL 0 |
#define | CASE_SENSITIVE 1 |
#define | CASE_INSENSITIVE 2 |
#define | Z_OK 0 |
#define | Z_STREAM_END 1 |
#define | Z_NEED_DICT 2 |
#define | Z_ERRNO (-1) |
#define | Z_STREAM_ERROR (-2) |
#define | Z_DATA_ERROR (-3) |
#define | Z_MEM_ERROR (-4) |
#define | Z_BUF_ERROR (-5) |
#define | Z_VERSION_ERROR (-6) |
#define | ERR_MSG(err) z_errmsg[Z_NEED_DICT-(err)] |
#define | ERR_RETURN(strm, err) return (strm->msg = (char*)ERR_MSG(err), (err)) |
#define | STORED_BLOCK 0 |
#define | STATIC_TREES 1 |
#define | DYN_TREES 2 |
#define | MIN_MATCH 3 |
#define | MAX_MATCH 258 |
#define | PRESET_DICT 0x20 |
#define | OS_CODE 0x0b |
#define | zmemzero(dest, len) memset(dest, 0, len) |
#define | LuAssert(cond, msg) |
#define | LuTrace(x) |
#define | LuTracev(x) |
#define | LuTracevv(x) |
#define | LuTracec(c, x) |
#define | LuTracecv(c, x) |
#define | ZALLOC(strm, items, size) (*((strm)->zalloc))((strm)->opaque, (items), (size)) |
#define | ZFREE(strm, addr) (*((strm)->zfree))((strm)->opaque, (voidpf)(addr)) |
#define | TRY_FREE(s, p) {if (p) ZFREE(s, p);} |
#define | MANY 1440 |
#define | UPDBITS {s->bitb=b;s->bitk=k;} |
#define | UPDIN {z->avail_in=n;z->total_in+=(uLong)(p-z->next_in);z->next_in=p;} |
#define | UPDOUT {s->write=q;} |
#define | UPDATE {UPDBITS UPDIN UPDOUT} |
#define | LEAVE {UPDATE return inflate_flush(s,z,r);} |
#define | LOADIN {p=z->next_in;n=z->avail_in;b=s->bitb;k=s->bitk;} |
#define | NEEDBYTE {if(n)r=Z_OK;else LEAVE} |
#define | NEXTBYTE (n--,*p++) |
#define | NEEDBITS(j) {while(k<(j)){NEEDBYTE;b|=((uLong)NEXTBYTE)<<k;k+=8;}} |
#define | DUMPBITS(j) {b>>=(j);k-=(j);} |
#define | WAVAIL (uInt)(q<s->read?s->read-q-1:s->end-q) |
#define | LOADOUT {q=s->write;m=(uInt)WAVAIL;m;} |
#define | WRAP {if(q==s->end&&s->read!=s->window){q=s->window;m=(uInt)WAVAIL;}} |
#define | FLUSH {UPDOUT r=inflate_flush(s,z,r); LOADOUT} |
#define | NEEDOUT {if(m==0){WRAP if(m==0){FLUSH WRAP if(m==0) LEAVE}}r=Z_OK;} |
#define | OUTBYTE(a) {*q++=(Byte)(a);m--;} |
#define | LOAD {LOADIN LOADOUT} |
#define | exop word.what.Exop |
#define | bits word.what.Bits |
#define | BMAX 15 |
#define | C0 *p++ = 0; |
#define | C2 C0 C0 C0 C0 |
#define | C4 C2 C2 C2 C2 |
#define | GRABBITS(j) {while(k<(j)){b|=((uLong)NEXTBYTE)<<k;k+=8;}} |
#define | UNGRAB {c=z->avail_in-n;c=(k>>3)<c?k>>3:c;n+=c;p-=c;k-=c<<3;} |
#define | CRC_DO1(buf) crc = crc_table[((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8); |
#define | CRC_DO2(buf) CRC_DO1(buf); CRC_DO1(buf); |
#define | CRC_DO4(buf) CRC_DO2(buf); CRC_DO2(buf); |
#define | CRC_DO8(buf) CRC_DO4(buf); CRC_DO4(buf); |
#define | CRC32(c, b) (crc_table[((int)(c)^(b))&0xff]^((c)>>8)) |
#define | BASE 65521L |
#define | NMAX 5552 |
#define | AD_DO1(buf, i) {s1 += buf[i]; s2 += s1;} |
#define | AD_DO2(buf, i) AD_DO1(buf,i); AD_DO1(buf,i+1); |
#define | AD_DO4(buf, i) AD_DO2(buf,i); AD_DO2(buf,i+2); |
#define | AD_DO8(buf, i) AD_DO4(buf,i); AD_DO4(buf,i+4); |
#define | AD_DO16(buf) AD_DO8(buf,0); AD_DO8(buf,8); |
#define | IM_NEEDBYTE {if(z->avail_in==0)return r;r=f;} |
#define | IM_NEXTBYTE (z->avail_in--,z->total_in++,*z->next_in++) |
#define | UNZ_BUFSIZE (16384) |
#define | UNZ_MAXFILENAMEINZIP (256) |
#define | SIZECENTRALDIRITEM (0x2e) |
#define | SIZEZIPLOCALHEADER (0x1e) |
#define | BUFREADCOMMENT (0x400) |
Typedefs | |
typedef struct tm_unz_s | tm_unz |
typedef struct unz_global_info_s | unz_global_info |
typedef struct unz_file_info_s | unz_file_info |
typedef unsigned char | Byte |
typedef unsigned int | uInt |
typedef unsigned long | uLong |
typedef void * | voidpf |
typedef void * | voidp |
typedef long | z_off_t |
typedef voidpf(* | alloc_func) (voidpf opaque, uInt items, uInt size) |
typedef void(* | free_func) (voidpf opaque, voidpf address) |
typedef struct z_stream_s | z_stream |
typedef z_stream * | z_streamp |
typedef unsigned char | uch |
typedef uch | uchf |
typedef unsigned short | ush |
typedef ush | ushf |
typedef unsigned long | ulg |
typedef uLong(* | check_func) (uLong check, const Byte *buf, uInt len) |
typedef struct inflate_huft_s | inflate_huft |
typedef struct inflate_blocks_state | inflate_blocks_statef |
typedef struct inflate_codes_state | inflate_codes_statef |
typedef struct unz_file_info_internal_s | unz_file_info_internal |
typedef struct unz_s * | unzFile |
typedef unsigned __int32 | lutime_t |
Enumerations | |
enum | inflate_block_mode { IBM_TYPE , IBM_LENS , IBM_STORED , IBM_TABLE , IBM_BTREE , IBM_DTREE , IBM_CODES , IBM_DRY , IBM_DONE , IBM_BAD } |
enum | inflate_codes_mode { START , LEN , LENEXT , DIST , DISTEXT , COPY , LIT , WASH , END , BADCODE } |
enum | inflate_mode { IM_METHOD , IM_FLAG , IM_DICT4 , IM_DICT3 , IM_DICT2 , IM_DICT1 , IM_DICT0 , IM_BLOCKS , IM_CHECK4 , IM_CHECK3 , IM_CHECK2 , IM_CHECK1 , IM_DONE , IM_BAD } |
Functions | |
const char * | zlibVersion () |
int | inflate (z_streamp strm, int flush) |
int | inflateEnd (z_streamp strm) |
int | inflateSetDictionary (z_streamp strm, const Byte *dictionary, uInt dictLength) |
int | inflateSync (z_streamp strm) |
int | inflateReset (z_streamp strm) |
uLong | adler32 (uLong adler, const Byte *buf, uInt len) |
uLong | ucrc32 (uLong crc, const Byte *buf, uInt len) |
const char * | zError (int err) |
int | inflateSyncPoint (z_streamp z) |
const uLong * | get_crc_table (void) |
voidpf | zcalloc (voidpf opaque, unsigned items, unsigned size) |
void | zcfree (voidpf opaque, voidpf ptr) |
int | inflate_trees_bits (uInt *, uInt *, inflate_huft **, inflate_huft *, z_streamp) |
int | inflate_trees_dynamic (uInt, uInt, uInt *, uInt *, uInt *, inflate_huft **, inflate_huft **, inflate_huft *, z_streamp) |
int | inflate_trees_fixed (uInt *, uInt *, const inflate_huft **, const inflate_huft **, z_streamp) |
inflate_blocks_statef * | inflate_blocks_new (z_streamp z, check_func c, uInt w) |
int | inflate_blocks (inflate_blocks_statef *, z_streamp, int) |
void | inflate_blocks_reset (inflate_blocks_statef *, z_streamp, uLong *) |
int | inflate_blocks_free (inflate_blocks_statef *, z_streamp) |
void | inflate_set_dictionary (inflate_blocks_statef *s, const Byte *d, uInt n) |
int | inflate_blocks_sync_point (inflate_blocks_statef *s) |
inflate_codes_statef * | inflate_codes_new (uInt, uInt, const inflate_huft *, const inflate_huft *, z_streamp) |
int | inflate_codes (inflate_blocks_statef *, z_streamp, int) |
void | inflate_codes_free (inflate_codes_statef *, z_streamp) |
int | inflate_flush (inflate_blocks_statef *, z_streamp, int) |
int | inflate_fast (uInt, uInt, const inflate_huft *, const inflate_huft *, inflate_blocks_statef *, z_streamp) |
int | huft_build (uInt *, uInt, uInt, const uInt *, const uInt *, inflate_huft **, uInt *, inflate_huft *, uInt *, uInt *) |
void | Uupdate_keys (unsigned long *keys, char c) |
char | Udecrypt_byte (unsigned long *keys) |
char | zdecode (unsigned long *keys, char c) |
int | inflateInit2 (z_streamp z) |
LUFILE * | lufopen (void *z, unsigned int len, DWORD flags, ZRESULT *err) |
int | lufclose (LUFILE *stream) |
int | luferror (LUFILE *stream) |
long int | luftell (LUFILE *stream) |
int | lufseek (LUFILE *stream, long offset, int whence) |
size_t | lufread (void *ptr, size_t size, size_t n, LUFILE *stream) |
int | unzStringFileNameCompare (const char *fileName1, const char *fileName2, int iCaseSensitivity) |
z_off_t | unztell (unzFile file) |
int | unzeof (unzFile file) |
int | unzGetLocalExtrafield (unzFile file, voidp buf, unsigned len) |
int | unzlocal_getByte (LUFILE *fin, int *pi) |
int | unzlocal_getShort (LUFILE *fin, uLong *pX) |
int | unzlocal_getLong (LUFILE *fin, uLong *pX) |
int | strcmpcasenosensitive_internal (const char *fileName1, const char *fileName2) |
uLong | unzlocal_SearchCentralDir (LUFILE *fin) |
int | unzGoToFirstFile (unzFile file) |
int | unzCloseCurrentFile (unzFile file) |
unzFile | unzOpenInternal (LUFILE *fin) |
int | unzClose (unzFile file) |
int | unzGetGlobalInfo (unzFile file, unz_global_info *pglobal_info) |
void | unzlocal_DosDateToTmuDate (uLong ulDosDate, tm_unz *ptm) |
int | unzlocal_GetCurrentFileInfoInternal (unzFile file, unz_file_info *pfile_info, unz_file_info_internal *pfile_info_internal, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize) |
int | unzGetCurrentFileInfo (unzFile file, unz_file_info *pfile_info, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize) |
int | unzGoToNextFile (unzFile file) |
int | unzLocateFile (unzFile file, const char *szFileName, int iCaseSensitivity) |
int | unzlocal_CheckCurrentFileCoherencyHeader (unz_s *s, uInt *piSizeVar, uLong *poffset_local_extrafield, uInt *psize_local_extrafield) |
int | unzOpenCurrentFile (unzFile file, const char *password) |
int | unzReadCurrentFile (unzFile file, voidp buf, unsigned len, bool *reached_eof) |
int | unzGetGlobalComment (unzFile file, char *szComment, uLong uSizeBuf) |
int | unzReadCurrentFile (unzFile file, void *buf, unsigned len) |
FILETIME | timet2filetime (const lutime_t t) |
FILETIME | dosdatetime2filetime (WORD dosdate, WORD dostime) |
void | EnsureDirectory (const TCHAR *rootdir, const TCHAR *dir) |
unsigned int | FormatZipMessageU (ZRESULT code, TCHAR *buf, unsigned int len) |
HZIP | OpenZipInternal (void *z, unsigned int len, DWORD flags, const char *password) |
HZIP | OpenZipHandle (HANDLE h, const char *password) |
HZIP | OpenZip (const TCHAR *fn, const char *password) |
HZIP | OpenZip (void *z, unsigned int len, const char *password) |
ZRESULT | GetZipItem (HZIP hz, int index, ZIPENTRY *ze) |
ZRESULT | FindZipItem (HZIP hz, const TCHAR *name, bool ic, int *index, ZIPENTRY *ze) |
ZRESULT | UnzipItemInternal (HZIP hz, int index, void *dst, unsigned int len, DWORD flags) |
ZRESULT | UnzipItemHandle (HZIP hz, int index, HANDLE h) |
ZRESULT | UnzipItem (HZIP hz, int index, const TCHAR *fn) |
ZRESULT | UnzipItem (HZIP hz, int index, void *z, unsigned int len) |
ZRESULT | SetUnzipBaseDir (HZIP hz, const TCHAR *dir) |
ZRESULT | CloseZipU (HZIP hz) |
bool | IsZipHandleU (HZIP hz) |
Variables | |
const char *const | z_errmsg [10] |
const uInt | inflate_mask [17] |
const uInt | fixed_bl = 9 |
const uInt | fixed_bd = 5 |
const inflate_huft | fixed_tl [] |
const inflate_huft | fixed_td [] |
const uInt | border [] |
const char | unzip_inflate_copyright [] |
const uInt | cplens [31] |
const uInt | cplext [31] |
const uInt | cpdist [30] |
const uInt | cpdext [30] |
const uLong | crc_table [256] |
const char | unz_copyright [] = " unzip 0.15 Copyright 1998 Gilles Vollant " |
ZRESULT | lasterrorU = ZR_OK |
#define C0 *p++ = 0; |
#define CRC32 | ( | c, | |
b | |||
) | (crc_table[((int)(c)^(b))&0xff]^((c)>>8)) |
#define CRC_DO1 | ( | buf | ) | crc = crc_table[((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8); |
#define ERR_MSG | ( | err | ) | z_errmsg[Z_NEED_DICT-(err)] |
#define ERR_RETURN | ( | strm, | |
err | |||
) | return (strm->msg = (char*)ERR_MSG(err), (err)) |
#define FLUSH {UPDOUT r=inflate_flush(s,z,r); LOADOUT} |
#define IM_NEXTBYTE (z->avail_in--,z->total_in++,*z->next_in++) |
#define LEAVE {UPDATE return inflate_flush(s,z,r);} |
#define LOADIN {p=z->next_in;n=z->avail_in;b=s->bitb;k=s->bitk;} |
#define UNGRAB {c=z->avail_in-n;c=(k>>3)<c?k>>3:c;n+=c;p-=c;k-=c<<3;} |
#define UPDIN {z->avail_in=n;z->total_in+=(uLong)(p-z->next_in);z->next_in=p;} |
#define ZALLOC | ( | strm, | |
items, | |||
size | |||
) | (*((strm)->zalloc))((strm)->opaque, (items), (size)) |
typedef struct inflate_blocks_state inflate_blocks_statef |
typedef struct inflate_codes_state inflate_codes_statef |
typedef struct inflate_huft_s inflate_huft |
typedef struct unz_file_info_s unz_file_info |
typedef struct unz_file_info_internal_s unz_file_info_internal |
typedef struct unz_global_info_s unz_global_info |
typedef struct z_stream_s z_stream |
enum inflate_block_mode |
enum inflate_codes_mode |
enum inflate_mode |
ZRESULT CloseZipU | ( | HZIP | hz | ) |
Definition at line 4752 of file unzip.cpp.
References TUnzip::Close(), TUnzipHandleData::flag, lasterrorU, TUnzipHandleData::unz, ZR_ARGS, and ZR_ZMODE.
FILETIME dosdatetime2filetime | ( | WORD | dosdate, |
WORD | dostime | ||
) |
Definition at line 4012 of file unzip.cpp.
Referenced by TUnzip::Get().
void EnsureDirectory | ( | const TCHAR * | rootdir, |
const TCHAR * | dir | ||
) |
Definition at line 4343 of file unzip.cpp.
References EnsureDirectory(), and name.
Referenced by EnsureDirectory(), and TUnzip::Unzip().
Definition at line 4685 of file unzip.cpp.
References TUnzip::Find(), TUnzipHandleData::flag, lasterrorU, name, TUnzipHandleData::unz, ZR_ARGS, and ZR_ZMODE.
Referenced by Zipfile::getZipItem().
unsigned int FormatZipMessageU | ( | ZRESULT | code, |
TCHAR * | buf, | ||
unsigned int | len | ||
) |
Definition at line 4544 of file unzip.cpp.
References _T, lasterrorU, ZR_ARGS, ZR_CORRUPT, ZR_ENDED, ZR_FAILED, ZR_FLATE, ZR_MEMSIZE, ZR_MISSIZE, ZR_MORE, ZR_NOALLOC, ZR_NOCHANGE, ZR_NODUPH, ZR_NOFILE, ZR_NOTFOUND, ZR_NOTINITED, ZR_NOTMMAP, ZR_OK, ZR_PARTIALUNZ, ZR_PASSWORD, ZR_READ, ZR_RECENT, ZR_SEEK, ZR_WRITE, and ZR_ZMODE.
const uLong * get_crc_table | ( | void | ) |
Definition at line 4664 of file unzip.cpp.
References TUnzipHandleData::flag, TUnzip::Get(), ZIPENTRY::index, lasterrorU, ZIPENTRY::name, ZIPENTRY::unc_size, TUnzipHandleData::unz, ZR_ARGS, and ZR_ZMODE.
Referenced by Zipfile::getZipContent().
int huft_build | ( | uInt * | b, |
uInt | n, | ||
uInt | s, | ||
const uInt * | d, | ||
const uInt * | e, | ||
inflate_huft ** | t, | ||
uInt * | m, | ||
inflate_huft * | hp, | ||
uInt * | hn, | ||
uInt * | v | ||
) |
Definition at line 1690 of file unzip.cpp.
References inflate_huft_s::base, BMAX, C4, MANY, Z_BUF_ERROR, Z_DATA_ERROR, Z_NULL, and Z_OK.
Referenced by inflate_trees_bits(), and inflate_trees_dynamic().
int inflate | ( | z_streamp | strm, |
int | flush | ||
) |
Definition at line 2570 of file unzip.cpp.
References z_stream_s::adler, internal_state::blocks, internal_state::check, IM_BAD, IM_BLOCKS, IM_CHECK1, IM_CHECK2, IM_CHECK3, IM_CHECK4, IM_DICT0, IM_DICT1, IM_DICT2, IM_DICT3, IM_DICT4, IM_DONE, IM_FLAG, IM_METHOD, IM_NEEDBYTE, IM_NEXTBYTE, inflate_blocks(), inflate_blocks_reset(), LuTracev, internal_state::marker, internal_state::method, internal_state::mode, z_stream_s::msg, internal_state::need, z_stream_s::next_in, internal_state::nowrap, PRESET_DICT, z_stream_s::state, internal_state::sub, internal_state::was, internal_state::wbits, Z_BUF_ERROR, Z_DATA_ERROR, Z_DEFLATED, Z_FINISH, Z_NEED_DICT, Z_NULL, Z_OK, Z_STREAM_END, and Z_STREAM_ERROR.
Referenced by unzReadCurrentFile().
int inflate_blocks | ( | inflate_blocks_statef * | s, |
z_streamp | z, | ||
int | r | ||
) |
Definition at line 1333 of file unzip.cpp.
References inflate_huft_s::base, inflate_blocks_state::bb, inflate_blocks_state::blens, border, inflate_blocks_state::codes, inflate_blocks_state::decode, DUMPBITS, inflate_blocks_state::end, FLUSH, inflate_blocks_state::hufts, IBM_BAD, IBM_BTREE, IBM_CODES, IBM_DONE, IBM_DRY, IBM_DTREE, IBM_LENS, IBM_STORED, IBM_TABLE, IBM_TYPE, inflate_blocks_state::index, inflate_codes(), inflate_codes_free(), inflate_codes_new(), inflate_flush(), inflate_mask, inflate_trees_bits(), inflate_trees_dynamic(), inflate_trees_fixed(), inflate_blocks_state::last, LEAVE, inflate_blocks_state::left, LOAD, LuTracev, inflate_blocks_state::mode, z_stream_s::msg, NEEDBITS, NEEDOUT, inflate_blocks_state::read, inflate_blocks_state::sub, inflate_blocks_state::table, inflate_blocks_state::tb, z_stream_s::total_out, inflate_blocks_state::trees, UPDATE, inflate_blocks_state::window, inflate_blocks_state::write, Z_DATA_ERROR, Z_MEM_ERROR, Z_NULL, Z_OK, Z_STREAM_END, Z_STREAM_ERROR, ZALLOC, and ZFREE.
Referenced by inflate().
int inflate_blocks_free | ( | inflate_blocks_statef * | s, |
z_streamp | z | ||
) |
Definition at line 1589 of file unzip.cpp.
References inflate_blocks_state::hufts, inflate_blocks_reset(), LuTracev, inflate_blocks_state::window, Z_NULL, Z_OK, and ZFREE.
Referenced by inflateEnd().
inflate_blocks_statef * inflate_blocks_new | ( | z_streamp | z, |
check_func | c, | ||
uInt | w | ||
) |
Definition at line 1305 of file unzip.cpp.
References inflate_blocks_state::checkfn, inflate_blocks_state::end, inflate_blocks_state::hufts, IBM_TYPE, inflate_blocks_reset(), LuTracev, MANY, inflate_blocks_state::mode, inflate_blocks_state::window, Z_NULL, ZALLOC, and ZFREE.
Referenced by inflateInit2().
void inflate_blocks_reset | ( | inflate_blocks_statef * | s, |
z_streamp | z, | ||
uLong * | c | ||
) |
Definition at line 1287 of file unzip.cpp.
References z_stream_s::adler, inflate_blocks_state::bitb, inflate_blocks_state::bitk, inflate_blocks_state::blens, inflate_blocks_state::check, inflate_blocks_state::checkfn, inflate_blocks_state::codes, inflate_blocks_state::decode, IBM_BTREE, IBM_CODES, IBM_DTREE, IBM_TYPE, inflate_codes_free(), LuTracev, inflate_blocks_state::mode, inflate_blocks_state::read, inflate_blocks_state::sub, inflate_blocks_state::trees, inflate_blocks_state::window, inflate_blocks_state::write, Z_NULL, and ZFREE.
Referenced by inflate(), inflate_blocks_free(), inflate_blocks_new(), and inflateReset().
int inflate_blocks_sync_point | ( | inflate_blocks_statef * | s | ) |
int inflate_codes | ( | inflate_blocks_statef * | s, |
z_streamp | z, | ||
int | r | ||
) |
Definition at line 1062 of file unzip.cpp.
References BADCODE, inflate_huft_s::base, inflate_codes_state::code, inflate_blocks_state::codes, COPY, inflate_codes_state::copy, inflate_codes_state::dbits, inflate_blocks_state::decode, DIST, inflate_codes_state::dist, DISTEXT, inflate_codes_state::dtree, DUMPBITS, inflate_blocks_state::end, END, FLUSH, inflate_codes_state::get, inflate_fast(), inflate_mask, inflate_codes_state::lbits, LEAVE, LEN, inflate_codes_state::len, LENEXT, LIT, inflate_codes_state::lit, LOAD, inflate_codes_state::ltree, LuTracevv, inflate_codes_state::mode, z_stream_s::msg, inflate_codes_state::need, NEEDBITS, NEEDOUT, OUTBYTE, inflate_blocks_state::read, START, inflate_blocks_state::sub, inflate_codes_state::sub, inflate_codes_state::tree, UPDATE, WASH, inflate_blocks_state::window, inflate_blocks_state::write, Z_DATA_ERROR, Z_OK, Z_STREAM_END, and Z_STREAM_ERROR.
Referenced by inflate_blocks().
void inflate_codes_free | ( | inflate_codes_statef * | c, |
z_streamp | z | ||
) |
Definition at line 1221 of file unzip.cpp.
References LuTracev, and ZFREE.
Referenced by inflate_blocks(), and inflate_blocks_reset().
inflate_codes_statef * inflate_codes_new | ( | uInt | bl, |
uInt | bd, | ||
const inflate_huft * | tl, | ||
const inflate_huft * | td, | ||
z_streamp | z | ||
) |
Definition at line 1040 of file unzip.cpp.
References inflate_codes_state::dbits, inflate_codes_state::dtree, inflate_codes_state::lbits, inflate_codes_state::ltree, LuTracev, inflate_codes_state::mode, START, Z_NULL, and ZALLOC.
Referenced by inflate_blocks().
int inflate_fast | ( | uInt | bl, |
uInt | bd, | ||
const inflate_huft * | tl, | ||
const inflate_huft * | td, | ||
inflate_blocks_statef * | s, | ||
z_streamp | z | ||
) |
Definition at line 2023 of file unzip.cpp.
References inflate_huft_s::base, DUMPBITS, inflate_blocks_state::end, exop, GRABBITS, inflate_mask, LOAD, LuTracevv, z_stream_s::msg, UNGRAB, UPDATE, inflate_blocks_state::window, Z_DATA_ERROR, Z_OK, and Z_STREAM_END.
Referenced by inflate_codes().
int inflate_flush | ( | inflate_blocks_statef * | s, |
z_streamp | z, | ||
int | r | ||
) |
Definition at line 910 of file unzip.cpp.
References z_stream_s::adler, z_stream_s::avail_out, inflate_blocks_state::check, inflate_blocks_state::checkfn, inflate_blocks_state::end, z_stream_s::next_out, inflate_blocks_state::read, z_stream_s::total_out, inflate_blocks_state::window, inflate_blocks_state::write, Z_BUF_ERROR, Z_NULL, and Z_OK.
Referenced by inflate_blocks().
void inflate_set_dictionary | ( | inflate_blocks_statef * | s, |
const Byte * | d, | ||
uInt | n | ||
) |
int inflate_trees_bits | ( | uInt * | c, |
uInt * | bb, | ||
inflate_huft ** | tb, | ||
inflate_huft * | hp, | ||
z_streamp | z | ||
) |
Definition at line 1900 of file unzip.cpp.
References huft_build(), z_stream_s::msg, Z_BUF_ERROR, Z_DATA_ERROR, Z_MEM_ERROR, Z_NULL, ZALLOC, and ZFREE.
Referenced by inflate_blocks().
int inflate_trees_dynamic | ( | uInt | nl, |
uInt | nd, | ||
uInt * | c, | ||
uInt * | bl, | ||
uInt * | bd, | ||
inflate_huft ** | tl, | ||
inflate_huft ** | td, | ||
inflate_huft * | hp, | ||
z_streamp | z | ||
) |
Definition at line 1927 of file unzip.cpp.
References cpdext, cpdist, cplens, cplext, huft_build(), z_stream_s::msg, Z_BUF_ERROR, Z_DATA_ERROR, Z_MEM_ERROR, Z_NULL, Z_OK, ZALLOC, and ZFREE.
Referenced by inflate_blocks().
int inflate_trees_fixed | ( | uInt * | bl, |
uInt * | bd, | ||
const inflate_huft ** | tl, | ||
const inflate_huft ** | td, | ||
z_streamp | |||
) |
int inflateEnd | ( | z_streamp | strm | ) |
Definition at line 2484 of file unzip.cpp.
References internal_state::blocks, inflate_blocks_free(), LuTracev, z_stream_s::state, Z_NULL, Z_OK, Z_STREAM_ERROR, z_stream_s::zfree, and ZFREE.
Referenced by inflateInit2(), and unzCloseCurrentFile().
int inflateInit2 | ( | z_streamp | z | ) |
Definition at line 2497 of file unzip.cpp.
References adler32(), internal_state::blocks, inflate_blocks_new(), inflateEnd(), inflateReset(), LuTracev, z_stream_s::msg, internal_state::nowrap, z_stream_s::opaque, z_stream_s::state, dtl::version, internal_state::wbits, Z_MEM_ERROR, Z_NULL, Z_OK, Z_STREAM_ERROR, Z_VERSION_ERROR, z_stream_s::zalloc, ZALLOC, zcalloc(), zcfree(), z_stream_s::zfree, and ZLIB_VERSION.
Referenced by unzOpenCurrentFile().
int inflateReset | ( | z_streamp | strm | ) |
Definition at line 2472 of file unzip.cpp.
References internal_state::blocks, IM_BLOCKS, IM_METHOD, inflate_blocks_reset(), LuTracev, internal_state::mode, z_stream_s::msg, internal_state::nowrap, z_stream_s::state, z_stream_s::total_in, z_stream_s::total_out, Z_NULL, Z_OK, and Z_STREAM_ERROR.
Referenced by inflateInit2().
int inflateSync | ( | z_streamp | strm | ) |
int inflateSyncPoint | ( | z_streamp | z | ) |
bool IsZipHandleU | ( | HZIP | hz | ) |
Definition at line 4772 of file unzip.cpp.
References TUnzipHandleData::flag.
int lufclose | ( | LUFILE * | stream | ) |
Definition at line 2804 of file unzip.cpp.
References EOF, LUFILE::h, and LUFILE::mustclosehandle.
Referenced by unzClose(), and unzOpenInternal().
int luferror | ( | LUFILE * | stream | ) |
Definition at line 2814 of file unzip.cpp.
References LUFILE::herr, and LUFILE::is_handle.
Referenced by unzlocal_getByte().
Definition at line 2739 of file unzip.cpp.
References LUFILE::buf, LUFILE::canseek, FALSE, LUFILE::h, LUFILE::herr, LUFILE::initial_offset, LUFILE::is_handle, LUFILE::len, LUFILE::mustclosehandle, LUFILE::pos, ZIP_FILENAME, ZIP_HANDLE, ZIP_MEMORY, ZR_ARGS, ZR_NOFILE, and ZR_OK.
Referenced by TUnzip::Open().
size_t lufread | ( | void * | ptr, |
size_t | size, | ||
size_t | n, | ||
LUFILE * | stream | ||
) |
Definition at line 2860 of file unzip.cpp.
References LUFILE::buf, LUFILE::h, LUFILE::herr, LUFILE::is_handle, LUFILE::len, and LUFILE::pos.
Referenced by TUnzip::Get(), unzGetGlobalComment(), unzGetLocalExtrafield(), unzlocal_getByte(), unzlocal_GetCurrentFileInfoInternal(), unzlocal_SearchCentralDir(), and unzReadCurrentFile().
int lufseek | ( | LUFILE * | stream, |
long | offset, | ||
int | whence | ||
) |
Definition at line 2831 of file unzip.cpp.
References LUFILE::canseek, LUFILE::h, LUFILE::initial_offset, LUFILE::is_handle, LUFILE::len, and LUFILE::pos.
Referenced by TUnzip::Get(), unzGetGlobalComment(), unzGetLocalExtrafield(), unzlocal_CheckCurrentFileCoherencyHeader(), unzlocal_GetCurrentFileInfoInternal(), unzlocal_SearchCentralDir(), unzOpenInternal(), and unzReadCurrentFile().
long int luftell | ( | LUFILE * | stream | ) |
Definition at line 2821 of file unzip.cpp.
References LUFILE::canseek, LUFILE::h, LUFILE::initial_offset, LUFILE::is_handle, and LUFILE::pos.
Referenced by unzlocal_SearchCentralDir().
HZIP OpenZip | ( | const TCHAR * | fn, |
const char * | password | ||
) |
Definition at line 4654 of file unzip.cpp.
References OpenZipInternal(), and ZIP_FILENAME.
Referenced by Zipfile::open().
HZIP OpenZip | ( | void * | z, |
unsigned int | len, | ||
const char * | password | ||
) |
Definition at line 4658 of file unzip.cpp.
References OpenZipInternal(), and ZIP_MEMORY.
HZIP OpenZipHandle | ( | HANDLE | h, |
const char * | password | ||
) |
Definition at line 4650 of file unzip.cpp.
References OpenZipInternal(), and ZIP_HANDLE.
HZIP OpenZipInternal | ( | void * | z, |
unsigned int | len, | ||
DWORD | flags, | ||
const char * | password | ||
) |
Definition at line 4636 of file unzip.cpp.
References TUnzipHandleData::flag, lasterrorU, TUnzip::Open(), TUnzipHandleData::unz, and ZR_OK.
Referenced by OpenZip(), and OpenZipHandle().
ZRESULT SetUnzipBaseDir | ( | HZIP | hz, |
const TCHAR * | dir | ||
) |
Definition at line 4733 of file unzip.cpp.
References TUnzipHandleData::flag, lasterrorU, TUnzip::SetUnzipBaseDir(), TUnzipHandleData::unz, ZR_ARGS, and ZR_ZMODE.
int strcmpcasenosensitive_internal | ( | const char * | fileName1, |
const char * | fileName2 | ||
) |
Definition at line 3029 of file unzip.cpp.
Referenced by unzStringFileNameCompare().
FILETIME timet2filetime | ( | const lutime_t | t | ) |
Definition at line 4003 of file unzip.cpp.
Referenced by TUnzip::Get().
char Udecrypt_byte | ( | unsigned long * | keys | ) |
int unzClose | ( | unzFile | file | ) |
Definition at line 3197 of file unzip.cpp.
References unz_s::file, lufclose(), unz_s::pfile_in_zip_read, UNZ_OK, UNZ_PARAMERROR, unzCloseCurrentFile(), and zfree.
Referenced by TUnzip::Close().
int unzCloseCurrentFile | ( | unzFile | file | ) |
Definition at line 3924 of file unzip.cpp.
References file_in_zip_read_info_s::crc32, file_in_zip_read_info_s::crc32_wait, inflateEnd(), unz_s::pfile_in_zip_read, file_in_zip_read_info_s::read_buffer, file_in_zip_read_info_s::rest_read_uncompressed, file_in_zip_read_info_s::stream, file_in_zip_read_info_s::stream_initialised, UNZ_CRCERROR, UNZ_OK, UNZ_PARAMERROR, and zfree.
Referenced by TUnzip::Close(), TUnzip::Find(), TUnzip::Get(), unzClose(), TUnzip::Unzip(), and unzOpenCurrentFile().
int unzeof | ( | unzFile | file | ) |
Definition at line 3858 of file unzip.cpp.
References unz_s::pfile_in_zip_read, file_in_zip_read_info_s::rest_read_uncompressed, and UNZ_PARAMERROR.
int unzGetCurrentFileInfo | ( | unzFile | file, |
unz_file_info * | pfile_info, | ||
char * | szFileName, | ||
uLong | fileNameBufferSize, | ||
void * | extraField, | ||
uLong | extraFieldBufferSize, | ||
char * | szComment, | ||
uLong | commentBufferSize | ||
) |
Definition at line 3414 of file unzip.cpp.
References unzlocal_GetCurrentFileInfoInternal().
Referenced by TUnzip::Get(), and unzLocateFile().
Definition at line 3968 of file unzip.cpp.
References unz_s::central_pos, unz_s::file, unz_s::gi, lufread(), lufseek(), unz_global_info_s::size_comment, UNZ_ERRNO, and UNZ_PARAMERROR.
int unzGetGlobalInfo | ( | unzFile | file, |
unz_global_info * | pglobal_info | ||
) |
Definition at line 3217 of file unzip.cpp.
References unz_s::gi, UNZ_OK, and UNZ_PARAMERROR.
Definition at line 3884 of file unzip.cpp.
References file_in_zip_read_info_s::file, lufread(), lufseek(), file_in_zip_read_info_s::offset_local_extrafield, unz_s::pfile_in_zip_read, file_in_zip_read_info_s::pos_local_extrafield, file_in_zip_read_info_s::size_local_extrafield, UNZ_ERRNO, and UNZ_PARAMERROR.
int unzGoToFirstFile | ( | unzFile | file | ) |
Definition at line 3425 of file unzip.cpp.
References unz_s::cur_file_info, unz_s::cur_file_info_internal, unz_s::current_file_ok, unz_s::num_file, unz_s::offset_central_dir, unz_s::pos_in_central_dir, UNZ_OK, UNZ_PARAMERROR, and unzlocal_GetCurrentFileInfoInternal().
Referenced by TUnzip::Get(), TUnzip::Unzip(), unzLocateFile(), and unzOpenInternal().
int unzGoToNextFile | ( | unzFile | file | ) |
Definition at line 3445 of file unzip.cpp.
References unz_s::cur_file_info, unz_s::cur_file_info_internal, unz_s::current_file_ok, unz_s::gi, unz_s::num_file, unz_global_info_s::number_entry, unz_s::pos_in_central_dir, unz_file_info_s::size_file_comment, unz_file_info_s::size_file_extra, unz_file_info_s::size_filename, SIZECENTRALDIRITEM, UNZ_END_OF_LIST_OF_FILE, UNZ_OK, UNZ_PARAMERROR, and unzlocal_GetCurrentFileInfoInternal().
Referenced by TUnzip::Get(), TUnzip::Unzip(), and unzLocateFile().
ZRESULT UnzipItem | ( | HZIP | hz, |
int | index, | ||
const TCHAR * | fn | ||
) |
Definition at line 4724 of file unzip.cpp.
References UnzipItemInternal(), and ZIP_FILENAME.
Referenced by Zipfile::getZipContent(), and Zipfile::getZipItem().
ZRESULT UnzipItem | ( | HZIP | hz, |
int | index, | ||
void * | z, | ||
unsigned int | len | ||
) |
Definition at line 4728 of file unzip.cpp.
References UnzipItemInternal(), and ZIP_MEMORY.
ZRESULT UnzipItemHandle | ( | HZIP | hz, |
int | index, | ||
HANDLE | h | ||
) |
Definition at line 4720 of file unzip.cpp.
References UnzipItemInternal(), and ZIP_HANDLE.
ZRESULT UnzipItemInternal | ( | HZIP | hz, |
int | index, | ||
void * | dst, | ||
unsigned int | len, | ||
DWORD | flags | ||
) |
Definition at line 4703 of file unzip.cpp.
References TUnzipHandleData::flag, lasterrorU, TUnzipHandleData::unz, TUnzip::Unzip(), ZR_ARGS, and ZR_ZMODE.
Referenced by UnzipItem(), and UnzipItemHandle().
int unzlocal_CheckCurrentFileCoherencyHeader | ( | unz_s * | s, |
uInt * | piSizeVar, | ||
uLong * | poffset_local_extrafield, | ||
uInt * | psize_local_extrafield | ||
) |
Definition at line 3521 of file unzip.cpp.
References unz_s::byte_before_the_zipfile, unz_file_info_s::compressed_size, unz_file_info_s::compression_method, unz_file_info_s::crc, unz_s::cur_file_info, unz_s::cur_file_info_internal, unz_s::file, lufseek(), unz_file_info_internal_s::offset_curfile, unz_file_info_s::size_filename, SIZEZIPLOCALHEADER, unz_file_info_s::uncompressed_size, UNZ_BADZIPFILE, UNZ_ERRNO, UNZ_OK, unzlocal_getLong(), unzlocal_getShort(), and Z_DEFLATED.
Referenced by TUnzip::Get(), and unzOpenCurrentFile().
Definition at line 3229 of file unzip.cpp.
References tm_unz_s::tm_hour, tm_unz_s::tm_mday, tm_unz_s::tm_min, tm_unz_s::tm_mon, tm_unz_s::tm_sec, and tm_unz_s::tm_year.
Referenced by unzlocal_GetCurrentFileInfoInternal().
int unzlocal_getByte | ( | LUFILE * | fin, |
int * | pi | ||
) |
Definition at line 2958 of file unzip.cpp.
References luferror(), lufread(), UNZ_EOF, UNZ_ERRNO, and UNZ_OK.
Referenced by unzlocal_getLong(), and unzlocal_getShort().
int unzlocal_GetCurrentFileInfoInternal | ( | unzFile | file, |
unz_file_info * | pfile_info, | ||
unz_file_info_internal * | pfile_info_internal, | ||
char * | szFileName, | ||
uLong | fileNameBufferSize, | ||
void * | extraField, | ||
uLong | extraFieldBufferSize, | ||
char * | szComment, | ||
uLong | commentBufferSize | ||
) |
Definition at line 3254 of file unzip.cpp.
References unz_s::byte_before_the_zipfile, unz_file_info_s::compressed_size, unz_file_info_s::compression_method, unz_file_info_s::crc, unz_file_info_s::disk_num_start, unz_file_info_s::dosDate, unz_file_info_s::external_fa, unz_s::file, unz_file_info_s::flag, unz_file_info_s::internal_fa, lufread(), lufseek(), unz_file_info_internal_s::offset_curfile, unz_s::pos_in_central_dir, unz_file_info_s::size_file_comment, unz_file_info_s::size_file_extra, unz_file_info_s::size_filename, unz_file_info_s::tmu_date, unz_file_info_s::uncompressed_size, UNZ_BADZIPFILE, UNZ_ERRNO, UNZ_OK, UNZ_PARAMERROR, unzlocal_DosDateToTmuDate(), unzlocal_getLong(), unzlocal_getShort(), unz_file_info_s::version, and unz_file_info_s::version_needed.
Referenced by unzGetCurrentFileInfo(), unzGoToFirstFile(), and unzGoToNextFile().
Definition at line 2999 of file unzip.cpp.
References UNZ_OK, and unzlocal_getByte().
Referenced by unzlocal_CheckCurrentFileCoherencyHeader(), unzlocal_GetCurrentFileInfoInternal(), and unzOpenInternal().
Definition at line 2979 of file unzip.cpp.
References UNZ_OK, and unzlocal_getByte().
Referenced by unzlocal_CheckCurrentFileCoherencyHeader(), unzlocal_GetCurrentFileInfoInternal(), and unzOpenInternal().
Definition at line 3072 of file unzip.cpp.
References BUFREADCOMMENT, lufread(), lufseek(), luftell(), zfree, and zmalloc.
Referenced by unzOpenInternal().
int unzLocateFile | ( | unzFile | file, |
const char * | szFileName, | ||
int | iCaseSensitivity | ||
) |
Definition at line 3474 of file unzip.cpp.
References unz_s::current_file_ok, unz_s::num_file, unz_s::pos_in_central_dir, UNZ_END_OF_LIST_OF_FILE, UNZ_MAXFILENAMEINZIP, UNZ_OK, UNZ_PARAMERROR, unzGetCurrentFileInfo(), unzGoToFirstFile(), unzGoToNextFile(), and unzStringFileNameCompare().
Referenced by TUnzip::Find().
int unzOpenCurrentFile | ( | unzFile | file, |
const char * | password | ||
) |
Definition at line 3606 of file unzip.cpp.
References z_stream_s::avail_in, file_in_zip_read_info_s::byte_before_the_zipfile, unz_s::byte_before_the_zipfile, unz_file_info_s::compressed_size, unz_file_info_s::compression_method, file_in_zip_read_info_s::compression_method, unz_file_info_s::crc, file_in_zip_read_info_s::crc32, file_in_zip_read_info_s::crc32_wait, file_in_zip_read_info_s::crcenctest, unz_s::cur_file_info, unz_s::cur_file_info_internal, unz_s::current_file_ok, unz_file_info_s::dosDate, file_in_zip_read_info_s::encheadleft, file_in_zip_read_info_s::encrypted, file_in_zip_read_info_s::file, unz_s::file, unz_file_info_s::flag, inflateInit2(), file_in_zip_read_info_s::keys, unz_file_info_internal_s::offset_curfile, file_in_zip_read_info_s::offset_local_extrafield, z_stream_s::opaque, unz_s::pfile_in_zip_read, file_in_zip_read_info_s::pos_in_zipfile, file_in_zip_read_info_s::pos_local_extrafield, file_in_zip_read_info_s::read_buffer, file_in_zip_read_info_s::rest_read_compressed, file_in_zip_read_info_s::rest_read_uncompressed, file_in_zip_read_info_s::size_local_extrafield, SIZEZIPLOCALHEADER, file_in_zip_read_info_s::stream, file_in_zip_read_info_s::stream_initialised, z_stream_s::total_out, unz_file_info_s::uncompressed_size, UNZ_BADZIPFILE, UNZ_BUFSIZE, UNZ_INTERNALERROR, UNZ_OK, UNZ_PARAMERROR, unzCloseCurrentFile(), unzlocal_CheckCurrentFileCoherencyHeader(), Uupdate_keys(), Z_DEFLATED, Z_OK, z_stream_s::zalloc, zfree, z_stream_s::zfree, and zmalloc.
Referenced by TUnzip::Unzip().
Definition at line 3124 of file unzip.cpp.
References unz_s::byte_before_the_zipfile, unz_s::central_pos, unz_s::file, unz_s::gi, LUFILE::initial_offset, lufclose(), lufseek(), unz_global_info_s::number_entry, unz_s::offset_central_dir, unz_s::pfile_in_zip_read, unz_s::size_central_dir, unz_global_info_s::size_comment, UNZ_BADZIPFILE, unz_copyright, UNZ_ERRNO, UNZ_OK, unzGoToFirstFile(), unzlocal_getLong(), unzlocal_getShort(), unzlocal_SearchCentralDir(), and zmalloc.
Referenced by TUnzip::Open().
int unzReadCurrentFile | ( | unzFile | file, |
void * | buf, | ||
unsigned | len | ||
) |
Definition at line 3709 of file unzip.cpp.
References z_stream_s::avail_in, z_stream_s::avail_out, file_in_zip_read_info_s::byte_before_the_zipfile, file_in_zip_read_info_s::compression_method, file_in_zip_read_info_s::crc32, file_in_zip_read_info_s::crcenctest, file_in_zip_read_info_s::encheadleft, file_in_zip_read_info_s::encrypted, file_in_zip_read_info_s::file, for(), if(), inflate(), file_in_zip_read_info_s::keys, lufread(), lufseek(), z_stream_s::next_in, z_stream_s::next_out, unz_s::pfile_in_zip_read, file_in_zip_read_info_s::pos_in_zipfile, file_in_zip_read_info_s::read_buffer, file_in_zip_read_info_s::rest_read_compressed, file_in_zip_read_info_s::rest_read_uncompressed, file_in_zip_read_info_s::stream, z_stream_s::total_out, ucrc32(), UNZ_BUFSIZE, UNZ_END_OF_LIST_OF_FILE, UNZ_EOF, UNZ_ERRNO, UNZ_OK, UNZ_PARAMERROR, UNZ_PASSWORD, Z_OK, Z_STREAM_END, Z_SYNC_FLUSH, and zdecode().
Referenced by TUnzip::Unzip().
int unzStringFileNameCompare | ( | const char * | fileName1, |
const char * | fileName2, | ||
int | iCaseSensitivity | ||
) |
Definition at line 3058 of file unzip.cpp.
References strcmpcasenosensitive_internal().
Referenced by unzLocateFile().
Definition at line 3841 of file unzip.cpp.
References unz_s::pfile_in_zip_read, file_in_zip_read_info_s::stream, z_stream_s::total_out, and UNZ_PARAMERROR.
void Uupdate_keys | ( | unsigned long * | keys, |
char | c | ||
) |
Definition at line 2304 of file unzip.cpp.
References CRC32.
Referenced by unzOpenCurrentFile(), and zdecode().
Definition at line 2404 of file unzip.cpp.
Referenced by inflateInit2().
char zdecode | ( | unsigned long * | keys, |
char | c | ||
) |
Definition at line 2316 of file unzip.cpp.
References Udecrypt_byte(), and Uupdate_keys().
Referenced by unzReadCurrentFile().
const char * zlibVersion | ( | ) |
Definition at line 2389 of file unzip.cpp.
References ZLIB_VERSION.
const uInt border[] |
Definition at line 1238 of file unzip.cpp.
Referenced by inflate_blocks().
const uInt cpdext[30] |
Definition at line 1647 of file unzip.cpp.
Referenced by inflate_trees_dynamic().
const uInt cpdist[30] |
Definition at line 1641 of file unzip.cpp.
Referenced by inflate_trees_dynamic().
const uInt cplens[31] |
Definition at line 1630 of file unzip.cpp.
Referenced by inflate_trees_dynamic().
const uInt cplext[31] |
Definition at line 1636 of file unzip.cpp.
Referenced by inflate_trees_dynamic().
const uLong crc_table[256] |
Definition at line 2215 of file unzip.cpp.
Referenced by get_crc_table().
const uInt fixed_bd = 5 |
Definition at line 759 of file unzip.cpp.
Referenced by inflate_trees_fixed().
const uInt fixed_bl = 9 |
Definition at line 758 of file unzip.cpp.
Referenced by inflate_trees_fixed().
const inflate_huft fixed_td[] |
Definition at line 891 of file unzip.cpp.
Referenced by inflate_trees_fixed().
const inflate_huft fixed_tl[] |
Definition at line 760 of file unzip.cpp.
Referenced by inflate_trees_fixed().
const uInt inflate_mask[17] |
Definition at line 744 of file unzip.cpp.
Referenced by inflate_blocks(), inflate_codes(), and inflate_fast().
Definition at line 4542 of file unzip.cpp.
Referenced by CloseZipU(), FindZipItem(), FormatZipMessageU(), GetZipItem(), OpenZipInternal(), SetUnzipBaseDir(), and UnzipItemInternal().
const char unz_copyright[] = " unzip 0.15 Copyright 1998 Gilles Vollant " |
Definition at line 2715 of file unzip.cpp.
Referenced by unzOpenInternal().
|
extern |