Searched refs:zstr (Results 1 – 2 of 2) sorted by relevance
1203 z_stream zstr; in decompress_ctf() local1206 zstr.zalloc = (alloc_func)0; in decompress_ctf()1207 zstr.zfree = (free_func)0; in decompress_ctf()1208 zstr.opaque = (voidpf)0; in decompress_ctf()1210 zstr.next_in = (Bytef *)cbuf; in decompress_ctf()1211 zstr.avail_in = cbufsz; in decompress_ctf()1212 zstr.next_out = (Bytef *)dbuf; in decompress_ctf()1213 zstr.avail_out = dbufsz; in decompress_ctf()1215 if ((rc = inflateInit(&zstr)) != Z_OK || in decompress_ctf()1216 (rc = inflate(&zstr, Z_NO_FLUSH)) != Z_STREAM_END || in decompress_ctf()[all …]
958 z_stream zstr; in main() local965 bzero(&zstr, sizeof (z_stream)); in main()966 zstr.next_in = (void *)cd.cd_ctfdata; in main()967 zstr.avail_in = cd.cd_ctflen; in main()968 zstr.next_out = buf; in main()969 zstr.avail_out = hp->cth_stroff + hp->cth_strlen; in main()971 if ((rc = inflateInit(&zstr)) != Z_OK) in main()974 if ((rc = inflate(&zstr, Z_FINISH)) != Z_STREAM_END) in main()977 if ((rc = inflateEnd(&zstr)) != Z_OK) in main()980 if (zstr.total_out != hp->cth_stroff + hp->cth_strlen) in main()