Lines Matching refs:outgz
186 struct output_file_gz *outgz = to_output_file_gz(out); in gz_file_open() local
188 outgz->gz_fd = gzdopen(fd, "wb9"); in gz_file_open()
189 if (!outgz->gz_fd) { in gz_file_open()
201 struct output_file_gz *outgz = to_output_file_gz(out); in gz_file_skip() local
203 ret = gzseek(outgz->gz_fd, cnt, SEEK_CUR); in gz_file_skip()
214 struct output_file_gz *outgz = to_output_file_gz(out); in gz_file_pad() local
216 ret = gztell(outgz->gz_fd); in gz_file_pad()
225 ret = gzseek(outgz->gz_fd, len - 1, SEEK_SET); in gz_file_pad()
230 gzwrite(outgz->gz_fd, "", 1); in gz_file_pad()
238 struct output_file_gz *outgz = to_output_file_gz(out); in gz_file_write() local
240 ret = gzwrite(outgz->gz_fd, data, len); in gz_file_write()
254 struct output_file_gz *outgz = to_output_file_gz(out); in gz_file_close() local
256 gzclose(outgz->gz_fd); in gz_file_close()
257 free(outgz); in gz_file_close()
606 struct output_file_gz *outgz = calloc(1, sizeof(struct output_file_gz)); in output_file_new_gz() local
607 if (!outgz) { in output_file_new_gz()
612 outgz->out.ops = &gz_file_ops; in output_file_new_gz()
614 return &outgz->out; in output_file_new_gz()