Home
last modified time | relevance | path

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

/system/core/libziparchive/
Dzip_archive.cc411 off64_t read_amount, uint8_t* scan_buffer) { in MapCentralDirectory0() argument
412 const off64_t search_start = file_length - read_amount; in MapCentralDirectory0()
420 read(fd, scan_buffer, static_cast<size_t>(read_amount))); in MapCentralDirectory0()
421 if (actual != static_cast<ssize_t>(read_amount)) { in MapCentralDirectory0()
422 ALOGW("Zip: read %" PRId64 " failed: %s", static_cast<int64_t>(read_amount), in MapCentralDirectory0()
433 int i = read_amount - sizeof(EocdRecord); in MapCentralDirectory0()
537 off64_t read_amount = kMaxEOCDSearch; in MapCentralDirectory() local
538 if (file_length < read_amount) { in MapCentralDirectory()
539 read_amount = file_length; in MapCentralDirectory()
542 uint8_t* scan_buffer = reinterpret_cast<uint8_t*>(malloc(read_amount)); in MapCentralDirectory()
[all …]