H A D | example.c | 62 static void test_compress(Byte *compr, uLong comprLen, Byte *uncompr, in test_compress() argument 71 strcpy((char*)uncompr, "garbage"); in test_compress() 73 err = uncompress(uncompr, &uncomprLen, compr, comprLen); in test_compress() 76 if (strcmp((char*)uncompr, hello)) { in test_compress() 80 printf("uncompress(): %s\n", (char *)uncompr); in test_compress() 87 static void test_gzio(const char *fname, Byte *uncompr, uLong uncomprLen) in test_gzio() argument 119 strcpy((char*)uncompr, "garbage"); in test_gzio() 121 if (gzread(file, uncompr, (unsigned)uncomprLen) != len) { in test_gzio() 125 if (strcmp((char*)uncompr, hello)) { in test_gzio() 126 fprintf(stderr, "bad gzread: %s\n", (char*)uncompr); in test_gzio() 209 test_inflate(Byte *compr, uLong comprLen, Byte *uncompr, uLong uncomprLen) test_inflate() argument 252 test_large_deflate(Byte *compr, uLong comprLen, Byte *uncompr, uLong uncomprLen) test_large_deflate() argument 306 test_large_inflate(Byte *compr, uLong comprLen, Byte *uncompr, uLong uncomprLen) test_large_inflate() argument 385 test_sync(Byte *compr, uLong comprLen, Byte *uncompr, uLong uncomprLen) test_sync() argument 462 test_dict_inflate(Byte *compr, uLong comprLen, Byte *uncompr, uLong uncomprLen) test_dict_inflate() argument 517 Byte *compr, *uncompr; main() local [all...] |