#include "zstd_zlibwrapper.h"
#include <stdio.h>
|
void test_deflate | _Z_OF ((Byte *compr, uLong comprLen)) |
|
void test_inflate | _Z_OF ((Byte *compr, uLong comprLen, Byte *uncompr, uLong uncomprLen)) |
|
void test_flush | _Z_OF ((Byte *compr, uLong *comprLen)) |
|
int main | _Z_OF ((int argc, char *argv[])) |
|
void test_gzio | _Z_OF ((const char *fname, Byte *uncompr, uLong uncomprLen)) |
|
void | test_compress (Byte *compr, uLong comprLen, Byte *uncompr, uLong uncomprLen) |
|
void | test_gzio (char *fname, Byte *uncompr, uLong uncomprLen) const |
|
void | test_deflate (Byte *compr, uLong comprLen) |
|
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_flush (Byte *compr, uLong *comprLen) |
|
void | test_sync (Byte *compr, uLong comprLen, Byte *uncompr, uLong uncomprLen) |
|
void | test_dict_deflate (Byte *compr, uLong comprLen) |
|
void | test_dict_inflate (Byte *compr, uLong comprLen, Byte *uncompr, uLong uncomprLen) |
|
int | main (int argc, argv) |
|
◆ CHECK_ERR
#define CHECK_ERR |
( |
| err, |
|
|
| msg ) |
Value: { \
fprintf(stderr, "%s error: %d\n", msg, err); \
exit(1); \
} \
}
#define Z_OK
Definition zlib.h:177
◆ TESTFILE
#define TESTFILE "foo.gz" |
◆ _Z_OF() [1/5]
◆ _Z_OF() [2/5]
◆ _Z_OF() [3/5]
◆ _Z_OF() [4/5]
◆ _Z_OF() [5/5]
◆ main()
◆ test_compress()
◆ test_deflate()
void test_deflate |
( |
Byte * | compr, |
|
|
uLong | comprLen ) |
◆ test_dict_deflate()
void test_dict_deflate |
( |
Byte * | compr, |
|
|
uLong | comprLen ) |
◆ test_dict_inflate()
◆ test_flush()
void test_flush |
( |
Byte * | compr, |
|
|
uLong * | comprLen ) |
◆ test_gzio()
void test_gzio |
( |
char * | fname, |
|
|
Byte * | uncompr, |
|
|
uLong | uncomprLen ) const |
◆ test_inflate()
◆ test_large_deflate()
void test_large_deflate |
( |
Byte * | compr, |
|
|
uLong | comprLen, |
|
|
Byte * | uncompr, |
|
|
uLong | uncomprLen ) |
◆ test_large_inflate()
void test_large_inflate |
( |
Byte * | compr, |
|
|
uLong | comprLen, |
|
|
Byte * | uncompr, |
|
|
uLong | uncomprLen ) |
◆ test_sync()
◆ dictId
◆ dictionary
◆ hello
z_const char hello[] = "hello, hello! I said hello, hello!" |