Lines Matching defs:size
139 if (idx < 0 || idx >= (int) mEntries.size())
162 for (idx = mEntries.size()-1; idx >= 0; idx--) {
179 int count = mEntries.size();
285 * So far so good. "mCentralDirSize" is the size in bytes of the
292 * sort of convenient size. We need to skip to the start of it and
360 status_t ZipFile::addCommon(const char* fileName, const void* data, size_t size,
379 assert(mEntries.size() == mEOCD.mTotalNumEntries);
419 result = compressFpToFp(mZipFp, inputFp, data, size, &crc);
429 long src = inputFp ? ftell(inputFp) : size;
450 result = copyDataToFp(mZipFp, data, size, &crc);
460 uncompressedLen = inputFp ? ftell(inputFp) : size;
553 assert(mEntries.size() == mEOCD.mTotalNumEntries);
591 * fields as well. This is a fixed-size area immediately following
660 assert(mEntries.size() == mEOCD.mTotalNumEntries);
695 * fields as well. This is a fixed-size area immediately following
814 const void* data, size_t size, unsigned long* pCRC32)
819 if (size > 0) {
820 *pCRC32 = crc32(*pCRC32, (const unsigned char*)data, size);
821 if (fwrite(data, 1, size, dstFp) != size) {
822 ALOGD("fwrite %d bytes failed\n", (int) size);
881 const void* data, size_t size, unsigned long* pCRC32)
898 crc = crc32(crc, (const unsigned char*)data, size);
899 ZopfliDeflate(&options, 2, true, (const unsigned char*)data, size, &bp,
994 count = mEntries.size();
1035 for (i = 0; i < (int) mEntries.size(); i++) {
1048 count = mEntries.size();