#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "zlib.h"
#include "inftrees.h"
#include "inflate.h"
Go to the source code of this file.
|
static void * | mem_alloc (void *mem, unsigned count, unsigned size) |
|
static void | mem_free (void *mem, void *ptr) |
|
static void | mem_setup (z_stream *strm) |
|
static void | mem_limit (z_stream *strm, size_t limit) |
|
static void | mem_used (z_stream *strm, char *prefix) |
|
static void | mem_high (z_stream *strm, char *prefix) |
|
static void | mem_done (z_stream *strm, char *prefix) |
|
static unsigned char * | h2b (const char *hex, unsigned *len) |
|
static void | inf (char *hex, char *what, unsigned step, int win, unsigned len, int err) |
|
static void | cover_support (void) |
|
static void | cover_wrap (void) |
|
static unsigned | pull (void *desc, unsigned char **buf) |
|
static int | push (void *desc, unsigned char *buf, unsigned len) |
|
static void | cover_back (void) |
|
static int | try (char *hex, char *id, int err) |
|
static void | cover_inflate (void) |
|
static void | cover_trees (void) |
|
static void | cover_fast (void) |
|
int | main (void) |
|
Definition at line 56 of file infcover.c.
Class Members |
struct mem_item * |
next |
|
void * |
ptr |
|
size_t |
size |
|
Definition at line 63 of file infcover.c.
Class Members |
struct mem_item * |
first |
|
size_t |
highwater |
|
size_t |
limit |
|
int |
notlifo |
|
int |
rogue |
|
size_t |
total |
|
static void cover_back |
( |
void |
| ) |
|
|
static |
static void cover_fast |
( |
void |
| ) |
|
|
static |
static void cover_inflate |
( |
void |
| ) |
|
|
static |
static void cover_support |
( |
void |
| ) |
|
|
static |
static void cover_trees |
( |
void |
| ) |
|
|
static |
static void cover_wrap |
( |
void |
| ) |
|
|
static |
static unsigned char* h2b |
( |
const char * |
hex, |
|
|
unsigned * |
len |
|
) |
| |
|
static |
static void inf |
( |
char * |
hex, |
|
|
char * |
what, |
|
|
unsigned |
step, |
|
|
int |
win, |
|
|
unsigned |
len, |
|
|
int |
err |
|
) |
| |
|
static |
static void* mem_alloc |
( |
void * |
mem, |
|
|
unsigned |
count, |
|
|
unsigned |
size |
|
) |
| |
|
static |
static void mem_done |
( |
z_stream * |
strm, |
|
|
char * |
prefix |
|
) |
| |
|
static |
static void mem_free |
( |
void * |
mem, |
|
|
void * |
ptr |
|
) |
| |
|
static |
static void mem_high |
( |
z_stream * |
strm, |
|
|
char * |
prefix |
|
) |
| |
|
static |
static void mem_limit |
( |
z_stream * |
strm, |
|
|
size_t |
limit |
|
) |
| |
|
static |
static void mem_setup |
( |
z_stream * |
strm | ) |
|
|
static |
static void mem_used |
( |
z_stream * |
strm, |
|
|
char * |
prefix |
|
) |
| |
|
static |
static unsigned pull |
( |
void * |
desc, |
|
|
unsigned char ** |
buf |
|
) |
| |
|
static |
static int push |
( |
void * |
desc, |
|
|
unsigned char * |
buf, |
|
|
unsigned |
len |
|
) |
| |
|
static |
static int try |
( |
char * |
hex, |
|
|
char * |
id, |
|
|
int |
err |
|
) |
| |
|
static |