Searched refs:z_buf (Results 1 – 2 of 2) sorted by relevance
/openbsd/usr.bin/compress/ |
H A D | gzopen.c | 88 u_char z_buf[Z_BUFSIZE]; /* i/o buffer */ member 133 s->z_stream.next_in = s->z_buf; in gz_ropen() 156 s->z_stream.avail_in = read(s->z_fd, s->z_buf, Z_BUFSIZE); in get_byte() 161 s->z_stream.next_in = s->z_buf; in get_byte() 278 s->z_stream.avail_in = read(s->z_fd, s->z_buf, in gz_read() 282 s->z_stream.next_in = s->z_buf; in gz_read() 413 s->z_stream.next_out = s->z_buf; in gz_wopen() 439 if (write(s->z_fd, s->z_buf, Z_BUFSIZE) != Z_BUFSIZE) in gz_write() 441 s->z_stream.next_out = s->z_buf; in gz_write() 475 if (write(s->z_fd, s->z_buf, len) != len) in gz_flush() [all …]
|
H A D | zipopen.c | 53 uint8_t z_buf[Z_BUFSIZE]; /* I/O buffer */ member 75 ssize_t nread = read(s->z_fd, s->z_buf, Z_BUFSIZE); in get_byte() 81 s->z_stream.next_in = s->z_buf; in get_byte() 274 s->z_stream.next_in = s->z_buf; in zip_ropen() 275 s->z_stream.avail_out = sizeof(s->z_buf); in zip_ropen() 326 ssize_t nread = read(s->z_fd, s->z_buf, Z_BUFSIZE); in zip_read() 335 s->z_stream.next_in = s->z_buf; in zip_read()
|