/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipEntry.java | 56 byte[] extra; // optional extra field data for entry field in ZipEntry 99 long size, int compressionMethod, int xdostime, byte[] extra, in ZipEntry() argument 109 this.setExtra0(extra, false); in ZipEntry() 156 extra = e.extra; in ZipEntry() 477 public void setExtra(byte[] extra) { in setExtra() argument 478 setExtra0(extra, false); in setExtra() 489 void setExtra0(byte[] extra, boolean doZIP64) { in setExtra0() argument 490 if (extra != null) { in setExtra0() 491 if (extra.length > 0xFFFF) { in setExtra0() 496 int len = extra.length; in setExtra0() [all …]
|
D | ZipOutputStream.java | 391 int elen = getExtraLen(e.extra); in writeLOC() 462 writeExtra(e.extra); in writeLOC() 527 int elen = getExtraLen(e.extra); in writeCEN() 584 writeExtra(e.extra); in writeCEN() 650 private int getExtraLen(byte[] extra) { in getExtraLen() argument 651 if (extra == null) in getExtraLen() 654 int len = extra.length; in getExtraLen() 657 int tag = get16(extra, off); in getExtraLen() 658 int sz = get16(extra, off + 2); in getExtraLen() 676 private void writeExtra(byte[] extra) throws IOException { in writeExtra() argument [all …]
|
D | ZipInputStream.java | 338 byte[] extra = new byte[len]; in readLOC() 339 readFully(extra, 0, len); in readLOC() 340 e.setExtra0(extra, in readLOC()
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | CSVTest.java | 69 String extra = ""; in runTest() local 73 extra = testCase[4]; in runTest() 75 run2InputTest(function, expectedOutput, input, input2, extra); in runTest() 78 extra = testCase[3]; in runTest() 80 runTest(function, expectedOutput, input, extra); in runTest() 85 String extra) throws Exception; in runTest() argument 87 …t(String func, double expectedOutput, double input1, double input2, String extra) throws Exception; in run2InputTest() argument
|
D | RunCSVTestsStrict.java | 24 void runTest(String func, double expectedOutput, double input, String extra) in runTest() argument 31 assertEquals(extra + ": " + m + ": " + input + ": ", expectedOutput, in runTest() 34 assertEquals(extra + ": " + m + ": " + input + ": ", (int) expectedOutput, in runTest() 44 double input2, String extra) throws Exception { in run2InputTest() argument 57 assertEquals(extra + ": " + m + ": " , expectedOutput, (double) returnValue, 0D); in run2InputTest() 59 assertEquals(extra + ": " + m + ": ", (int) expectedOutput, (int) returnValue, 0D); in run2InputTest()
|
D | RunCSVTests.java | 54 void runTest(String func, double expectedOutput, double input, String extra) in runTest() argument 68 assertEquals(extra + ": " + m + ": " + input + ": ", expectedOutput, in runTest() 71 assertEquals(extra + ": " + m + ": " + input + ": ", (int) expectedOutput, in runTest() 82 double input2, String extra) throws Exception { in run2InputTest() argument 102 assertEquals(extra + ": " + m + ": ", expectedOutput, (double) returnValue, in run2InputTest() 105 assertEquals(extra + ": " + m + ": ", (int) expectedOutput, (int) returnValue, in run2InputTest()
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | ZipEntryTest.java | 106 byte[] extra = { 5, 7, 9 }; in testClone() 108 jarEntry.setExtra(extra); in testClone() 109 assertSame("Expected no defensive copy of extra", extra, jarEntry.getExtra()); in testClone() 113 assertNotSame(extra, clone.getExtra()); in testClone() 257 byte[] extra = makeString(11, "a").getBytes(); in testCommentAndExtraInSameOrder() 266 ze.setExtra(extra); in testCommentAndExtraInSameOrder() 274 ze.setExtra(extra); in testCommentAndExtraInSameOrder() 284 assertTrue(Arrays.equals(extra, zipFile.getEntry("x").getExtra())); in testCommentAndExtraInSameOrder() 287 assertTrue(Arrays.equals(extra, zipFile.getEntry("y").getExtra())); in testCommentAndExtraInSameOrder()
|
/libcore/ojluni/annotations/hiddenapi/java/util/zip/ |
D | ZipEntry.java | 43 byte[] extra, in ZipEntry() argument 132 public void setExtra(byte[] extra) { in setExtra() argument 136 void setExtra0(byte[] extra, boolean doZIP64) { in setExtra0() argument 188 byte[] extra; field in ZipEntry
|
D | ZipOutputStream.java | 101 private int getExtraLen(byte[] extra) { in getExtraLen() argument 105 private void writeExtra(byte[] extra) throws java.io.IOException { in writeExtra() argument
|
/libcore/ojluni/src/main/native/ |
D | zip_util.c | 1035 ze->extra = NULL; in newEntry() 1067 char *extra = cen + CENHDR + nlen; in newEntry() local 1070 if ((ze->extra = malloc(elen + 2)) == NULL) goto Catch; in newEntry() 1071 ze->extra[0] = (unsigned char) elen; in newEntry() 1072 ze->extra[1] = (unsigned char) (elen >> 8); in newEntry() 1073 memcpy(ze->extra+2, extra, elen); in newEntry() 1078 jint sz = SH(extra, off + 2); in newEntry() 1079 if (SH(extra, off) == ZIP64_EXTID) { in newEntry() 1085 ze->size = LL(extra, off); in newEntry() 1092 ze->csize = LL(extra, off); in newEntry() [all …]
|
D | ZipFile.c | 282 if (ze->extra != 0) { in ZipFile_getEntryBytes() 283 unsigned char *bp = (unsigned char *)&ze->extra[0]; in ZipFile_getEntryBytes() 287 (*env)->SetByteArrayRegion(env, jba, 0, len, &ze->extra[2]); in ZipFile_getEntryBytes()
|
D | zip_util.h | 167 jbyte *extra; /* optional extra data */ member
|
/libcore/ojluni/annotations/mmodule/java/util/zip/ |
D | ZipEntry.annotated.java | 35 …ng compressedSize, long size, int compressionMethod, int xdostime, byte[] extra, long dataOffset) … in ZipEntry() argument 78 public void setExtra(byte[] extra) { throw new RuntimeException("Stub!"); } in setExtra() argument
|
/libcore/ojluni/src/main/java/java/awt/font/ |
D | NumericShaper.java | 1484 int extra = length - power; in search() local 1488 if (value >= array[index + extra]) { in search() 1489 index += extra; in search()
|
/libcore/tools/docs/crypto/ |
D | README | 6 a couple extra classes.
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | ProviderTest.java | 97 List<String> extra = new ArrayList<String>(); in test_Provider_getServices() local 146 extra.add("Unknown " + type + " " + algorithm + " " + providerName + "\n"); in test_Provider_getServices() 187 Collections.sort(extra); // sort so that its grouped by type in test_Provider_getServices() 189 Collections.EMPTY_LIST, extra); in test_Provider_getServices()
|