/dalvik/dx/src/com/android/dx/io/ |
DexBuffer.java | 44 import java.util.zip.ZipFile; 148 ZipFile zipFile = new ZipFile(file); 149 ZipEntry entry = zipFile.getEntry(DexFormat.DEX_IN_JAR_NAME); 151 loadFrom(zipFile.getInputStream(entry)); 152 zipFile.close();
|
/build/tools/zipalign/ |
ZipAlign.cpp | 20 #include "ZipFile.h" 47 static int copyAndAlign(ZipFile* pZin, ZipFile* pZout, int alignment) 103 ZipFile zin, zout; 120 if (zin.open(inFileName, ZipFile::kOpenReadOnly) != NO_ERROR) { 125 ZipFile::kOpenReadWrite|ZipFile::kOpenCreate|ZipFile::kOpenTruncate) 145 ZipFile zipFile; [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
VMHostTest.java | 27 import java.util.zip.ZipFile; 78 ZipFile zipFile = new ZipFile(jarFile); 79 FileUtil.extractZip(zipFile, localTmpDir);
|
/external/collada/src/dae/ |
daeZAEUncompressHandler.cpp | 149 bool daeZAEUncompressHandler::extractArchive( unzFile zipFile, const std::string& destDir )
154 if (unzGetGlobalInfo (zipFile, &globalZipInfo) == UNZ_OK)
158 if (!extractFile(zipFile, destDir))
166 if (unzGoToNextFile(zipFile) != UNZ_OK)
184 bool daeZAEUncompressHandler::extractFile( unzFile zipFile, const std::string& destDir )
190 int fileInfoResult = unzGetCurrentFileInfo(zipFile, &fileInfo, currentFileName, sizeof(currentFileName), 0, 0, 0, 0); 203 if (unzOpenCurrentFile(zipFile) == UNZ_OK) 214 readBytes = unzReadCurrentFile(zipFile, buffer, BUFFER_SIZE); 222 if (unzCloseCurrentFile(zipFile) == UNZ_CRCERROR) 261 unzFile zipFile = unzOpen(filePath.c_str()); [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
ZipFileTest.java | 27 import java.util.zip.ZipFile; 43 ZipFile zipFile = new ZipFile(createZipFile(originalSize)); 44 for (Enumeration<? extends ZipEntry> e = zipFile.entries(); e.hasMoreElements(); ) { 48 InputStream is = zipFile.getInputStream(zipEntry);
|
OldAndroidZipFileTest.java | 26 import java.util.zip.ZipFile; 32 * Basic tests for ZipFile. 101 ZipFile zipFile = new ZipFile(fileName); 105 // System.out.println("Contents of " + zipFile + ":"); 106 for (fileList = zipFile.entries(); fileList.hasMoreElements();) { 113 zipFile.close(); 124 ZipFile zipFile; [all...] |
ZipEntryTest.java | 26 import java.util.zip.ZipFile; 50 ZipFile zipFile = new ZipFile(f); 52 assertNotNull(filename, zipFile.getEntry(filename));
|
/dalvik/dx/src/junit/runner/ |
TestCaseClassLoader.java | 159 ZipFile zipFile= null; 165 zipFile= new ZipFile(archive); 169 ZipEntry entry= zipFile.getEntry(fileName); 174 stream= zipFile.getInputStream(entry); 181 zipFile.close();
|
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
Main.java | 26 import java.util.zip.ZipFile; 117 ZipFile zipFile; 123 zipFile = new ZipFile(fileName); 139 ZipEntry entry = zipFile.getEntry(CLASSES_DEX); 143 zipFile.close(); 147 InputStream zis = zipFile.getInputStream(entry);
|
/external/junit/src/junit/runner/ |
TestCaseClassLoader.java | 14 import java.util.zip.ZipFile; 173 ZipFile zipFile= null; 179 zipFile= new ZipFile(archive); 183 ZipEntry entry= zipFile.getEntry(fileName); 188 stream= zipFile.getInputStream(entry); 195 zipFile.close();
|
/frameworks/base/test-runner/src/junit/runner/ |
TestCaseClassLoader.java | 158 ZipFile zipFile= null; 164 zipFile= new ZipFile(archive); 168 ZipEntry entry= zipFile.getEntry(fileName); 173 stream= zipFile.getInputStream(entry); 180 zipFile.close();
|
/external/zlib/contrib/minizip/ |
zip.h | 67 typedef zipFile__ *zipFile; 69 typedef voidp zipFile; 116 extern zipFile ZEXPORT zipOpen OF((const char *pathname, int append)); 117 extern zipFile ZEXPORT zipOpen64 OF((const void *pathname, int append)); 119 Create a zipfile. 127 If the zipfile cannot be opened, the return value is NULL. 128 Else, the return value is a zipFile Handle, usable with other function 132 /* Note : there is no delete function into a zipfile. 133 If you want delete file into a zipfile, you must open a zipfile, and create anothe [all...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
ArchiveInstaller.java | 28 import org.apache.commons.compress.archivers.zip.ZipFile;
641 ZipFile zipFile = null;
643 zipFile = new ZipFile(archiveFile);
661 Enumeration<ZipArchiveEntry> entries = zipFile.getEntries();
667 // ZipFile entries should have forward slashes, but not all Zip
709 InputStream entryContent = zipFile.getInputStream(entry);
752 if (zipFile != null) {
754 zipFile.close(); [all...] |
/frameworks/base/core/jni/ |
com_android_internal_content_NativeLibraryHelper.cpp | 146 sumFiles(JNIEnv* env, void* arg, ZipFileRO* zipFile, ZipEntryRO zipEntry, const char* fileName) 151 if (!zipFile->getEntryInfo(zipEntry, NULL, &uncompLen, NULL, NULL, NULL, NULL)) { 166 copyFileIfChanged(JNIEnv *env, void* arg, ZipFileRO* zipFile, ZipEntryRO zipEntry, const char* fileName) 176 if (!zipFile->getEntryInfo(zipEntry, NULL, &uncompLen, NULL, NULL, &when, &crc)) { 229 if (!zipFile->uncompressEntry(zipEntry, fd)) { 276 ZipFileRO zipFile; 278 if (zipFile.open(filePath.c_str()) != NO_ERROR) { 283 const int N = zipFile.getNumEntries(); 288 const ZipEntryRO entry = zipFile.findEntryByIndex(i); 294 if (zipFile.getEntryFileName(entry, fileName, sizeof(fileName))) [all...] |
/frameworks/base/test-runner/src/android/test/ |
ClassPathPackageInfoSource.java | 32 import java.util.zip.ZipFile; 251 ZipFile zipFile = new ZipFile(jarFile); 252 Enumeration<? extends ZipEntry> entries = zipFile.entries();
|
/libcore/dalvik/src/main/java/dalvik/system/ |
DexPathList.java | 27 import java.util.zip.ZipFile; 203 ZipFile zip = null; 217 zip = new ZipFile(file); 221 * might get thrown by the ZipFile constructor 389 public final ZipFile zipFile; 392 public Element(File file, ZipFile zipFile, DexFile dexFile) { 394 this.zipFile = zipFile; [all...] |
/sdk/assetstudio/src/com/android/assetstudiolib/ |
GraphicGenerator.java | 38 import java.util.zip.ZipFile; 269 final ZipFile zipFile = new JarFile(file); 270 Enumeration<? extends ZipEntry> enumeration = zipFile.entries();
|
/prebuilt/common/ant/ |
ant.jar | |
/cts/tools/dx-tests/lib/ |
junit.jar | |
/cts/tools/utils/lib/ |
junit.jar | |
/cts/tools/vm-tests/lib/ |
junit.jar | |
/cts/tools/vm-tests-tf/lib/ |
junit.jar | |
/prebuilt/common/jarjar/ |
jarjar-1.0rc8.jar | |
/prebuilt/common/ecj/ |
ecj.jar | |
/prebuilt/common/tradefed/ |
tradefed-prebuilt.jar | |