/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
hc_noderemovechildoldchildnonexistent.java | 31 * The "removeChild(oldChild)" method raises a 68 Node oldChild; 73 oldChild = doc.createElement("br"); 80 removedChild = elementNode.removeChild(oldChild);
|
noderemovechildoldchildnonexistent.java | 31 * The "removeChild(oldChild)" method raises a 69 Node oldChild; 74 oldChild = doc.createElement("oldChild"); 81 removedChild = elementNode.removeChild(oldChild);
|
hc_noderemovechildgetnodename.java | 31 * The "removeChild(oldChild)" method returns 36 * "removeChild(oldChild)" method. The returned node 69 Node oldChild; 77 oldChild = childList.item(0); 78 oldName = oldChild.getNodeName(); 79 removedChild = employeeNode.removeChild(oldChild);
|
hc_nodereplacechildinvalidnodetype.java | 31 * The "replaceChild(newChild,oldChild)" method raises a 75 Node oldChild; 80 oldChild = elementList.item(1); 81 rootNode = (Element) oldChild.getParentNode(); 86 replacedChild = rootNode.replaceChild(newChild, oldChild);
|
hc_nodereplacechildnewchildexists.java | 65 Node oldChild = null; 88 oldChild = childList.item(5); 89 replacedChild = employeeNode.replaceChild(newChild, oldChild); 90 assertSame("return_value_same", oldChild, replacedChild);
|
hc_nodereplacechild.java | 31 * The "replaceChild(newChild,oldChild)" method replaces 32 * the node "oldChild" with the node "newChild". 68 Node oldChild; 77 oldChild = childList.item(0); 79 replacedNode = employeeNode.replaceChild(newChild, oldChild);
|
hc_nodereplacechildnewchilddiffdocument.java | 31 * The "replaceChild(newChild,oldChild)" method raises a 72 Node oldChild; 82 oldChild = elementNode.getFirstChild(); 87 replacedChild = elementNode.replaceChild(newChild, oldChild);
|
hc_nodereplacechildnodeancestor.java | 31 * The "replaceChild(newChild,oldChild)" method raises a 72 Node oldChild; 79 oldChild = childList.item(0); 84 replacedNode = employeeNode.replaceChild(newChild, oldChild);
|
hc_nodereplacechildnodename.java | 31 * The "replaceChild(newChild,oldChild)" method returns 36 * returned by the "replaceChild(newChild,oldChild)" 70 Node oldChild; 78 oldChild = childList.item(0); 80 replacedNode = employeeNode.replaceChild(newChild, oldChild);
|
hc_nodereplacechildoldchildnonexistent.java | 31 * The "replaceChild(newChild,oldChild)" method raises a 68 Node oldChild; 75 oldChild = doc.createElement("b"); 82 replacedNode = elementNode.replaceChild(newChild, oldChild);
|
noderemovechildgetnodename.java | 33 * "removeChild(oldChild)" method. The returned node 66 Node oldChild; 75 oldChild = childList.item(0); 76 removedChild = employeeNode.removeChild(oldChild);
|
noderemovechildnode.java | 65 Node oldChild; 75 oldChild = childList.item(0); 76 removedChild = employeeNode.removeChild(oldChild);
|
nodereplacechild.java | 31 * The "replaceChild(newChild,oldChild)" method replaces 32 * the node "oldChild" with the node "newChild". 68 Node oldChild; 77 oldChild = childList.item(0); 79 replacedNode = employeeNode.replaceChild(newChild, oldChild);
|
nodereplacechildinvalidnodetype.java | 31 * The "replaceChild(newChild,oldChild)" method raises a 74 Node oldChild; 80 oldChild = elementList.item(1); 85 replacedChild = rootNode.replaceChild(newChild, oldChild);
|
nodereplacechildnewchilddiffdocument.java | 31 * The "replaceChild(newChild,oldChild)" method raises a 72 Node oldChild; 82 oldChild = elementNode.getFirstChild(); 87 replacedChild = elementNode.replaceChild(newChild, oldChild);
|
nodereplacechildnodeancestor.java | 31 * The "replaceChild(newChild,oldChild)" method raises a 74 Node oldChild; 81 oldChild = childList.item(0); 86 replacedNode = employeeNode.replaceChild(newChild, oldChild);
|
nodereplacechildnodename.java | 33 * returned by the "replaceChild(newChild,oldChild)" 67 Node oldChild; 77 oldChild = childList.item(1); 79 replacedNode = employeeNode.replaceChild(newChild, oldChild);
|
nodereplacechildoldchildnonexistent.java | 31 * The "replaceChild(newChild,oldChild)" method raises a 69 Node oldChild; 76 oldChild = doc.createElement("oldChild"); 83 replacedNode = elementNode.replaceChild(newChild, oldChild);
|
nodereplacechildnewchildexists.java | 66 Node oldChild = null; 107 oldChild = childList.item(11); 111 oldChild = childList.item(5); 115 replacedChild = employeeNode.replaceChild(newChild, oldChild); 116 assertSame("return_value_same", oldChild, replacedChild);
|
hc_noderemovechildnode.java | 31 * The "removeChild(oldChild)" method removes the node 32 * indicated by "oldChild". 69 Node oldChild; 90 oldChild = emList.item(0); 91 removedChild = employeeNode.removeChild(oldChild);
|
/external/webkit/WebCore/rendering/ |
RenderObjectChildList.cpp | 69 RenderObject* RenderObjectChildList::removeChildNode(RenderObject* owner, RenderObject* oldChild, bool fullRemove) 71 ASSERT(oldChild->parent() == owner); 76 if (!owner->documentBeingDestroyed() && fullRemove && oldChild->m_everHadLayout) { 77 oldChild->setNeedsLayoutAndPrefWidthsRecalc(); 78 oldChild->repaint(); 82 if (oldChild->isBox()) 83 toRenderBox(oldChild)->deleteLineBoxWrapper(); 88 if (owner->style()->visibility() != VISIBLE && oldChild->style()->visibility() == VISIBLE && !oldChild->hasLayer()) { 94 if (oldChild->firstChild() || oldChild->hasLayer()) [all...] |
CounterNode.cpp | 205 void CounterNode::removeChild(CounterNode* oldChild, const AtomicString& identifier) 207 ASSERT(oldChild); 208 ASSERT(!oldChild->m_firstChild); 209 ASSERT(!oldChild->m_lastChild); 211 CounterNode* next = oldChild->m_nextSibling; 212 CounterNode* previous = oldChild->m_previousSibling; 214 oldChild->m_nextSibling = 0; 215 oldChild->m_previousSibling = 0; 216 oldChild->m_parent = 0; 221 ASSERT(m_firstChild == oldChild); [all...] |
/external/webkit/JavaScriptCore/API/tests/ |
Node.h | 48 extern void Node_replaceChild(Node* node, Node* newChild, Node* oldChild);
|
/external/webkit/WebCore/wml/ |
WMLOptGroupElement.cpp | 61 bool WMLOptGroupElement::replaceChild(PassRefPtr<Node> newChild, Node* oldChild, ExceptionCode& ec, bool shouldLazyAttach) 63 bool result = WMLFormControlElement::replaceChild(newChild, oldChild, ec, shouldLazyAttach); 69 bool WMLOptGroupElement::removeChild(Node* oldChild, ExceptionCode& ec) 71 bool result = WMLFormControlElement::removeChild(oldChild, ec);
|
/packages/apps/Mms/src/com/android/mms/dom/ |
NodeImpl.java | 170 public Node removeChild(Node oldChild) throws DOMException { 171 if (mChildNodes.contains(oldChild)) { 172 mChildNodes.remove(oldChild); 173 ((NodeImpl)oldChild).setParentNode(null); 180 public Node replaceChild(Node newChild, Node oldChild) throws DOMException { 181 if (mChildNodes.contains(oldChild)) { 188 mChildNodes.setElementAt(newChild, mChildNodes.indexOf(oldChild)); 190 ((NodeImpl)oldChild).setParentNode(null); 194 return oldChild;
|