Searched refs:declared_length (Results 1 – 1 of 1) sorted by relevance
1101 const uint64_t declared_length = entry->uncompressed_length; in Create() local1102 if (declared_length > size) { in Create()1103 ALOGW("Zip: file size %" PRIu64 " is larger than the buffer size %zu.", declared_length, in Create()1143 const uint64_t declared_length = entry->uncompressed_length; in Create() local1150 if (declared_length > SIZE_MAX || declared_length > INT64_MAX) { in Create()1151 ALOGW("Zip: file size %" PRIu64 " is too large to extract.", declared_length); in Create()1156 if (declared_length > 0) { in Create()1166 long result = TEMP_FAILURE_RETRY(fallocate(fd, 0, current_offset, declared_length)); in Create()1169 declared_length, static_cast<int64_t>(current_offset), strerror(errno)); in Create()1183 long result = TEMP_FAILURE_RETRY(ftruncate(fd, declared_length + current_offset)); in Create()[all …]