Lines Matching refs:outgz
183 struct output_file_gz* outgz = to_output_file_gz(out); in gz_file_open() local
185 outgz->gz_fd = gzdopen(fd, "wb9"); in gz_file_open()
186 if (!outgz->gz_fd) { in gz_file_open()
196 struct output_file_gz* outgz = to_output_file_gz(out); in gz_file_skip() local
198 ret = gzseek(outgz->gz_fd, cnt, SEEK_CUR); in gz_file_skip()
208 struct output_file_gz* outgz = to_output_file_gz(out); in gz_file_pad() local
210 ret = gztell(outgz->gz_fd); in gz_file_pad()
219 ret = gzseek(outgz->gz_fd, len - 1, SEEK_SET); in gz_file_pad()
224 gzwrite(outgz->gz_fd, "", 1); in gz_file_pad()
231 struct output_file_gz* outgz = to_output_file_gz(out); in gz_file_write() local
234 ret = gzwrite(outgz->gz_fd, data, min(len, (unsigned int)INT_MAX)); in gz_file_write()
236 error("gzwrite %s", gzerror(outgz->gz_fd, nullptr)); in gz_file_write()
247 struct output_file_gz* outgz = to_output_file_gz(out); in gz_file_close() local
249 gzclose(outgz->gz_fd); in gz_file_close()
250 free(outgz); in gz_file_close()
567 struct output_file_gz* outgz = in output_file_new_gz() local
569 if (!outgz) { in output_file_new_gz()
574 outgz->out.ops = &gz_file_ops; in output_file_new_gz()
576 return &outgz->out; in output_file_new_gz()