Home
last modified time | relevance | path

Searched refs:zf (Results 1 – 25 of 221) sorted by relevance

123456789

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DZipFileTest.java50 private ZipFile zf = null; field in ZipFileTest
54 ZipFile.closeQuietly(zf); in tearDown()
60 final ArrayList<ZipArchiveEntry> l = Collections.list(zf.getEntries()); in testCDOrder()
93 zf = new ZipFile(new SeekableInMemoryByteChannel(data), ZipEncodingHelper.UTF8); in testCDOrderInMemory()
94 final ArrayList<ZipArchiveEntry> l = Collections.list(zf.getEntries()); in testCDOrderInMemory()
123 final ArrayList<ZipArchiveEntry> l = Collections.list(zf.getEntriesInPhysicalOrder()); in testPhysicalOrder()
152 zf.close(); in testDoubleClose()
154 zf.close(); in testDoubleClose()
180 zf = new ZipFile(f); in testReadingOfStoredEntry()
181 ze = zf.getEntry("foo"); in testReadingOfStoredEntry()
[all …]
DUTF8ZipFilesTest.java100 ZipFile zf = null; in testRead7ZipArchive() local
102 zf = new ZipFile(archive, CP437, false); in testRead7ZipArchive()
103 assertNotNull(zf.getEntry(ASCII_TXT)); in testRead7ZipArchive()
104 assertNotNull(zf.getEntry(EURO_FOR_DOLLAR_TXT)); in testRead7ZipArchive()
105 assertNotNull(zf.getEntry(OIL_BARREL_TXT)); in testRead7ZipArchive()
107 ZipFile.closeQuietly(zf); in testRead7ZipArchive()
135 ZipFile zf = null; in testReadWinZipArchive() local
137 zf = new ZipFile(archive, null, true); in testReadWinZipArchive()
138 assertCanRead(zf, ASCII_TXT); in testReadWinZipArchive()
139 assertCanRead(zf, EURO_FOR_DOLLAR_TXT); in testReadWinZipArchive()
[all …]
DEncryptedArchiveTest.java36 ZipFile zf = null; in testReadPasswordEncryptedEntryViaZipFile() local
38 zf = new ZipFile(file); in testReadPasswordEncryptedEntryViaZipFile()
39 final ZipArchiveEntry zae = zf.getEntry("LICENSE.txt"); in testReadPasswordEncryptedEntryViaZipFile()
42 assertFalse(zf.canReadEntryData(zae)); in testReadPasswordEncryptedEntryViaZipFile()
44 zf.getInputStream(zae); in testReadPasswordEncryptedEntryViaZipFile()
51 ZipFile.closeQuietly(zf); in testReadPasswordEncryptedEntryViaZipFile()
DScatterZipOutputStreamTest.java69 final ZipFile zf = new ZipFile(target); in putArchiveEntry() local
70 final ZipArchiveEntry b_entry = zf.getEntries("b.txt").iterator().next(); in putArchiveEntry()
72 assertArrayEquals(B_PAYLOAD, IOUtils.toByteArray(zf.getInputStream(b_entry))); in putArchiveEntry()
74 final ZipArchiveEntry a_entry = zf.getEntries("a.txt").iterator().next(); in putArchiveEntry()
76 assertArrayEquals(A_PAYLOAD, IOUtils.toByteArray(zf.getInputStream(a_entry))); in putArchiveEntry()
77 zf.close(); in putArchiveEntry()
DScatterSampleTest.java61 final ZipFile zf = new ZipFile(result); in checkFile() local
62 final ZipArchiveEntry archiveEntry1 = zf.getEntries().nextElement(); in checkFile()
64 final InputStream inputStream = zf.getInputStream(archiveEntry1); in checkFile()
70 zf.close(); in checkFile()
DX7875_NewUnixTest.java50 ZipFile zf = null; in testSampleFile() local
53 zf = new ZipFile(archive); in testSampleFile()
54 final Enumeration<ZipArchiveEntry> en = zf.getEntries(); in testSampleFile()
85 if (zf != null) { in testSampleFile()
86 zf.close(); in testSampleFile()
DParallelScatterZipCreatorTest.java99 final ZipFile zf = new ZipFile(result); in removeEntriesFoundInZipFile() local
100 final Enumeration<ZipArchiveEntry> entriesInPhysicalOrder = zf.getEntriesInPhysicalOrder(); in removeEntriesFoundInZipFile()
103 final InputStream inputStream = zf.getInputStream(zipArchiveEntry); in removeEntriesFoundInZipFile()
108 zf.close(); in removeEntriesFoundInZipFile()
DX5455_ExtendedTimestampTest.java117 ZipFile zf = null; in testSampleFile() local
120 zf = new ZipFile(archive); in testSampleFile()
121 final Enumeration<ZipArchiveEntry> en = zf.getEntries(); in testSampleFile()
192 if (zf != null) { in testSampleFile()
193 zf.close(); in testSampleFile()
443 final ZipFile zf = new ZipFile(output); in testWriteReadRoundtrip() local
444 final ZipArchiveEntry ze = zf.getEntry("foo"); in testWriteReadRoundtrip()
450 zf.close(); in testWriteReadRoundtrip()
DLister.java72 try (ZipFile zf = new ZipFile(f, cl.encoding)) { in main() argument
73 for (final Enumeration<ZipArchiveEntry> entries = zf.getEntries(); in main()
78 try (InputStream is = zf.getInputStream(ze)) { in main()
DZipArchiveInputStreamTest.java69 ZipFile zf = null; in properUseOfInflater() local
72 zf = new ZipFile(getFile("COMPRESS-189.zip")); in properUseOfInflater()
73 final ZipArchiveEntry zae = zf.getEntry("USD0558682-20080101.ZIP"); in properUseOfInflater()
74 in = new ZipArchiveInputStream(new BufferedInputStream(zf.getInputStream(zae))); in properUseOfInflater()
82 if (zf != null) { in properUseOfInflater()
83 zf.close(); in properUseOfInflater()
DMaven221MultiVolumeTest.java125 ZipFile zf = new ZipFile(file); in testRead7ZipMultiVolumeArchiveForFile() local
126 zf.close(); in testRead7ZipMultiVolumeArchiveForFile()
/external/u-boot/lib/bzip2/
Dbzlib_private.h113 #define VPrintf0(zf) \ argument
114 fprintf(stderr,zf)
115 #define VPrintf1(zf,za1) \ argument
116 fprintf(stderr,zf,za1)
117 #define VPrintf2(zf,za1,za2) \ argument
118 fprintf(stderr,zf,za1,za2)
119 #define VPrintf3(zf,za1,za2,za3) \ argument
120 fprintf(stderr,zf,za1,za2,za3)
121 #define VPrintf4(zf,za1,za2,za3,za4) \ argument
122 fprintf(stderr,zf,za1,za2,za3,za4)
[all …]
/external/bzip2/
Dbzlib_private.h73 #define VPrintf0(zf) \ argument
74 fprintf(stderr,zf)
75 #define VPrintf1(zf,za1) \ argument
76 fprintf(stderr,zf,za1)
77 #define VPrintf2(zf,za1,za2) \ argument
78 fprintf(stderr,zf,za1,za2)
79 #define VPrintf3(zf,za1,za2,za3) \ argument
80 fprintf(stderr,zf,za1,za2,za3)
81 #define VPrintf4(zf,za1,za2,za3,za4) \ argument
82 fprintf(stderr,zf,za1,za2,za3,za4)
[all …]
/external/elfutils/libdwfl/
Dgzip.c76 gzFile zf; member
152 state->zf = gzdopen (d, "r"); in open_stream()
153 if (unlikely (state->zf == NULL)) in open_stream()
180 .zf = NULL, in unzip()
288 if (result == DWFL_E_NOERROR && gzdirect (state.zf)) in unzip()
290 gzclose (state.zf); in unzip()
302 gzclose (state.zf); in unzip()
305 int n = gzread (state.zf, state.buffer + pos, state.size - pos); in unzip()
309 gzerror (state.zf, &code); in unzip()
310 gzclose (state.zf); in unzip()
[all …]
/external/python/dateutil/dateutil/zoneinfo/
D__init__.py34 self.zones = {zf.name: tzfile(tf.extractfile(zf), filename=zf.name)
35 for zf in tf.getmembers()
36 if zf.isfile() and zf.name != METADATA_FN}
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/jar/
DJarArchiveOutputStreamTest.java41 ZipFile zf = null; in testJarMarker() local
53 zf = new ZipFile(testArchive); in testJarMarker()
54 ZipArchiveEntry ze = zf.getEntry("foo/"); in testJarMarker()
60 ze = zf.getEntry("bar/"); in testJarMarker()
70 ZipFile.closeQuietly(zf); in testJarMarker()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/
DZipTestCase.java293 ZipFile zf = null; in testDirectoryEntryFromFile() local
304 zf = new ZipFile(archive); in testDirectoryEntryFromFile()
305 final ZipArchiveEntry out = zf.getEntry("foo/"); in testDirectoryEntryFromFile()
314 ZipFile.closeQuietly(zf); in testDirectoryEntryFromFile()
329 ZipFile zf = null; in testExplicitDirectoryEntry() local
341 zf = new ZipFile(archive); in testExplicitDirectoryEntry()
342 final ZipArchiveEntry out = zf.getEntry("foo/"); in testExplicitDirectoryEntry()
350 ZipFile.closeQuietly(zf); in testExplicitDirectoryEntry()
519 ZipFile zf = null; in testFileEntryFromFile() local
537 zf = new ZipFile(archive); in testFileEntryFromFile()
[all …]
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DAPIData.java70 ZipFile zf = null; in read() local
74 zf = new ZipFile(file); in read()
75 Enumeration entryEnum = zf.entries(); in read()
78 is = zf.getInputStream(entry); in read()
96 if (zf != null) { in read()
98 zf.close(); in read()
/external/zlib/src/contrib/minizip/
Dminizip.c371 zipFile zf; local
376 zf = zipOpen2_64(filename_try,(opt_overwrite==2) ? 2 : 0,NULL,&ffunc);
378 zf = zipOpen64(filename_try,(opt_overwrite==2) ? 2 : 0);
381 if (zf == NULL)
451 err = zipOpenNewFileInZip3_64(zf,savefilenameinzip,&zi,
485 err = zipWriteInFileInZip (zf,buf,size_read);
502 err = zipCloseFileInZip(zf);
509 errclose = zipClose(zf,NULL);
/external/python/cpython2/PCbuild/
Dget_external.py26 with zipfile.ZipFile(os.fspath(zip_path)) as zf:
27 zf.extractall(os.fspath(externals_dir))
28 return externals_dir / zf.namelist()[0].split('/')[0]
/external/python/cpython3/PCbuild/
Dget_external.py26 with zipfile.ZipFile(os.fspath(zip_path)) as zf:
27 zf.extractall(os.fspath(externals_dir))
28 return externals_dir / zf.namelist()[0].split('/')[0]
/external/perfetto/tools/
Dinstall-build-deps338 def ExtractZipfilePreservePermissions(zf, info, path): argument
339 zf.extract(info.filename, path=path)
423 with zipfile.ZipFile(local_path, 'r') as zf:
424 for info in zf.infolist():
425 ExtractZipfilePreservePermissions(zf, info, zip_target_dir)
/external/libchrome/mojo/public/tools/gn/
Dzip.py42 with zipfile.ZipFile(zf_name, 'r') as zf:
43 for f in zf.namelist():
46 build_utils.AddToZipHermetic(outfile, f, data=zf.read(f))
/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTMatrix.h588 const float zf,
605 const int zf,
623 const float zf,
640 const int zf,
/external/deqp/framework/referencerenderer/
DrrRenderState.hpp339 float zf; member
344 , zf (1.0f) in ViewportState()
351 , zf (1.0f) in ViewportState()

123456789