Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt/
DZipFile.cpp209 long readAmount; in readCentralDir() local
233 readAmount = EndOfCentralDir::kMaxEOCDSearch; in readCentralDir()
236 readAmount = (long) fileLength; in readCentralDir()
245 if (fread(buf, 1, readAmount, mZipFp) != (size_t) readAmount) { in readCentralDir()
246 ALOGD("short file? wanted %ld\n", readAmount); in readCentralDir()
252 for (i = readAmount - 4; i >= 0; i--) { in readCentralDir()
267 result = mEOCD.readBuf(buf + i, readAmount - i); in readCentralDir()
269 ALOGD("Failure reading %ld bytes of EOCD values", readAmount - i); in readCentralDir()