Home
last modified time | relevance | path

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

/system/core/libziparchive/
Dzip_archive.cc218 ZipArchive* archive, off64_t file_length, in MapCentralDirectory0() argument
220 const off64_t search_start = file_length - read_amount; in MapCentralDirectory0()
262 if (calculated_length != file_length) { in MapCentralDirectory0()
264 static_cast<int64_t>(file_length - calculated_length)); in MapCentralDirectory0()
315 off64_t file_length = lseek64(fd, 0, SEEK_END); in MapCentralDirectory() local
316 if (file_length == -1) { in MapCentralDirectory()
321 if (file_length > static_cast<off64_t>(0xffffffff)) { in MapCentralDirectory()
322 ALOGV("Zip: zip file too long %" PRId64, static_cast<int64_t>(file_length)); in MapCentralDirectory()
326 if (file_length < static_cast<off64_t>(sizeof(EocdRecord))) { in MapCentralDirectory()
327 ALOGV("Zip: length %" PRId64 " is too small to be zip", static_cast<int64_t>(file_length)); in MapCentralDirectory()
[all …]
/system/update_engine/payload_consumer/
Ddelta_performer_unittest.cc516 const uint64_t file_length = 4 * block_size - 13; in TEST_F() local
527 file_length, in TEST_F()