Lines Matching refs:readAmount
156 ZipArchive* pArchive, off64_t fileLength, size_t readAmount, u1* scanBuf)
190 off64_t searchStart = fileLength - readAmount;
196 actual = TEMP_FAILURE_RETRY(read(pArchive->mFd, scanBuf, readAmount));
197 if (actual != (ssize_t) readAmount) {
199 actual, readAmount, strerror(errno));
211 for (i = readAmount - kEOCDLen; i >= 0; i--) {
312 size_t readAmount = kMaxEOCDSearch;
313 if (fileLength < off_t(readAmount))
314 readAmount = fileLength;
316 u1* scanBuf = (u1*) malloc(readAmount);
322 fileLength, readAmount, scanBuf);