Searched refs:read_amount (Results 1 – 1 of 1) sorted by relevance
282 const auto read_amount = static_cast<uint32_t>(scan_buffer.size()); in FindCentralDirectoryInfo() local283 const off64_t search_start = file_length - read_amount; in FindCentralDirectoryInfo()285 const auto data = archive->mapped_zip.ReadAtOffset(scan_buffer.data(), read_amount, search_start); in FindCentralDirectoryInfo()287 ALOGE("Zip: read %" PRId64 " from offset %" PRId64 " failed", static_cast<int64_t>(read_amount), in FindCentralDirectoryInfo()298 CHECK_LE(read_amount, std::numeric_limits<int32_t>::max()); in FindCentralDirectoryInfo()299 int32_t i = read_amount - sizeof(EocdRecord); in FindCentralDirectoryInfo()393 const auto read_amount = uint32_t(std::min<off64_t>(file_length, kMaxEOCDSearch)); in MapCentralDirectory() local396 std::vector<uint8_t> scan_buffer(read_amount); in MapCentralDirectory()