/libcore/luni/src/main/java/java/util/zip/ |
D | ZipEntry.java | 42 String comment; field in ZipEntry 70 ZipEntry(String name, String comment, long crc, long compressedSize, in ZipEntry() argument 74 this.comment = comment; in ZipEntry() 107 return comment; in getComment() 200 public void setComment(String comment) { in setComment() argument 201 if (comment == null) { in setComment() 202 this.comment = null; in setComment() 205 validateStringLength("Comment", comment); in setComment() 207 this.comment = comment; in setComment() 335 comment = ze.comment; in ZipEntry() [all …]
|
D | ZipOutputStream.java | 302 if (ze.comment != null) { in putNextEntry() 303 entryCommentBytes = ze.comment.getBytes(StandardCharsets.UTF_8); in putNextEntry() 356 public void setComment(String comment) { in setComment() argument 357 if (comment == null) { in setComment() 362 byte[] newCommentBytes = comment.getBytes(StandardCharsets.UTF_8); in setComment()
|
D | ZipFile.java | 106 private String comment; field in ZipFile 255 return comment; 427 comment = new String(commentBytes, 0, commentBytes.length, StandardCharsets.UTF_8);
|
/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()
|
D | DomTest.java | 121 private Comment comment; field in DomTest 164 comment = (Comment) vitamins.getChildNodes().item(1); in setUp() 181 vitaminsXmlnsA, comment, vitaminc, vitamincText)); in setUp() 227 assertEquals("http://usda", comment.lookupNamespaceURI("a")); in testLookupNamespaceURIByPrefix() 259 assertEquals("http://food", comment.lookupNamespaceURI(null)); in testLookupNamespaceURIWithNullPrefix() 297 assertEquals(null, comment.lookupPrefix("http://addons")); in testLookupPrefixWithShadowedUri() 341 assertEquals("a", comment.lookupPrefix("http://usda")); in testLookupPrefixWithShadowingUri() 373 assertTrue(comment.isDefaultNamespace("http://food")); in testIsDefaultNamespace() 414 assertFalse(comment.isDefaultNamespace(null)); in testIsDefaultNamespaceNull() 512 comment.setTextContent("foobar"); in testCommentSetTextContent()
|
D | NormalizeTest.java | 510 Comment comment = document.createComment(""); in testInvalidCharactersComment() local 511 root.appendChild(comment); in testInvalidCharactersComment() 514 comment.setData(new String(new char[] { 'A', 'B', (char) c})); in testInvalidCharactersComment()
|
/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/main/java/java/util/ |
D | Properties.java | 493 public void save(OutputStream out, String comment) { in save() argument 495 store(out, comment); in save() 523 public synchronized void store(OutputStream out, String comment) throws IOException { in store() argument 524 store(new OutputStreamWriter(out, "ISO-8859-1"), comment); in store() 537 public synchronized void store(Writer writer, String comment) throws IOException { in store() argument 538 if (comment != null) { in store() 540 writer.write(comment); in store() 668 public void storeToXML(OutputStream os, String comment) throws IOException { in storeToXML() argument 669 storeToXML(os, comment, "UTF-8"); in storeToXML() 690 public synchronized void storeToXML(OutputStream os, String comment, in storeToXML() argument [all …]
|
/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/luni/src/main/java/java/net/ |
D | HttpCookie.java | 319 if (name.equals("comment") && cookie.comment == null) { in setAttribute() 320 cookie.comment = value; in setAttribute() 439 private String comment; 499 return comment; 596 public void setComment(String comment) { 597 this.comment = comment;
|
/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/luni/src/test/java/libcore/java/util/zip/ |
D | ZipEntryTest.java | 174 String comment = makeString(17, "z"); in testCommentAndExtraInSameOrder() local 181 ze.setComment(comment); in testCommentAndExtraInSameOrder() 189 assertEquals(comment, zipFile.getEntry("x").getComment()); in testCommentAndExtraInSameOrder()
|
/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 | 410 CommentImpl comment = (CommentImpl) node; 412 comment.getParentNode().removeChild(comment); 415 if (comment.containsDashDash()) { 418 checkTextValidity(comment.buffer);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/ext/ |
D | DefaultHandler2Test.java | 84 h.comment("<!-- Comment -->".toCharArray(), 0, 15); in testComment()
|
/libcore/xml/src/main/java/org/xmlpull/v1/ |
D | XmlSerializer.java | 305 void comment (String text) in comment() method
|
/libcore/xml/src/main/java/org/kxml2/io/ |
D | KXmlSerializer.java | 590 public void comment(String comment) throws IOException { in comment() argument 593 writer.write(comment); in comment()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/ |
D | MockHandler.java | 119 public void comment(char[] ch, int start, int length) throws SAXException { in comment() method in MockHandler
|
/libcore/luni/src/main/native/ |
D | org_apache_harmony_xml_ExpatParser.cpp | 686 static void comment(void* data, const char* comment) { in comment() function 687 bufferAndInvoke(commentMethod, data, comment, strlen(comment)); in comment() 994 XML_SetCommentHandler(parser, comment); in ExpatParser_initialize()
|