Lines Matching refs:file_length
213 off64_t file_length, uint32_t read_amount, in FindCentralDirectoryInfo() argument
216 const off64_t search_start = file_length - read_amount; in FindCentralDirectoryInfo()
253 if (calculated_length != file_length) { in FindCentralDirectoryInfo()
255 static_cast<int64_t>(file_length - calculated_length)); in FindCentralDirectoryInfo()
292 off64_t file_length = archive->mapped_zip.GetFileLength(); in MapCentralDirectory() local
293 if (file_length == -1) { in MapCentralDirectory()
297 if (file_length > kMaxFileLength) { in MapCentralDirectory()
298 ALOGV("Zip: zip file too long %" PRId64, static_cast<int64_t>(file_length)); in MapCentralDirectory()
302 if (file_length < static_cast<off64_t>(sizeof(EocdRecord))) { in MapCentralDirectory()
303 ALOGV("Zip: length %" PRId64 " is too small to be zip", static_cast<int64_t>(file_length)); in MapCentralDirectory()
320 if (file_length < read_amount) { in MapCentralDirectory()
321 read_amount = static_cast<uint32_t>(file_length); in MapCentralDirectory()
326 FindCentralDirectoryInfo(debug_file_name, archive, file_length, read_amount, &cdInfo); in MapCentralDirectory()