Lines Matching refs:fileLength
156 ZipArchive* pArchive, off64_t fileLength, size_t readAmount, u1* scanBuf)
190 off64_t searchStart = fileLength - readAmount;
225 assert(eocdOffset < fileLength);
254 if (((size_t) commentSize > (fileLength - kEOCDLen))
255 || (eocdOffset > (fileLength - kEOCDLen) - commentSize)) {
294 off64_t fileLength = lseek64(fd, 0, SEEK_END);
295 if (fileLength < kEOCDLen) {
296 ALOGV("Zip: length %ld is too small to be zip", (long) fileLength);
313 if (fileLength < off_t(readAmount))
314 readAmount = fileLength;
322 fileLength, readAmount, scanBuf);