Home
last modified time | relevance | path

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

/system/core/libsparse/
Doutput_file.cpp96 gzFile gz_fd; member
185 outgz->gz_fd = gzdopen(fd, "wb9"); in gz_file_open()
186 if (!outgz->gz_fd) { in gz_file_open()
198 ret = gzseek(outgz->gz_fd, cnt, SEEK_CUR); in gz_file_skip()
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()
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()
249 gzclose(outgz->gz_fd); in gz_file_close()