/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipEntry.java | 63 String comment; // optional comment string for entry field in ZipEntry 105 public ZipEntry(String name, String comment, long crc, long compressedSize, in ZipEntry() argument 109 this.comment = comment; in ZipEntry() 165 comment = e.comment; in ZipEntry() 698 public void setComment(String comment) { in setComment() argument 700 if (comment != null && comment.getBytes(StandardCharsets.UTF_8).length > 0xffff) { in setComment() 701 throw new IllegalArgumentException(comment + " too long: " + in setComment() 702 comment.getBytes(StandardCharsets.UTF_8).length); in setComment() 706 this.comment = comment; in setComment() 717 return comment; in getComment()
|
D | ZipOutputStream.java | 77 private byte[] comment; field in ZipOutputStream 148 public void setComment(String comment) { in setComment() argument 150 if (comment != null) { in setComment() 151 bytes = zc.getBytes(comment); in setComment() 156 this.comment = bytes; in setComment() 616 if (e.comment != null) { in writeCEN() 617 commentBytes = zc.getBytes(e.comment); in writeCEN() 723 if (comment != null) { // zip file comment in writeEND() 724 writeShort(comment.length); in writeEND() 725 writeBytes(comment, 0, comment.length); in writeEND()
|
/libcore/ojluni/src/test/java/util/Properties/ |
D | input.txt | 2 # comment ending with slash \ 9 # comment with leading space 10 #key = comment without line terminator
|
D | XMLSaveLoadBasher.java | 59 private static void testSaveLoad(String encoding, String comment) in testSaveLoad() argument 115 originalProps.storeToXML(out, comment, encoding); in testSaveLoad()
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
D | importNode04.java | 74 Comment comment; in runTest() local 82 comment = aNewDoc.createComment("descendant1"); in runTest() 83 aNode = docFrag.appendChild(comment); in runTest()
|
D | importNode03.java | 72 Comment comment; in runTest() local 80 comment = aNewDoc.createComment("this is a comment"); in runTest() 81 aNode = doc.importNode(comment, false); in runTest()
|
D | nodenormalize01.java | 87 Comment comment; in runTest() local 105 comment = newDoc.createComment("comment"); in runTest() 129 appendedChild = element5.appendChild(comment); in runTest()
|
/libcore/luni/src/test/java/libcore/xml/ |
D | SimpleBuilderTest.java | 94 String comment = ""; in testGoodFile1() local 102 comment = comment + node.getNodeValue(); in testGoodFile1() 107 assertEquals(" Fragile! Handle me with care! ", comment); in testGoodFile1()
|
/libcore/luni/src/test/resources/META-INF/services/ |
D | libcore.java.util.ServiceLoaderTestInterface | 1 # this is a comment 5 libcore.java.util.ServiceLoaderTest$Impl2 # this comment is valid
|
/libcore/luni/src/test/resources/ |
D | recipt.dtd | 3 <!ELEMENT recipe (title,ingredient*,preparation,comment?,nutrition)> 11 <!ELEMENT comment (#PCDATA)> element
|
/libcore/luni/src/test/resources/systemid/ |
D | recipt.dtd | 3 <!ELEMENT recipe (title,ingredient*,preparation,comment?,nutrition)> 11 <!ELEMENT comment (#PCDATA)> element
|
/libcore/ojluni/annotations/hiddenapi/java/util/zip/ |
D | ZipEntry.java | 37 java.lang.String comment, in ZipEntry() argument 144 public void setComment(java.lang.String comment) { in setComment() argument 178 java.lang.String comment; field in ZipEntry
|
D | ZipOutputStream.java | 53 public void setComment(java.lang.String comment) { in setComment() argument 135 private byte[] comment; field in ZipOutputStream
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | ZipEntryTest.java | 256 String comment = makeString(17, "z"); in testCommentAndExtraInSameOrder() local 267 ze.setComment(comment); in testCommentAndExtraInSameOrder() 275 ze.setComment(comment); in testCommentAndExtraInSameOrder() 283 assertEquals(comment, zipFile.getEntry("x").getComment()); in testCommentAndExtraInSameOrder() 286 assertEquals(comment, zipFile.getEntry("y").getComment()); in testCommentAndExtraInSameOrder()
|
/libcore/tools/upstream/src/main/java/libcore/ |
D | CompareUpstreams.java | 127 for (String comment : comments) { in androidChangedCommentsSummary() 128 int count = map.get(comment); in androidChangedCommentsSummary() 130 result.add(comment); in androidChangedCommentsSummary() 132 result.add(comment + " (x" + count + ")"); in androidChangedCommentsSummary()
|
/libcore/ojluni/src/main/native/ |
D | zip_util.c | 296 if (zip->comment != NULL) in freeZip() 297 free(zip->comment); in freeZip() 371 zip->comment = malloc(clen + 1); in findEND() 372 if (zip->comment == NULL) { in findEND() 375 if (readFullyAt(zfd, zip->comment, clen, pos + i + ENDHDR) in findEND() 377 free(zip->comment); in findEND() 378 zip->comment = NULL; in findEND() 381 zip->comment[clen] = '\0'; in findEND() 1119 ze->comment = NULL; in newEntry() 1195 if ((ze->comment = malloc(clen + 1)) == NULL) goto Catch; in newEntry() [all …]
|
D | ZipFile.c | 253 if (zip->comment != NULL) { in ZipFile_getCommentBytes() 256 (*env)->SetByteArrayRegion(env, jba, 0, zip->clen, (jbyte*)zip->comment); in ZipFile_getCommentBytes() 286 if (ze->comment != 0) { in ZipFile_getEntryBytes() 287 len = (int)strlen(ze->comment); in ZipFile_getEntryBytes() 290 (*env)->SetByteArrayRegion(env, jba, 0, len, (jbyte*)ze->comment); in ZipFile_getEntryBytes()
|
/libcore/ojluni/src/main/java/java/util/ |
D | XMLUtils.java | 131 static void save(Properties props, OutputStream os, String comment, in save() argument 146 if (comment != null) { in save() 149 comments.appendChild(doc.createTextNode(comment)); in save()
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
D | ImportNode.java | 159 Comment comment; in testImportNode3() local 167 comment = aNewDoc.createComment("this is a comment"); in testImportNode3() 168 aNode = doc.importNode(comment, false); in testImportNode3() 182 Comment comment; in testImportNode4() local 190 comment = aNewDoc.createComment("descendant1"); in testImportNode4() 191 aNode = docFrag.appendChild(comment); in testImportNode4()
|
D | NodeNormalize.java | 104 Comment comment; in testNormalize() local 123 comment = newDoc.createComment("comment"); in testNormalize() 147 element5.appendChild(comment); in testNormalize()
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
D | DOMConfigurationImpl.java | 414 CommentImpl comment = (CommentImpl) node; 416 comment.getParentNode().removeChild(comment); 419 if (comment.containsDashDash()) { 422 checkTextValidity(comment.buffer);
|
/libcore/ojluni/annotations/mmodule/java/util/zip/ |
D | ZipEntry.annotated.java | 35 public ZipEntry(java.lang.String name, java.lang.String comment, long crc, long compressedSize, lon… in ZipEntry() argument 82 public void setComment(java.lang.String comment) { throw new RuntimeException("Stub!"); } in setComment() argument
|
/libcore/ojluni/src/test/java/util/Scanner/ |
D | input.txt | 87 # is a comment and is ignored. In this example we will use a # 315 comment = Home Directories 320 # Un-comment the following and create the netlogon directory for Domain Logons 322 ; comment = Network Logon Service 329 # Un-comment the following to provide a specific roving profile share 340 comment = All Printers 350 # comment = Temporary file space 365 ; comment = Public Stuff 381 # comment = Fred's Printer 392 # comment = Fred's Service [all …]
|
/libcore/luni/src/main/java/org/xml/sax/ext/ |
D | LexicalHandler.java | 207 public abstract void comment (char ch[], int start, int length) in comment() method
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Properties.java | 97 public void storeToXML(java.io.OutputStream os, java.lang.String comment) in storeToXML() argument 103 java.io.OutputStream os, java.lang.String comment, java.lang.String encoding) in storeToXML() argument
|