Lines Matching refs:d_stream
64 z_stream d_stream; /* decompression stream */ in test_inflate() local
66 d_stream.zalloc = zalloc; in test_inflate()
67 d_stream.zfree = zfree; in test_inflate()
68 d_stream.opaque = (void *)0; in test_inflate()
70 d_stream.next_in = compr; in test_inflate()
71 d_stream.avail_in = 0; in test_inflate()
72 d_stream.next_out = uncompr; in test_inflate()
74 err = inflateInit(&d_stream); in test_inflate()
77 while (d_stream.total_out < uncomprLen && d_stream.total_in < comprLen) { in test_inflate()
78 d_stream.avail_in = d_stream.avail_out = 1; /* force small buffers */ in test_inflate()
79 err = inflate(&d_stream, Z_NO_FLUSH); in test_inflate()
85 err = inflateEnd(&d_stream); in test_inflate()