Home
last modified time | relevance | path

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

/system/core/libziparchive/
Dzip_archive.cc846 const off64_t current_offset = lseek64(fd, 0, SEEK_CUR); in Create() local
847 if (current_offset == -1) { in Create()
864 result = TEMP_FAILURE_RETRY(fallocate(fd, 0, current_offset, declared_length)); in Create()
867 static_cast<int64_t>(declared_length), static_cast<int64_t>(current_offset), in Create()
882 result = TEMP_FAILURE_RETRY(ftruncate(fd, declared_length + current_offset)); in Create()
885 static_cast<int64_t>(declared_length + current_offset), strerror(errno)); in Create()