Home
last modified time | relevance | path

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

/dalvik/libdex/
DZipArchive.cpp156 ZipArchive* pArchive, off64_t fileLength, size_t readAmount, u1* scanBuf) in mapCentralDirectory0() argument
190 off64_t searchStart = fileLength - readAmount; in mapCentralDirectory0()
196 actual = TEMP_FAILURE_RETRY(read(pArchive->mFd, scanBuf, readAmount)); in mapCentralDirectory0()
197 if (actual != (ssize_t) readAmount) { in mapCentralDirectory0()
199 actual, readAmount, strerror(errno)); in mapCentralDirectory0()
211 for (i = readAmount - kEOCDLen; i >= 0; i--) { in mapCentralDirectory0()
312 size_t readAmount = kMaxEOCDSearch; in mapCentralDirectory() local
313 if (fileLength < off_t(readAmount)) in mapCentralDirectory()
314 readAmount = fileLength; in mapCentralDirectory()
316 u1* scanBuf = (u1*) malloc(readAmount); in mapCentralDirectory()
[all …]