/external/webkit/Source/WebCore/bindings/cpp/ |
WebDOMNodeCustom.cpp | 41 WebDOMNode WebDOMNode::replaceChild(const WebDOMNode& newChild, const WebDOMNode& oldChild) 47 if (impl()->replaceChild(toWebCore(newChild), toWebCore(oldChild), ec, true)) 48 return oldChild; 54 WebDOMNode WebDOMNode::removeChild(const WebDOMNode& oldChild) 60 if (impl()->removeChild(toWebCore(oldChild), ec)) 61 return oldChild;
|
/external/webkit/Source/WebCore/rendering/ |
RenderObjectChildList.cpp | 64 RenderObject* RenderObjectChildList::removeChildNode(RenderObject* owner, RenderObject* oldChild, bool fullRemove) 66 ASSERT(oldChild->parent() == owner); 71 if (!owner->documentBeingDestroyed() && fullRemove && oldChild->m_everHadLayout) { 72 oldChild->setNeedsLayoutAndPrefWidthsRecalc(); 73 if (oldChild->isBody()) 76 oldChild->repaint(); 80 if (oldChild->isBox()) 81 toRenderBox(oldChild)->deleteLineBoxWrapper(); 86 if (owner->style()->visibility() != VISIBLE && oldChild->style()->visibility() == VISIBLE && !oldChild->hasLayer()) [all...] |
RenderDetails.cpp | 65 void RenderDetails::removeChild(RenderObject* oldChild) 67 if (oldChild == m_summaryBlock) { 68 RenderBlock::removeChild(oldChild); 73 if (oldChild == m_contentBlock) { 74 RenderBlock::removeChild(oldChild); 79 if (oldChild == m_mainSummary && m_summaryBlock) { 85 m_contentBlock->removeChild(oldChild);
|
/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);
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/ |
AMultipleCommand.java | 78 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) 83 if(i.next() == oldChild) 89 oldChild.parent(null); 94 oldChild.parent(null);
|
ASequenceExpression.java | 78 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) 83 if(i.next() == oldChild) 89 oldChild.parent(null); 94 oldChild.parent(null);
|
AFunctionExpression.java | 115 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) 118 if(this._name_ == oldChild) 126 if(i.next() == oldChild) 132 oldChild.parent(null); 137 oldChild.parent(null);
|
ADefCommand.java | 183 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) 186 if(this._position_ == oldChild) 194 if(i.next() == oldChild) 200 oldChild.parent(null); 205 oldChild.parent(null); 212 if(i.next() == oldChild) 218 oldChild.parent(null); 223 oldChild.parent(null); 228 if(this._command_ == oldChild)
|
ACallCommand.java | 146 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) 149 if(this._position_ == oldChild) 157 if(i.next() == oldChild) 163 oldChild.parent(null); 168 oldChild.parent(null); 175 if(i.next() == oldChild) 181 oldChild.parent(null); 186 oldChild.parent(null);
|
AOptimizedMultipleCommand.java | 40 void replaceChild(Node oldChild, Node newChild) { 46 if (commands[i] == oldChild) { 49 oldChild.parent(null);
|
/external/webkit/Source/JavaScriptCore/API/tests/ |
Node.h | 48 extern void Node_replaceChild(Node* node, Node* newChild, Node* oldChild);
|