Searched refs:read_amount (Results 1 – 1 of 1) sorted by relevance
/system/core/libziparchive/ |
D | zip_archive.cc | 230 off64_t file_length, off64_t read_amount, in MapCentralDirectory0() argument 232 const off64_t search_start = file_length - read_amount; in MapCentralDirectory0() 234 if (!archive->mapped_zip.ReadAtOffset(scan_buffer, read_amount, search_start)) { in MapCentralDirectory0() 235 ALOGE("Zip: read %" PRId64 " from offset %" PRId64 " failed", static_cast<int64_t>(read_amount), in MapCentralDirectory0() 246 int i = read_amount - sizeof(EocdRecord); in MapCentralDirectory0() 349 off64_t read_amount = kMaxEOCDSearch; in MapCentralDirectory() local 350 if (file_length < read_amount) { in MapCentralDirectory() 351 read_amount = file_length; in MapCentralDirectory() 354 std::vector<uint8_t> scan_buffer(read_amount); in MapCentralDirectory() 356 MapCentralDirectory0(debug_file_name, archive, file_length, read_amount, scan_buffer.data()); in MapCentralDirectory()
|