Lines Matching refs:entry
142 * or decided not to update. If the entry isn't already slated for
150 ZipEntry* entry = zip->getEntryByIndex(i);
152 if (!entry->getMarked() && entry->getDeleted()) {
155 entry->getFileName());
157 zip->remove(entry);
294 * delete the existing entry before adding the new one.
303 ZipEntry* entry;
335 entry = zip->getEntryByName(storageName.string());
336 if (entry != NULL) {
338 if (entry->getMarked()) {
352 if (fileModWhen > entry->getModWhen()) {
358 zip->remove(entry);
364 entry->setMarked(true);
369 zip->remove(entry);
377 result = zip->addGzip(file->getSourceFile().string(), storageName.string(), &entry);
385 &entry);
388 file->getCompressionMethod(), &entry);
393 if (entry->getCompressionMethod() == ZipEntry::kCompressStored) {
396 printf(" (compressed %d%%)\n", calcPercent(entry->getUncompressedLen(),
397 entry->getCompressedLen()));
400 entry->setMarked(true);
462 ZipEntry* entry = jar->getEntryByIndex(i);
463 const char* storageName = entry->getFileName();
465 int compressionMethod = entry->getCompressionMethod();
466 size_t size = entry->getUncompressedLen();
467 const void* data = jar->uncompress(entry);
469 fprintf(stderr, "ERROR: unable to uncompress entry '%s'\n",