Lines Matching refs:count
179 int count = mEntries.size(); in discardEntries() local
181 while (--count >= 0) in discardEntries()
182 delete mEntries[count]; in discardEntries()
786 size_t count; in copyFpToFp() local
791 count = fread(tmpBuf, 1, sizeof(tmpBuf), srcFp); in copyFpToFp()
794 if (count == 0) in copyFpToFp()
797 *pCRC32 = crc32(*pCRC32, tmpBuf, count); in copyFpToFp()
799 if (fwrite(tmpBuf, 1, count, dstFp) != count) { in copyFpToFp()
800 ALOGD("fwrite %d bytes failed\n", (int) count); in copyFpToFp()
816 size_t count; in copyDataToFp() local
842 size_t count; in copyPartialFpToFp() local
854 count = fread(tmpBuf, 1, readSize, srcFp); in copyPartialFpToFp()
855 if ((long) count != readSize) { // error or unexpected EOF in copyPartialFpToFp()
861 *pCRC32 = crc32(*pCRC32, tmpBuf, count); in copyPartialFpToFp()
863 if (fwrite(tmpBuf, 1, count, dstFp) != count) { in copyPartialFpToFp()
864 ALOGD("fwrite %d bytes failed\n", (int) count); in copyPartialFpToFp()
978 int i, count; in flush() local
994 count = mEntries.size(); in flush()
995 for (i = 0; i < count; i++) { in flush()
1030 int i, count; in crunchArchive() local
1048 count = mEntries.size(); in crunchArchive()
1050 for (i = 0; i < count; i++) { in crunchArchive()
1063 for (int ii = i+1; nextOffset == 0 && ii < count; ii++) in crunchArchive()
1089 count--; in crunchArchive()
1118 assert(mEOCD.mNumEntries == count); in crunchArchive()