/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
D | elementgetelementsbytagnameaccessnodelist.java | 62 Node child; in runTest() local 69 child = testEmployee.getFirstChild(); in runTest() 70 childType = (int) child.getNodeType(); in runTest() 73 child = child.getNextSibling(); in runTest() 75 childName = child.getNodeName(); in runTest() 77 child = child.getFirstChild(); in runTest() 78 childValue = child.getNodeValue(); in runTest()
|
D | hc_namednodemapchildnoderange.java | 67 Node child; in runTest() local 80 child = attributes.item(2); in runTest() 81 assertNotNull("attr2", child); in runTest() 84 child = attributes.item(0); in runTest() 85 assertNotNull("attr0", child); in runTest() 86 child = attributes.item(1); in runTest() 87 assertNotNull("attr1", child); in runTest() 88 child = attributes.item(3); in runTest() 89 assertNull("attr3", child); in runTest()
|
D | hc_commentgetcomment.java | 67 Node child; in runTest() local 76 child = (Node) elementList.item(indexN1005E); in runTest() 77 childType = (int) child.getNodeType(); in runTest() 80 childName = child.getNodeName(); in runTest() 82 childValue = child.getNodeValue(); in runTest() 84 attributes = child.getAttributes(); in runTest()
|
D | characterdatasetnodevalue.java | 64 CharacterData child; in runTest() local 70 child = (CharacterData) nameNode.getFirstChild(); in runTest() 71 child.setNodeValue("Marilyn Martin"); in runTest() 72 childData = child.getData(); in runTest() 74 childValue = child.getNodeValue(); in runTest()
|
D | hc_characterdatasetnodevalue.java | 64 CharacterData child; in runTest() local 70 child = (CharacterData) nameNode.getFirstChild(); in runTest() 71 child.setNodeValue("Marilyn Martin"); in runTest() 72 childData = child.getData(); in runTest() 74 childValue = child.getNodeValue(); in runTest()
|
D | hc_characterdatadeletedatagetlengthanddata.java | 73 CharacterData child; in runTest() local 81 child = (CharacterData) nameNode.getFirstChild(); in runTest() 82 child.deleteData(30, 5); in runTest() 83 childData = child.getData(); in runTest() 85 childLength = (int) child.getLength(); in runTest()
|
D | characterdatadeletedatagetlengthanddata.java | 74 CharacterData child; in runTest() local 82 child = (CharacterData) nameNode.getFirstChild(); in runTest() 83 child.deleteData(30, 5); in runTest() 84 childData = child.getData(); in runTest() 86 childLength = (int) child.getLength(); in runTest()
|
D | commentgetcomment.java | 66 Node child; in runTest() local 74 child = (Node) elementList.item(indexN10057); in runTest() 75 childType = (int) child.getNodeType(); in runTest() 78 childName = child.getNodeName(); in runTest() 80 childValue = child.getNodeValue(); in runTest()
|
D | nodelistreturnlastitem.java | 63 Node child; in runTest() local 73 child = employeeList.item(5); in runTest() 74 childName = child.getNodeName(); in runTest() 77 child = employeeList.item(12); in runTest() 78 childName = child.getNodeName(); in runTest()
|
D | documentcreateelementdefaultattr.java | 77 Node child; in runTest() local 83 child = defaultAttr.item(0); in runTest() 84 assertNotNull("defaultAttrNotNull", child); in runTest() 85 name = child.getNodeName(); in runTest() 87 value = child.getNodeValue(); in runTest()
|
D | nodecdatasectionnodevalue.java | 76 Node child; in runTest() local 82 child = childList.item(1); in runTest() 84 if ((child == null)) { in runTest() 85 … child = doc.createCDATASection("This is a CDATASection with EntityReference number 2 &ent2;"); in runTest() 87 cdataNodeValue = child.getNodeValue(); in runTest()
|
D | nodeinsertbeforedocfragment.java | 75 Node child; in runTest() local 90 child = childList.item(3); in runTest() 91 childName = child.getNodeName(); in runTest() 93 child = childList.item(4); in runTest() 94 childName = child.getNodeName(); in runTest()
|
D | hc_nodeinsertbeforedocfragment.java | 75 Node child; in runTest() local 90 child = childList.item(3); in runTest() 91 childName = child.getNodeName(); in runTest() 93 child = childList.item(4); in runTest() 94 childName = child.getNodeName(); in runTest()
|
D | hc_characterdatareplacedataexceedslengthofarg.java | 71 CharacterData child; in runTest() local 76 child = (CharacterData) nameNode.getFirstChild(); in runTest() 77 child.replaceData(0, 4, "260030"); in runTest() 78 childData = child.getData(); in runTest()
|
D | hc_characterdatainsertdatabeginning.java | 68 CharacterData child; in runTest() local 73 child = (CharacterData) nameNode.getFirstChild(); in runTest() 74 child.insertData(0, "Mss. "); in runTest() 75 childData = child.getData(); in runTest()
|
D | hc_characterdatareplacedataend.java | 70 CharacterData child; in runTest() local 75 child = (CharacterData) nameNode.getFirstChild(); in runTest() 76 child.replaceData(30, 5, "98665"); in runTest() 77 childData = child.getData(); in runTest()
|
D | characterdatareplacedataexceedslengthofarg.java | 72 CharacterData child; in runTest() local 77 child = (CharacterData) nameNode.getFirstChild(); in runTest() 78 child.replaceData(0, 4, "260030"); in runTest() 79 childData = child.getData(); in runTest()
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
D | NodeChangeEvent.java | 52 private Preferences child; field in NodeChangeEvent 60 public NodeChangeEvent(Preferences parent, Preferences child) { in NodeChangeEvent() argument 62 this.child = child; in NodeChangeEvent() 80 return child; in getChild()
|
D | AbstractPreferences.java | 828 AbstractPreferences child = kidCache.get(token); in node() local 829 if (child == null) { in node() 833 child = childSpi(token); in node() 834 if (child.newNode) in node() 835 enqueueNodeAddedEvent(child); in node() 836 kidCache.put(token, child); in node() 839 return child; in node() 843 return child.node(path); in node() 896 AbstractPreferences child = kidCache.get(token); in nodeExists() local 897 if (child == null) in nodeExists() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
D | OldLoggerTest.java | 152 Logger child = Logger in testGetLogger_WithParent() local 154 assertNull(child.getFilter()); in testGetLogger_WithParent() 155 assertEquals(0, child.getHandlers().length); in testGetLogger_WithParent() 156 assertNull(child.getLevel()); in testGetLogger_WithParent() 157 assertEquals("testGetLogger_WithParent_ParentLogger.child", child in testGetLogger_WithParent() 159 assertSame(child.getParent(), pLog); in testGetLogger_WithParent() 160 assertNull(child.getResourceBundle()); in testGetLogger_WithParent() 161 assertNull(child.getResourceBundleName()); in testGetLogger_WithParent() 162 assertTrue(child.getUseParentHandlers()); in testGetLogger_WithParent() 177 assertEquals("testGetLogger_WithParent_ParentLogger.child", child in testGetLogger_WithParent() [all …]
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
D | InnerNodeImpl.java | 204 Node child = getFirstChild(); in getTextContent() local 205 if (child == null) { in getTextContent() 209 Node next = child.getNextSibling(); in getTextContent() 211 return hasTextContent(child) ? child.getTextContent() : ""; in getTextContent() 220 Node child = getFirstChild(); in getTextContent() local 221 while (child != null) { in getTextContent() 222 if (hasTextContent(child)) { in getTextContent() 223 ((NodeImpl) child).getTextContent(buf); in getTextContent() 225 child = child.getNextSibling(); in getTextContent() 229 final boolean hasTextContent(Node child) { in hasTextContent() argument [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/ |
D | XMLFilterImplTest.java | 55 private XMLFilterImpl child = new XMLFilterImpl(parent); field in XMLFilterImplTest 72 child.setContentHandler(handler); in setUp() 73 child.setDTDHandler(handler); in setUp() 74 child.setErrorHandler(handler); in setUp() 91 child.setParent(null); in testGetSetParent() 92 assertEquals(null, child.getParent()); in testGetSetParent() 94 child.setParent(parent); in testGetSetParent() 95 assertEquals(parent, child.getParent()); in testGetSetParent() 101 child.setFeature("foo", true); in testGetSetFeature() 102 assertEquals(true, child.getFeature("foo")); in testGetSetFeature() [all …]
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
D | setNamedItemNS04.java | 83 Node child; in runTest() local 94 child = nList.item(0); in runTest() 95 nodeType = (int) child.getNodeType(); in runTest() 98 child = doc.createEntityReference("ent4"); in runTest() 99 assertNotNull("createdEntRefNotNull", child); in runTest() 101 n2List = child.getChildNodes(); in runTest()
|
D | removeNamedItemNS03.java | 83 Node child; in runTest() local 93 child = nList.item(0); in runTest() 94 nodeType = (int) child.getNodeType(); in runTest() 97 child = doc.createEntityReference("ent4"); in runTest() 98 assertNotNull("createdEntRefNotNull", child); in runTest() 100 n2List = child.getChildNodes(); in runTest()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
D | AbstractPreferencesTest.java | 484 MockAbstractPreferences child = (MockAbstractPreferences) ((MockAbstractPreferences) pref) in testNode() local 486 assertSame(child, pref.node("child")); in testNode() 493 assertSame(grandchild, child.childSpi("grandchild")); in testNode() 494 assertSame(grandchild, child.cachedChildrenImpl()[0]); in testNode() 501 Preferences child3 = child; in testNode() 742 Preferences child = pref.node("child"); in testRemoveNode() local 744 Preferences grandchild = child.node("grandchild"); in testRemoveNode() 748 assertFalse(child.nodeExists("")); in testRemoveNode() 816 MockAbstractPreferences child = (MockAbstractPreferences) p in testSync() local 822 assertSame(child, p.cachedChildrenImpl()[0]); in testSync() [all …]
|