Lines Matching refs:entry
687 ZipEntry entry; in InitializeChunks() local
688 while ((ret = Next(cookie, &entry, &name)) == 0) { in InitializeChunks()
689 if (entry.method == kCompressDeflated || limit_ > 0) { in InitializeChunks()
691 temp_entries.emplace_back(entry_name, entry); in InitializeChunks()
706 for (auto& entry : temp_entries) { in InitializeChunks() local
707 if (!AddZipEntryToChunks(handle, entry.first, &entry.second)) { in InitializeChunks()
708 LOG(ERROR) << "Failed to add " << entry.first << " to source chunks"; in InitializeChunks()
761 ZipEntry* entry) { in AddZipEntryToChunks() argument
762 size_t compressed_len = entry->compressed_length; in AddZipEntryToChunks()
771 chunks_.emplace_back(CHUNK_NORMAL, entry->offset + limit_ * count, &file_content_, length, in AddZipEntryToChunks()
777 } else if (entry->method == kCompressDeflated) { in AddZipEntryToChunks()
778 size_t uncompressed_len = entry->uncompressed_length; in AddZipEntryToChunks()
780 int ret = ExtractToMemory(handle, entry, uncompressed_data.data(), uncompressed_len); in AddZipEntryToChunks()
786 ImageChunk curr(CHUNK_DEFLATE, entry->offset, &file_content_, compressed_len, entry_name); in AddZipEntryToChunks()
790 chunks_.emplace_back(CHUNK_NORMAL, entry->offset, &file_content_, compressed_len, entry_name); in AddZipEntryToChunks()