Lines Matching refs:count
180 int count = mEntries.size(); in discardEntries() local
182 while (--count >= 0) in discardEntries()
183 delete mEntries[count]; in discardEntries()
789 size_t count; in copyFpToFp() local
794 count = fread(tmpBuf, 1, sizeof(tmpBuf), srcFp); in copyFpToFp()
797 if (count == 0) in copyFpToFp()
800 *pCRC32 = crc32(*pCRC32, tmpBuf, count); in copyFpToFp()
802 if (fwrite(tmpBuf, 1, count, dstFp) != count) { in copyFpToFp()
803 ALOGD("fwrite %d bytes failed\n", (int) count); in copyFpToFp()
819 size_t count; in copyDataToFp() local
845 size_t count; in copyPartialFpToFp() local
857 count = fread(tmpBuf, 1, readSize, srcFp); in copyPartialFpToFp()
858 if ((long) count != readSize) { // error or unexpected EOF in copyPartialFpToFp()
864 *pCRC32 = crc32(*pCRC32, tmpBuf, count); in copyPartialFpToFp()
866 if (fwrite(tmpBuf, 1, count, dstFp) != count) { in copyPartialFpToFp()
867 ALOGD("fwrite %d bytes failed\n", (int) count); in copyPartialFpToFp()
981 int i, count; in flush() local
997 count = mEntries.size(); in flush()
998 for (i = 0; i < count; i++) { in flush()
1033 int i, count; in crunchArchive() local
1051 count = mEntries.size(); in crunchArchive()
1053 for (i = 0; i < count; i++) { in crunchArchive()
1066 for (int ii = i+1; nextOffset == 0 && ii < count; ii++) in crunchArchive()
1092 count--; in crunchArchive()
1121 assert(mEOCD.mNumEntries == count); in crunchArchive()