Searched refs:declared_length (Results 1 – 1 of 1) sorted by relevance
1015 const uint32_t declared_length = entry->uncompressed_length; in Create() local1024 if (declared_length > 0) { in Create()1034 result = TEMP_FAILURE_RETRY(fallocate(fd, 0, current_offset, declared_length)); in Create()1037 static_cast<int64_t>(declared_length + current_offset), strerror(errno)); in Create()1043 result = TEMP_FAILURE_RETRY(ftruncate(fd, declared_length + current_offset)); in Create()1046 static_cast<int64_t>(declared_length + current_offset), strerror(errno)); in Create()1050 return std::unique_ptr<FileWriter>(new FileWriter(fd, declared_length)); in Create()1070 FileWriter(const int fd, const size_t declared_length) : in FileWriter() argument1073 declared_length_(declared_length), in FileWriter()