#include "zlib.h"
#include <stdio.h>
Go to the source code of this file.
Macros | |
#define | CHECK_ERR(err, msg) |
#define | TESTFILE "foo.gz" |
Functions | |
int | main (int argc, argv) |
void test_flush | OF ((Byte *compr, uLong *comprLen)) |
void test_deflate | OF ((Byte *compr, uLong comprLen)) |
void test_inflate | OF ((Byte *compr, uLong comprLen, Byte *uncompr, uLong uncomprLen)) |
void test_gzio | OF ((const char *fname, Byte *uncompr, uLong uncomprLen)) |
int main | OF ((int argc, char *argv[])) |
void | test_compress (Byte *compr, uLong comprLen, Byte *uncompr, uLong uncomprLen) |
void | test_deflate (Byte *compr, uLong comprLen) |
void | test_dict_deflate (Byte *compr, uLong comprLen) |
void | test_dict_inflate (Byte *compr, uLong comprLen, Byte *uncompr, uLong uncomprLen) |
void | test_flush (Byte *compr, uLong *comprLen) |
void | test_gzio (char *fname, Byte *uncompr, uLong uncomprLen) const |
void | test_inflate (Byte *compr, uLong comprLen, Byte *uncompr, uLong uncomprLen) |
void | test_large_deflate (Byte *compr, uLong comprLen, Byte *uncompr, uLong uncomprLen) |
void | test_large_inflate (Byte *compr, uLong comprLen, Byte *uncompr, uLong uncomprLen) |
void | test_sync (Byte *compr, uLong comprLen, Byte *uncompr, uLong uncomprLen) |
Variables | |
static uLong | dictId |
static const char | dictionary [] = "hello" |
static z_const char | hello [] = "hello, hello!" |
static alloc_func | zalloc = (alloc_func)0 |
static free_func | zfree = (free_func)0 |
#define CHECK_ERR | ( | err, | |
msg | |||
) |
#define TESTFILE "foo.gz" |
Definition at line 19 of file zlib/test/example.c.
Definition at line 544 of file zlib/test/example.c.
void test_flush OF | ( | (Byte *compr, uLong *comprLen) | ) |
void test_deflate OF | ( | (Byte *compr, uLong comprLen) | ) |
void test_inflate OF | ( | (Byte *compr, uLong comprLen, Byte *uncompr, uLong uncomprLen) | ) |
Definition at line 88 of file zlib/test/example.c.
Definition at line 200 of file zlib/test/example.c.
Definition at line 456 of file zlib/test/example.c.
Definition at line 493 of file zlib/test/example.c.
Definition at line 375 of file zlib/test/example.c.
Definition at line 114 of file zlib/test/example.c.
Definition at line 238 of file zlib/test/example.c.
Definition at line 279 of file zlib/test/example.c.
Definition at line 334 of file zlib/test/example.c.
Definition at line 413 of file zlib/test/example.c.
|
static |
Definition at line 35 of file zlib/test/example.c.
|
static |
Definition at line 34 of file zlib/test/example.c.
|
static |
Definition at line 29 of file zlib/test/example.c.
|
static |
Definition at line 77 of file zlib/test/example.c.
|
static |
Definition at line 78 of file zlib/test/example.c.