Home
last modified time | relevance | path

Searched refs:zf_zstream (Results 1 – 1 of 1) sorted by relevance

/freebsd/stand/libsa/
H A Dgzipfs.c39 z_stream zf_zstream; member
68 req = Z_BUFSIZE - zf->zf_zstream.avail_in; in zf_fill()
78 result = read(zf->zf_rawfd, zf->zf_buf + zf->zf_zstream.avail_in, req); in zf_fill()
79 zf->zf_zstream.next_in = zf->zf_buf; in zf_fill()
81 zf->zf_zstream.avail_in += result; in zf_fill()
94 if ((zf->zf_zstream.avail_in == 0) && (zf_fill(zf) == -1)) in get_byte()
96 zf->zf_zstream.avail_in--; in get_byte()
98 return(*(zf->zf_zstream.next_in)++); in get_byte()
212 if ((error = inflateInit2(&(zf->zf_zstream), -15)) != Z_OK) { in zf_open()
213 printf("zf_open: inflateInit returned %d : %s\n", error, zf->zf_zstream.msg); in zf_open()
[all …]