Home
last modified time | relevance | path

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

/system/libziparchive/
Dzip_archive.cc218 std::span<uint8_t> scan_buffer, in FindCentralDirectoryInfo() argument
220 const auto read_amount = static_cast<uint32_t>(scan_buffer.size()); in FindCentralDirectoryInfo()
223 if (!archive->mapped_zip.ReadAtOffset(scan_buffer.data(), read_amount, search_start)) { in FindCentralDirectoryInfo()
238 if (scan_buffer[i] == 0x50) { in FindCentralDirectoryInfo()
239 uint32_t* sig_addr = reinterpret_cast<uint32_t*>(&scan_buffer[i]); in FindCentralDirectoryInfo()
252 auto eocd = reinterpret_cast<const EocdRecord*>(scan_buffer.data() + i); in FindCentralDirectoryInfo()
330 std::vector<uint8_t> scan_buffer(read_amount); in MapCentralDirectory() local
333 incfs::util::clearAndFree(scan_buffer); in MapCentralDirectory()
338 file_length, scan_buffer, &cdInfo); in MapCentralDirectory()
343 scan_buffer.clear(); in MapCentralDirectory()