Lines Matching refs:decomp_strm
95 z_stream comp_strm, decomp_strm; in TEST() local
120 decomp_strm.zalloc = Z_NULL; in TEST()
121 decomp_strm.zfree = Z_NULL; in TEST()
122 decomp_strm.opaque = Z_NULL; in TEST()
123 ret = inflateInit(&decomp_strm); in TEST()
125 decomp_strm.next_in = comp_buf; in TEST()
126 decomp_strm.avail_in = comp_sz; in TEST()
128 while (decomp_strm.avail_in > 0) { in TEST()
129 decomp_strm.next_out = decomp_buf; in TEST()
130 decomp_strm.avail_out = sizeof(decomp_buf); in TEST()
131 ret = inflate(&decomp_strm, Z_FINISH); in TEST()
135 size_t num_out = sizeof(decomp_buf) - decomp_strm.avail_out; in TEST()
137 EXPECT_EQ(decomp_buf[i], src[decomp_strm.total_out - num_out + i]); in TEST()
144 ret = inflateEnd(&decomp_strm); in TEST()