Lines Matching refs:fd
124 int fd = -1;
131 fd = TEMP_FAILURE_RETRY(::open(zipFileName, O_RDONLY | O_BINARY));
132 if (fd < 0) {
137 mFileLength = lseek64(fd, 0, SEEK_END);
139 TEMP_FAILURE_RETRY(close(fd));
148 mFd = fd;
169 TEMP_FAILURE_RETRY(close(fd));
789 bool ZipFileRO::uncompressEntry(ZipEntryRO entry, int fd) const
815 ssize_t actual = TEMP_FAILURE_RETRY(write(fd, ptr, uncompLen));
827 if (!inflateBuffer(fd, ptr, uncompLen, compLen)) {
908 /*static*/ bool ZipFileRO::inflateBuffer(int fd, const void* inBuf,
965 int cc = TEMP_FAILURE_RETRY(write(fd, writeBuf, writeSize));