Lines Matching refs:file_length
217 off64_t file_length, in FindCentralDirectoryInfo() argument
221 const off64_t search_start = file_length - read_amount; in FindCentralDirectoryInfo()
258 if (calculated_length != file_length) { in FindCentralDirectoryInfo()
260 static_cast<int64_t>(file_length - calculated_length)); in FindCentralDirectoryInfo()
297 off64_t file_length = archive->mapped_zip.GetFileLength(); in MapCentralDirectory() local
298 if (file_length == -1) { in MapCentralDirectory()
302 if (file_length > kMaxFileLength) { in MapCentralDirectory()
303 ALOGV("Zip: zip file too long %" PRId64, static_cast<int64_t>(file_length)); in MapCentralDirectory()
307 if (file_length < static_cast<off64_t>(sizeof(EocdRecord))) { in MapCentralDirectory()
308 ALOGV("Zip: length %" PRId64 " is too small to be zip", static_cast<int64_t>(file_length)); in MapCentralDirectory()
325 if (file_length < read_amount) { in MapCentralDirectory()
326 read_amount = static_cast<uint32_t>(file_length); in MapCentralDirectory()
338 file_length, scan_buffer, &cdInfo); in MapCentralDirectory()