Lines Matching defs:archive
20 * just wants a zip archive with "classes.dex" inside. In Android the
86 ZipArchive archive;
104 /* Try to find the dex file inside of the archive.
106 if (dexZipOpenArchive(fileName, &archive) != 0) {
109 entry = dexZipFindEntry(&archive, kDexInJarName);
123 dexGetZipEntryModTime(&archive, entry),
124 dexGetZipEntryCrc32(&archive, entry),
170 dexZipCloseArchive(&archive);
179 * Open a Jar file. It's okay if it's just a Zip archive without all of
189 ZipArchive archive;
197 /* Even if we're not going to look at the archive, we need to
200 if (dexZipOpenArchive(fileName, &archive) != 0)
204 /* If we fork/exec into dexopt, don't let it inherit the archive's fd.
206 dvmSetCloseOnExec(dexZipGetArchiveFd(&archive));
223 // to the classes.dex inside the archive (if present).
234 entry = dexZipFindEntry(&archive, kDexInJarName);
245 * the archive, this will *not* return an fd pointing to the
260 dexGetZipEntryModTime(&archive, entry),
261 dexGetZipEntryCrc32(&archive, entry),
286 result = dexZipExtractEntryToFile(&archive, entry, fd) == 0;
291 dexGetZipEntryUncompLen(&archive, entry),
293 dexGetZipEntryModTime(&archive, entry),
294 dexGetZipEntryCrc32(&archive, entry),
339 (*ppJarFile)->archive = archive;
348 dexZipCloseArchive(&archive);
367 dexZipCloseArchive(&pJarFile->archive);