Home
last modified time | relevance | path

Searched refs:child (Results 1 – 25 of 163) sorted by relevance

1234567

/libcore/dom/src/test/java/org/w3c/domts/level1/core/
Delementgetelementsbytagnameaccessnodelist.java62 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()
Dhc_namednodemapchildnoderange.java67 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()
Dhc_commentgetcomment.java67 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()
Dcharacterdatasetnodevalue.java64 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()
Dhc_characterdatasetnodevalue.java64 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()
Dcharacterdatadeletedatagetlengthanddata.java74 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()
Dhc_characterdatadeletedatagetlengthanddata.java73 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()
Dcommentgetcomment.java66 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()
Dnodelistreturnlastitem.java63 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()
Ddocumentcreateelementdefaultattr.java77 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()
Dnodecdatasectionnodevalue.java76 Node child; in runTest() local
82 child = childList.item(1); in runTest()
84 if ((child == null)) { in runTest()
85child = doc.createCDATASection("This is a CDATASection with EntityReference number 2 &ent2;"); in runTest()
87 cdataNodeValue = child.getNodeValue(); in runTest()
Dhc_nodeinsertbeforedocfragment.java75 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()
Dnodeinsertbeforedocfragment.java75 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()
Dhc_characterdatareplacedataexceedslengthofarg.java71 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()
Dhc_characterdatadeletedatabegining.java68 CharacterData child; in runTest() local
73 child = (CharacterData) nameNode.getFirstChild(); in runTest()
74 child.deleteData(0, 16); in runTest()
75 childData = child.getData(); in runTest()
Dcharacterdatareplacedataend.java71 CharacterData child; in runTest() local
76 child = (CharacterData) nameNode.getFirstChild(); in runTest()
77 child.replaceData(30, 5, "98665"); in runTest()
78 childData = child.getData(); in runTest()
Dhc_characterdatareplacedatabegining.java68 CharacterData child; in runTest() local
73 child = (CharacterData) nameNode.getFirstChild(); in runTest()
74 child.replaceData(0, 4, "2500"); in runTest()
75 childData = child.getData(); in runTest()
/libcore/ojluni/src/main/java/java/util/prefs/
DNodeChangeEvent.java52 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()
DAbstractPreferences.java835 AbstractPreferences child = kidCache.get(token); in node() local
836 if (child == null) { in node()
840 child = childSpi(token); in node()
841 if (child.newNode) in node()
842 enqueueNodeAddedEvent(child); in node()
843 kidCache.put(token, child); in node()
846 return child; in node()
850 return child.node(path); in node()
903 AbstractPreferences child = kidCache.get(token); in nodeExists() local
904 if (child == null) in nodeExists()
[all …]
/libcore/luni/src/test/java/libcore/java/util/logging/
DOldLoggerTest.java152 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/
DInnerNodeImpl.java204 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/
DXMLFilterImplTest.java55 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/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
DAbstractPreferencesTest.java484 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 …]
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
DremoveNamedItemNS03.java83 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()
DsetNamedItemNS04.java83 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()

1234567