Searched refs:gz_fd (Results 1 – 1 of 1) sorted by relevance
/system/core/libsparse/ |
D | output_file.cpp | 90 gzFile gz_fd; member 179 outgz->gz_fd = gzdopen(fd, "wb9"); in gz_file_open() 180 if (!outgz->gz_fd) { in gz_file_open() 192 ret = gzseek(outgz->gz_fd, cnt, SEEK_CUR); in gz_file_skip() 204 ret = gztell(outgz->gz_fd); in gz_file_pad() 213 ret = gzseek(outgz->gz_fd, len - 1, SEEK_SET); in gz_file_pad() 218 gzwrite(outgz->gz_fd, "", 1); in gz_file_pad() 228 ret = gzwrite(outgz->gz_fd, data, std::min<unsigned int>(len, (unsigned int)INT_MAX)); in gz_file_write() 230 error("gzwrite %s", gzerror(outgz->gz_fd, nullptr)); in gz_file_write() 243 gzclose(outgz->gz_fd); in gz_file_close()
|