Searched refs:declared_length (Results 1 - 1 of 1) sorted by relevance

/system/core/libziparchive/
H A Dzip_archive.cc833 const uint32_t declared_length = entry->uncompressed_length; local
842 if (declared_length > 0) {
852 result = TEMP_FAILURE_RETRY(fallocate(fd, 0, current_offset, declared_length));
855 static_cast<int64_t>(declared_length + current_offset), strerror(errno));
861 result = TEMP_FAILURE_RETRY(ftruncate(fd, declared_length + current_offset));
864 static_cast<int64_t>(declared_length + current_offset), strerror(errno));
868 return std::unique_ptr<FileWriter>(new FileWriter(fd, declared_length));
888 FileWriter(const int fd, const size_t declared_length) : argument
891 declared_length_(declared_length),

Completed in 18 milliseconds