Home
last modified time | relevance | path

Searched refs:ze (Results 1 – 25 of 126) sorted by relevance

123456

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DZipArchiveEntryTest.java47 final ZipArchiveEntry ze = new ZipArchiveEntry("test/"); in testExtraFields() local
48 ze.setExtraFields(new ZipExtraField[] {a, u}); in testExtraFields()
49 final byte[] data1 = ze.getExtra(); in testExtraFields()
50 ZipExtraField[] result = ze.getExtraFields(); in testExtraFields()
59 ze.addExtraField(u2); in testExtraFields()
60 final byte[] data2 = ze.getExtra(); in testExtraFields()
61 result = ze.getExtraFields(); in testExtraFields()
70 ze.addExtraField(u3); in testExtraFields()
71 result = ze.getExtraFields(); in testExtraFields()
74 ze.removeExtraField(ExtraFieldUtilsTest.UNRECOGNIZED_HEADER); in testExtraFields()
[all …]
DExtraFieldUtilsTest.java77 final ZipExtraField[] ze = ExtraFieldUtils.parse(data); in testParse() local
78 assertEquals("number of fields", 2, ze.length); in testParse()
79 assertTrue("type field 1", ze[0] instanceof AsiExtraField); in testParse()
81 ((AsiExtraField) ze[0]).getMode()); in testParse()
82 assertTrue("type field 2", ze[1] instanceof UnrecognizedExtraField); in testParse()
84 ze[1].getLocalFileDataLength().getValue()); in testParse()
127 final ZipExtraField[] ze = ExtraFieldUtils.parse(data,false); in testParseCentral() local
128 assertEquals("number of fields", 2, ze.length); in testParseCentral()
129 assertTrue("type field 1", ze[0] instanceof AsiExtraField); in testParseCentral()
131 ((AsiExtraField) ze[0]).getMode()); in testParseCentral()
[all …]
DUTF8ZipFilesTest.java274 ZipArchiveEntry ze = new ZipArchiveEntry(OIL_BARREL_TXT); in createTestFile() local
276 && !zipEncoding.canEncode(ze.getName())) { in createTestFile()
278 final ByteBuffer en = zipEncoding.encode(ze.getName()); in createTestFile()
280 ze.addExtraField(new UnicodePathExtraField(ze.getName(), in createTestFile()
287 zos.putArchiveEntry(ze); in createTestFile()
291 ze = new ZipArchiveEntry(EURO_FOR_DOLLAR_TXT); in createTestFile()
293 && !zipEncoding.canEncode(ze.getName())) { in createTestFile()
295 final ByteBuffer en = zipEncoding.encode(ze.getName()); in createTestFile()
297 ze.addExtraField(new UnicodePathExtraField(ze.getName(), in createTestFile()
304 zos.putArchiveEntry(ze); in createTestFile()
[all …]
DLister.java64 final ZipArchiveEntry ze = (ZipArchiveEntry) entry; in main() local
65 list(ze); in main()
67 extract(cl.dir, ze, zs); in main()
75 final ZipArchiveEntry ze = entries.nextElement(); in main() local
76 list(ze); in main()
78 try (InputStream is = zf.getInputStream(ze)) { in main()
79 extract(cl.dir, ze, is); in main()
DZipFileTest.java169 ZipArchiveEntry ze = new ZipArchiveEntry("foo"); in testReadingOfStoredEntry() local
170 ze.setMethod(ZipEntry.STORED); in testReadingOfStoredEntry()
171 ze.setSize(4); in testReadingOfStoredEntry()
172 ze.setCrc(0xb63cfbcdl); in testReadingOfStoredEntry()
173 zo.putArchiveEntry(ze); in testReadingOfStoredEntry()
181 ze = zf.getEntry("foo"); in testReadingOfStoredEntry()
182 assertNotNull(ze); in testReadingOfStoredEntry()
183 i = zf.getInputStream(ze); in testReadingOfStoredEntry()
270 final ZipArchiveEntry ze = zf.getEntry("test1.txt"); in testDuplicateEntry() local
271 assertNotNull(ze); in testDuplicateEntry()
[all …]
DZipArchiveInputStreamTest.java172 final ZipArchiveEntry ze = in.getNextZipEntry(); in testReadingOfFirstStoredEntry() local
173 assertEquals(5, ze.getSize()); in testReadingOfFirstStoredEntry()
187 ZipArchiveEntry ze = in.getNextZipEntry(); in testMessageWithCorruptFileName() local
188 while (ze != null) { in testMessageWithCorruptFileName()
189 ze = in.getNextZipEntry(); in testMessageWithCorruptFileName()
202 final ZipArchiveEntry ze = in.getNextZipEntry(); in testUnzipBZip2CompressedEntry() local
203 assertEquals(42, ze.getSize()); in testUnzipBZip2CompressedEntry()
508 ZipArchiveEntry ze; in nameSource() local
510 ze = zis.getNextZipEntry(); in nameSource()
512 assertEquals(entry, ze.getName()); in nameSource()
[all …]
DZipEncodingTest.java57 ZipEncoding ze = ZipEncodingHelper.getZipEncoding("I-am-a-banana"); in testGetNonexistentEncodng() local
58 assertNotNull(ze); in testGetNonexistentEncodng()
59 if (ze instanceof CharsetAccessor) { in testGetNonexistentEncodng()
60 CharsetAccessor hasCharset = (CharsetAccessor) ze; in testGetNonexistentEncodng()
DZipClassCoverageTest.java40 ZipArchiveEntry ze = new ZipArchiveEntry("hello"); in testMessageException() local
41 String entryTooBigMessage = Zip64RequiredException.getEntryTooBigMessage(ze); in testMessageException()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DZipArchiveOutputStream.java486 for (final ZipArchiveEntry ze : entries) { in writeCentralDirectoryInChunks()
487 byteArrayOutputStream.write(createCentralFileHeader(ze)); in writeCentralDirectoryInChunks()
1027 protected void writeLocalFileHeader(final ZipArchiveEntry ze) throws IOException { in writeLocalFileHeader() argument
1028 writeLocalFileHeader(ze, false); in writeLocalFileHeader()
1031 …private void writeLocalFileHeader(final ZipArchiveEntry ze, final boolean phased) throws IOExcepti… in writeLocalFileHeader() argument
1032 final boolean encodable = zipEncoding.canEncode(ze.getName()); in writeLocalFileHeader()
1033 final ByteBuffer name = getName(ze); in writeLocalFileHeader()
1036 addUnicodeExtraFields(ze, encodable, name); in writeLocalFileHeader()
1040 … final byte[] localHeader = createLocalFileHeader(ze, name, encodable, phased, localHeaderStart); in writeLocalFileHeader()
1041 … metaData.put(ze, new EntryMetaData(localHeaderStart, usesDataDescriptor(ze.getMethod(), phased))); in writeLocalFileHeader()
[all …]
DZipFile.java425 public boolean canReadEntryData(final ZipArchiveEntry ze) { in canReadEntryData() argument
426 return ZipUtil.canHandleEntryData(ze); in canReadEntryData()
439 public InputStream getRawInputStream(final ZipArchiveEntry ze) { in getRawInputStream() argument
440 if (!(ze instanceof Entry)) { in getRawInputStream()
443 final long start = ze.getDataOffset(); in getRawInputStream()
444 return createBoundedInputStream(start, ze.getCompressedSize()); in getRawInputStream()
476 public InputStream getInputStream(final ZipArchiveEntry ze) in getInputStream() argument
478 if (!(ze instanceof Entry)) { in getInputStream()
482 ZipUtil.checkRequestedFeatures(ze); in getInputStream()
483 final long start = ze.getDataOffset(); in getInputStream()
[all …]
DZipUtil.java232 static void setNameAndCommentFromExtraFields(final ZipArchiveEntry ze, in setNameAndCommentFromExtraFields() argument
236 ze.getExtraField(UnicodePathExtraField.UPATH_ID); in setNameAndCommentFromExtraFields()
240 ze.setName(newName); in setNameAndCommentFromExtraFields()
241 ze.setNameSource(ZipArchiveEntry.NameSource.UNICODE_EXTRA_FIELD); in setNameAndCommentFromExtraFields()
246 ze.getExtraField(UnicodeCommentExtraField.UCOM_ID); in setNameAndCommentFromExtraFields()
250 ze.setComment(newComment); in setNameAndCommentFromExtraFields()
251 ze.setCommentSource(ZipArchiveEntry.CommentSource.UNICODE_EXTRA_FIELD); in setNameAndCommentFromExtraFields()
343 static void checkRequestedFeatures(final ZipArchiveEntry ze) in checkRequestedFeatures() argument
345 if (!supportsEncryptionOf(ze)) { in checkRequestedFeatures()
348 .Feature.ENCRYPTION, ze); in checkRequestedFeatures()
[all …]
DZipArchiveEntry.java502 public void addExtraField(final ZipExtraField ze) { in addExtraField() argument
503 if (ze instanceof UnparseableExtraFieldData) { in addExtraField()
504 unparseableExtra = (UnparseableExtraFieldData) ze; in addExtraField()
507 extraFields = new ZipExtraField[]{ ze}; in addExtraField()
509 if (getExtraField(ze.getHeaderId())!= null){ in addExtraField()
510 removeExtraField(ze.getHeaderId()); in addExtraField()
513 zipExtraFields[zipExtraFields.length -1] = ze; in addExtraField()
527 public void addAsFirstExtraField(final ZipExtraField ze) { in addAsFirstExtraField() argument
528 if (ze instanceof UnparseableExtraFieldData) { in addAsFirstExtraField()
529 unparseableExtra = (UnparseableExtraFieldData) ze; in addAsFirstExtraField()
[all …]
DExtraFieldUtils.java67 final ZipExtraField ze = (ZipExtraField) c.newInstance(); in register() local
68 implementations.put(ze.getHeaderId(), c); in register()
177 final ZipExtraField ze = createExtraField(headerId); in parse() local
180 ze.parseFromLocalFileData(data, start + WORD, length); in parse()
182 ze.parseFromCentralDirectoryData(data, start + WORD, length); in parse()
188 v.add(ze); in parse()
DZip64RequiredException.java36 static String getEntryTooBigMessage(final ZipArchiveEntry ze) { in getEntryTooBigMessage() argument
37 return ze.getName() + "'s size exceeds the limit of 4GByte."; in getEntryTooBigMessage()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/jar/
DJarArchiveOutputStreamTest.java54 ZipArchiveEntry ze = zf.getEntry("foo/"); in testJarMarker() local
55 assertNotNull(ze); in testJarMarker()
56 ZipExtraField[] fes = ze.getExtraFields(); in testJarMarker()
60 ze = zf.getEntry("bar/"); in testJarMarker()
61 assertNotNull(ze); in testJarMarker()
62 fes = ze.getExtraFields(); in testJarMarker()
/external/turbine/java/com/google/turbine/binder/
DCtSymClassBinder.java63 for (Zip.Entry ze : new Zip.ZipIterable(ctSym)) { in bind()
64 String name = ze.name(); in bind()
74 if (!ze.name().substring(0, idx).contains(version)) { in bind()
78 ModuleInfo moduleInfo = BytecodeBinder.bindModuleInfo(name, toByteArrayOrDie(ze)); in bind()
84 sym, new BytecodeBoundClass(sym, toByteArrayOrDie(ze), benv, ctSym + "!" + ze.name())); in bind()
116 private static Supplier<byte[]> toByteArrayOrDie(Zip.Entry ze) {
121 return ze.data();
DClassPathBinder.java110 for (Zip.Entry ze : new Zip.ZipIterable(path)) {
111 String name = ze.name();
113 resources.put(name, toByteArrayOrDie(ze));
125 return new BytecodeBoundClass(sym, toByteArrayOrDie(ze), benv, path.toString());
132 BytecodeBinder.bindModuleInfo(path.toString(), toByteArrayOrDie(ze));
138 sym, new BytecodeBoundClass(sym, toByteArrayOrDie(ze), benv, path.toString()));
142 private static Supplier<byte[]> toByteArrayOrDie(Zip.Entry ze) {
147 return ze.data();
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DZipFileRO.java138 final ZipEntry ze = zipEntry.entry; in getEntryInfo() local
141 pMethod.set((short) ze.getMethod()); in getEntryInfo()
144 pUncompLen.set(ze.getSize()); // uncompressed_length in getEntryInfo()
147 pCompLen.set(ze.getCompressedSize()); in getEntryInfo()
157 pCrc32.set(ze.getCrc()); in getEntryInfo()
271 ZipEntry ze = entry.entry; in createEntryFileMap() local
276 if (ze.getMethod() == kCompressStored) { in createEntryFileMap()
277 actualLen = toIntExact(ze.getSize()); in createEntryFileMap()
279 actualLen = toIntExact(ze.getCompressedSize()); in createEntryFileMap()
/external/icu/icu4c/source/data/lang/
Dzu.txt735 ahom{"Izinombolo ze-Ahom"}
740 bali{"Izinombolo ze-Balinese"}
742 brah{"Izinombolo ze-Brahmi"}
743 cakm{"Izinombolo ze-Chakma"}
744 cham{"Izinombolo ze-Cham"}
745 cyrl{"Izinombolo ze-Cyrillic"}
747 diak{"Izinombolo ze-Dives Akuru"}
752 gong{"Izinombolo ze-Gunjala Gondi"}
753 gonm{"Izinombolo ze-Masaram Gondi"}
764 hmng{"Izinombolo ze-Pahawh Hmong"}
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/jar/
DJarArchiveOutputStream.java58 public void putArchiveEntry(final ArchiveEntry ze) throws IOException { in putArchiveEntry() argument
60 ((ZipArchiveEntry)ze).addAsFirstExtraField(JarMarker.getInstance()); in putArchiveEntry()
63 super.putArchiveEntry(ze); in putArchiveEntry()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/utils/
DTestUtils.java78 ZipEntry ze = zis.getNextEntry(); in unzip() local
80 while (ze != null) { in unzip()
81 final Path newFile = outputFolder.resolve(ze.getName()); in unzip()
83 if (ze.isDirectory()) { in unzip()
96 ze = zis.getNextEntry(); in unzip()
/external/llvm-project/mlir/utils/vim/syntax/
Dmlir.vim29 syn match mlirType /\<memref\ze\s*<.*>/
30 syn match mlirType /\<tensor\ze\s*<.*>/
31 syn match mlirType /\<vector\ze\s*<.*>/
77 syn match mlirNumber /-\?\<\d\+\ze\s*x/
78 syn match mlirNumber /x\s*\zs-\?\d\+\ze\s*x/
/external/icu/icu4c/source/data/curr/
Dtk.txt256 "Täze Ysraýyl şekeli",
424 "Täze Zelandiýa dollary",
440 "Papua - Täze Gwineýa kinasy",
568 "Täze Taýwan dollary",
997 one{"täze ysraýyl şekeli"}
998 other{"täze ysraýyl şekeli"}
1165 one{"täze zelandiýa dollary"}
1166 other{"täze zelandiýa dollary"}
1181 one{"papua - täze gwineýa kinasy"}
1182 other{"papua - täze gwineýa kinasy"}
[all …]
/external/cldr/common/testData/transforms/
Dfa-fonipa-t-fa.txt95 روزِ ɾuːze
289 اَرْزِشْها æɾzeʃhɒː
291 مَرْکَزِ mæɾkæze
319 حاضِرْ hɒːzeɾ
569 مَعْرَضِ mæʔɾæze
583 بُروزِ boɾuːze
640 لَحاظِ læhɒːze
653 اَرْزِشِ æɾzeʃe
917 موزه muːze
996 اِجازه ed͡ʒɒːze
[all …]
Dvec-fonipa-t-vec.txt15 Soèrdhen soˈɛɾd͡zeŋ
118 ze ze

123456