Lines Matching refs:c_stream
29 z_stream c_stream; /* compression stream */ in test_dict_deflate() local
57 c_stream.zalloc = zalloc; in test_dict_deflate()
58 c_stream.zfree = zfree; in test_dict_deflate()
59 c_stream.opaque = (void *)0; in test_dict_deflate()
61 err = deflateInit2(&c_stream, level, method, windowBits, memLevel, strategy); in test_dict_deflate()
65 &c_stream, (const unsigned char *)data, dictionaryLen); in test_dict_deflate()
69 *comprLen = 100 + 2 * deflateBound(&c_stream, dataLen); in test_dict_deflate()
72 dictId = c_stream.adler; in test_dict_deflate()
73 c_stream.next_out = *compr; in test_dict_deflate()
74 c_stream.avail_out = (unsigned int)(*comprLen); in test_dict_deflate()
76 c_stream.next_in = (Bytef *)data; in test_dict_deflate()
77 c_stream.avail_in = dataLen; in test_dict_deflate()
79 err = deflate(&c_stream, Z_FINISH); in test_dict_deflate()
84 err = deflateEnd(&c_stream); in test_dict_deflate()