Home
last modified time | relevance | path

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

/system/core/libziparchive/
Dzip_archive.cc410 ZipArchive* archive, off64_t file_length, in MapCentralDirectory0() argument
412 const off64_t search_start = file_length - read_amount; in MapCentralDirectory0()
456 if (calculated_length != file_length) { in MapCentralDirectory0()
458 static_cast<int64_t>(file_length - calculated_length)); in MapCentralDirectory0()
509 off64_t file_length = lseek64(fd, 0, SEEK_END); in MapCentralDirectory() local
510 if (file_length == -1) { in MapCentralDirectory()
515 if (file_length > static_cast<off64_t>(0xffffffff)) { in MapCentralDirectory()
516 ALOGV("Zip: zip file too long %" PRId64, static_cast<int64_t>(file_length)); in MapCentralDirectory()
520 if (file_length < static_cast<off64_t>(sizeof(EocdRecord))) { in MapCentralDirectory()
521 ALOGV("Zip: length %" PRId64 " is too small to be zip", static_cast<int64_t>(file_length)); in MapCentralDirectory()
[all …]