#include <stdio.h>#include <stdlib.h>#include <string.h>#include "zlib.h"#include "RConfigure.h"#include "ZipLZMA.h"#include "ZipLZ4.h"Classes | |
| struct | huft |
Macros | |
| #define | BMAX 16 /* maximum bit length of any code (16 for explode) */ |
| #define | CHECK_EOF |
| #define | DUMPBITS(n, b, k) |
| #define | FLUSH(n, obufptr, obufcnt, R__slide) |
| #define | FPRINTF fprintf |
| #define | INFMOD /* tell inflate.h to include code to be compiled */ |
| #define | N_MAX 288 /* maximum number of codes in any set */ |
| #define | NEEDBITS(n, b, k, ibufptr, ibufcnt) |
| #define | NEXTBYTE R__ReadByte() |
| #define | NULL 0L |
| #define | OF(a) |
| #define | Trace(x) |
| #define | WSIZE 0x8000 /* window size--must be a power of two, and at least */ |
Typedefs | |
| typedef char | boolean |
| typedef unsigned char | uch |
| typedef unsigned long | ulg |
| typedef unsigned short | ush |
Functions | |
| int | R__huft_build () |
| int | R__huft_build (unsigned *b, unsigned n, unsigned s, const ush *d, const ush *e, struct huft **t, int *m, unsigned *hufts) |
| int | R__huft_free () |
| int | R__huft_free (struct huft *t) |
| int | R__Inflate () |
| int | R__Inflate (uch **ibufptr, long *ibufcnt, uch **obufptr, long *obufcnt) |
| Decompress a deflated entry. | |
| int | R__Inflate_block () |
| int | R__Inflate_block (int *e, uch **ibufptr, long *ibufcnt, uch **obufptr, long *obufcnt, ulg *bb, unsigned *bk, uch *R__slide, unsigned *wp, unsigned *hufts) |
| int | R__Inflate_codes () |
| int | R__Inflate_codes (struct huft *tl, struct huft *td, int bl, int bd, uch **ibufptr, long *ibufcnt, uch **obufptr, long *obufcnt, ulg *bb, unsigned *bk, uch *R__slide, unsigned *wp) |
| int | R__Inflate_dynamic () |
| int | R__Inflate_dynamic (uch **ibufptr, long *ibufcnt, uch **obufptr, long *obufcnt, ulg *bb, unsigned *bk, uch *R__slide, unsigned *wp, unsigned *hufts) |
| int | R__Inflate_fixed () |
| int | R__Inflate_fixed (uch **ibufptr, long *ibufcnt, uch **obufptr, long *obufcnt, ulg *bb, unsigned *bk, uch *R__slide, unsigned *wp, unsigned *hufts) |
| int | R__Inflate_free () |
| int | R__Inflate_stored () |
| int | R__Inflate_stored (uch **ibufptr, long *ibufcnt, uch **obufptr, long *obufcnt, ulg *bb, unsigned *bk, uch *R__slide, unsigned *wp) |
| static void | R__WriteData () |
| static void | R__WriteData (int n, uch **obufptr, long *obufcnt, uch *R__slide) |
Variables | |
| static const unsigned | border [] |
| static const ush | cpdext [] |
| static const ush | cpdist [] |
| static const ush | cplens [] |
| static const ush | cplext [] |
| static const int | dbits = 6 |
| static const int | lbits = 9 |
| static const ush | mask [] |
| static const int | qflag = 0 |
| int | R__fixed_bd |
| int | R__fixed_bl |
| struct huft * | R__fixed_td |
| struct huft * | R__fixed_tl = (struct huft *) 0L |
Definition at line 393 of file ZInflate.c.
| #define CHECK_EOF |
Definition at line 338 of file ZInflate.c.
Definition at line 352 of file ZInflate.c.
Definition at line 241 of file ZInflate.c.
| #define FPRINTF fprintf |
Definition at line 237 of file ZInflate.c.
Definition at line 218 of file ZInflate.c.
Definition at line 394 of file ZInflate.c.
Definition at line 348 of file ZInflate.c.
| #define NEXTBYTE R__ReadByte() |
Definition at line 233 of file ZInflate.c.
| #define NULL 0L |
Definition at line 15 of file ZInflate.c.
Definition at line 277 of file ZInflate.c.
Definition at line 250 of file ZInflate.c.
Definition at line 229 of file ZInflate.c.
| typedef char boolean |
Definition at line 223 of file ZInflate.c.
| typedef unsigned char uch |
Definition at line 224 of file ZInflate.c.
| typedef unsigned long ulg |
Definition at line 226 of file ZInflate.c.
| typedef unsigned short ush |
Definition at line 225 of file ZInflate.c.
| int R__huft_build | ( | ) |
| int R__huft_build | ( | unsigned * | b, |
| unsigned | n, | ||
| unsigned | s, | ||
| const ush * | d, | ||
| const ush * | e, | ||
| struct huft ** | t, | ||
| int * | m, | ||
| unsigned * | hufts ) |
Definition at line 397 of file ZInflate.c.
| int R__huft_free | ( | ) |
Definition at line 595 of file ZInflate.c.
| int R__Inflate | ( | ) |
Decompress a deflated entry.
Definition at line 1048 of file ZInflate.c.
| int R__Inflate_block | ( | ) |
| int R__Inflate_block | ( | int * | e, |
| uch ** | ibufptr, | ||
| long * | ibufcnt, | ||
| uch ** | obufptr, | ||
| long * | obufcnt, | ||
| ulg * | bb, | ||
| unsigned * | bk, | ||
| uch * | R__slide, | ||
| unsigned * | wp, | ||
| unsigned * | hufts ) |
Definition at line 1004 of file ZInflate.c.
| int R__Inflate_codes | ( | ) |
| int R__Inflate_codes | ( | struct huft * | tl, |
| struct huft * | td, | ||
| int | bl, | ||
| int | bd, | ||
| uch ** | ibufptr, | ||
| long * | ibufcnt, | ||
| uch ** | obufptr, | ||
| long * | obufcnt, | ||
| ulg * | bb, | ||
| unsigned * | bk, | ||
| uch * | R__slide, | ||
| unsigned * | wp ) |
Definition at line 623 of file ZInflate.c.
| int R__Inflate_dynamic | ( | ) |
| int R__Inflate_dynamic | ( | uch ** | ibufptr, |
| long * | ibufcnt, | ||
| uch ** | obufptr, | ||
| long * | obufcnt, | ||
| ulg * | bb, | ||
| unsigned * | bk, | ||
| uch * | R__slide, | ||
| unsigned * | wp, | ||
| unsigned * | hufts ) |
Definition at line 839 of file ZInflate.c.
| int R__Inflate_fixed | ( | ) |
| int R__Inflate_fixed | ( | uch ** | ibufptr, |
| long * | ibufcnt, | ||
| uch ** | obufptr, | ||
| long * | obufcnt, | ||
| ulg * | bb, | ||
| unsigned * | bk, | ||
| uch * | R__slide, | ||
| unsigned * | wp, | ||
| unsigned * | hufts ) |
Definition at line 791 of file ZInflate.c.
| int R__Inflate_free | ( | ) |
Definition at line 1092 of file ZInflate.c.
| int R__Inflate_stored | ( | ) |
| int R__Inflate_stored | ( | uch ** | ibufptr, |
| long * | ibufcnt, | ||
| uch ** | obufptr, | ||
| long * | obufcnt, | ||
| ulg * | bb, | ||
| unsigned * | bk, | ||
| uch * | R__slide, | ||
| unsigned * | wp ) |
Definition at line 733 of file ZInflate.c.
|
static |
Definition at line 1115 of file ZInflate.c.
|
static |
Definition at line 292 of file ZInflate.c.
Definition at line 305 of file ZInflate.c.
Definition at line 301 of file ZInflate.c.
Definition at line 294 of file ZInflate.c.
Definition at line 298 of file ZInflate.c.
Definition at line 389 of file ZInflate.c.
Definition at line 388 of file ZInflate.c.
Definition at line 311 of file ZInflate.c.
Definition at line 18 of file ZInflate.c.
| int R__fixed_bd |
Definition at line 789 of file ZInflate.c.
| int R__fixed_bl |
Definition at line 789 of file ZInflate.c.
| struct huft* R__fixed_td |
Definition at line 788 of file ZInflate.c.
Definition at line 787 of file ZInflate.c.