/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipEntry.java | 57 String comment; // optional comment string for entry field in ZipEntry 98 public ZipEntry(String name, String comment, long crc, long compressedSize, in ZipEntry() argument 102 this.comment = comment; in ZipEntry() 157 comment = e.comment; in ZipEntry() 578 public void setComment(String comment) { in setComment() argument 580 if (comment != null && comment.getBytes(StandardCharsets.UTF_8).length > 0xffff) { in setComment() 581 throw new IllegalArgumentException(comment + " too long: " + in setComment() 582 comment.getBytes(StandardCharsets.UTF_8).length); in setComment() 586 this.comment = comment; in setComment() 597 return comment; in getComment()
|
D | ZipOutputStream.java | 78 private byte[] comment; field in ZipOutputStream 148 public void setComment(String comment) { in setComment() argument 149 if (comment != null) { in setComment() 150 this.comment = zc.getBytes(comment); in setComment() 151 if (this.comment.length > 0xffff) in setComment() 549 if (e.comment != null) { in writeCEN() 550 commentBytes = zc.getBytes(e.comment); in writeCEN() 639 if (comment != null) { // zip file comment in writeEND() 640 writeShort(comment.length); in writeEND() 641 writeBytes(comment, 0, comment.length); in writeEND()
|
/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/systemid/ |
D | recipt.dtd | 3 <!ELEMENT recipe (title,ingredient*,preparation,comment?,nutrition)> 11 <!ELEMENT comment (#PCDATA)> element
|
/libcore/luni/src/test/resources/ |
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 | 114 for (String comment : comments) { in androidChangedCommentsSummary() 115 int count = map.get(comment); in androidChangedCommentsSummary() 117 result.add(comment); in androidChangedCommentsSummary() 119 result.add(comment + " (x" + count + ")"); in androidChangedCommentsSummary()
|
/libcore/ojluni/src/main/native/ |
D | zip_util.c | 260 if (zip->comment != NULL) in freeZip() 261 free(zip->comment); in freeZip() 335 zip->comment = malloc(clen + 1); in findEND() 336 if (zip->comment == NULL) { in findEND() 339 if (readFullyAt(zfd, zip->comment, clen, pos + i + ENDHDR) in findEND() 341 free(zip->comment); in findEND() 342 zip->comment = NULL; in findEND() 345 zip->comment[clen] = '\0'; in findEND() 1036 ze->comment = NULL; in newEntry() 1112 if ((ze->comment = malloc(clen + 1)) == NULL) goto Catch; in newEntry() [all …]
|
D | ZipFile.c | 258 if (zip->comment != NULL) { in ZipFile_getCommentBytes() 261 (*env)->SetByteArrayRegion(env, jba, 0, zip->clen, (jbyte*)zip->comment); in ZipFile_getCommentBytes() 291 if (ze->comment != 0) { in ZipFile_getEntryBytes() 292 len = (int)strlen(ze->comment); in ZipFile_getEntryBytes() 295 (*env)->SetByteArrayRegion(env, jba, 0, len, (jbyte*)ze->comment); in ZipFile_getEntryBytes()
|
D | zip_util.h | 166 char *comment; /* optional zip file comment */ member 224 char *comment; /* zip file comment */ member
|
/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()
|
D | Properties.java | 913 public void storeToXML(OutputStream os, String comment) in storeToXML() argument 916 storeToXML(os, comment, "UTF-8"); in storeToXML() 958 public void storeToXML(OutputStream os, String comment, String encoding) in storeToXML() argument 968 XMLUtils.save(this, Objects.requireNonNull(os), comment, in storeToXML()
|
/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/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
|
D | DefaultHandler2.java | 70 public void comment (char ch [], int start, int length) in comment() method in DefaultHandler2
|
/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
|