Home
last modified time | relevance | path

Searched refs:zfile (Results 1 – 5 of 5) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DZipFileTest.java42 private ZipFile zfile; field in ZipFileTest
48 zfile.close(); // about to reopen the same temp file in test_ConstructorLjava_io_FileI()
76 zfile.close(); // about to reopen the same temp file in test_ConstructorLjava_lang_String()
159 Enumeration<? extends ZipEntry> enumer = zfile.entries(); in test_entries()
167 Enumeration<? extends ZipEntry> enumeration = zfile.entries(); in test_entries()
168 zfile.close(); in test_entries()
182 zfile.entries(); in test_entries()
194 java.util.zip.ZipEntry zentry = zfile.getEntry("File1.txt"); in test_getEntryLjava_lang_String()
199 zentry = zfile.getEntry("testdir1/File1.txt"); in test_getEntryLjava_lang_String()
201 zentry = zfile.getEntry("testdir1/"); in test_getEntryLjava_lang_String()
[all …]
DZipEntryTest.java40 private ZipFile zfile; field in ZipEntryTest
52 zentry = zfile.getEntry("File3.txt"); in test_ConstructorLjava_lang_String()
55 zentry = zfile.getEntry(null); in test_ConstructorLjava_lang_String()
130 zentry = zfile.getEntry("File1.txt"); in test_getMethod()
133 zentry = zfile.getEntry("File3.txt"); in test_getMethod()
204 zentry = zfile.getEntry("File1.txt"); in test_setCommentLjava_lang_String()
278 zentry = zfile.getEntry("File1.txt"); in test_setExtra$B()
318 zentry = zfile.getEntry("File3.txt"); in test_setMethodI()
504 zfile = new ZipFile(f); in setUp()
505 zentry = zfile.getEntry("File1.txt"); in setUp()
[all …]
/libcore/luni/src/test/java/libcore/java/util/zip/
DOldZipFileTest.java42 zfile.close(); in test_size()
44 zfile.size(); in test_size()
51 java.util.zip.ZipEntry zentry = zfile.getEntry("File1.txt"); in test_getEntryLjava_lang_String_AndroidOnly()
56 zentry = zfile.getEntry("testdir1"); in test_getEntryLjava_lang_String_AndroidOnly()
58 in = zfile.getInputStream(zentry); in test_getEntryLjava_lang_String_AndroidOnly()
74 private ZipFile zfile; field in OldZipFileTest
108 java.util.zip.ZipEntry zentry = zfile.getEntry("File1.txt"); in test_getEntryLjava_lang_String_Ex()
111 zfile.close(); in test_getEntryLjava_lang_String_Ex()
113 zfile.getEntry("File2.txt"); in test_getEntryLjava_lang_String_Ex()
129 zentry = zfile.getEntry("File2.txt"); in test_getInputStreamLjava_util_zip_ZipEntry()
[all …]
/libcore/ojluni/src/main/native/
DZipFile.c133 ZipFile_getTotal(JNIEnv *env, jclass cls, jlong zfile) in ZipFile_getTotal() argument
135 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_getTotal()
141 ZipFile_startsWithLOC(JNIEnv *env, jclass cls, jlong zfile) in ZipFile_startsWithLOC() argument
143 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_startsWithLOC()
149 ZipFile_close(JNIEnv *env, jclass cls, jlong zfile) in ZipFile_close() argument
151 ZIP_Close(jlong_to_ptr(zfile)); in ZipFile_close()
155 ZipFile_getFileDescriptor(JNIEnv *env, jclass cls, jlong zfile) { in ZipFile_getFileDescriptor() argument
156 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_getFileDescriptor()
161 ZipFile_getEntry(JNIEnv *env, jclass cls, jlong zfile, in ZipFile_getEntry() argument
165 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_getEntry()
[all …]
/libcore/ojluni/src/main/java/java/util/zip/
DZipFile.java1228 private RandomAccessFile zfile; // zfile of the underlying zip file field in ZipFile.Source
1427 this.zfile = new RandomAccessFile(key.file, "r", /* setCloExecFlag= */ true); in Source()
1433 this.zfile = new RandomAccessFile(key.file, "r", /* setCloExecFlag= */ true); in Source()
1453 this.zfile.close(); in Source()
1460 zfile.close(); in close()
1461 zfile = null; in close()
1475 synchronized (zfile) { in readFullyAt()
1476 zfile.seek(pos); in readFullyAt()
1480 zfile.readFully(buf, off, n); in readFullyAt()
1491 synchronized (zfile) { in readAt()
[all …]