/external/webkit/Source/WebCore/rendering/ |
D | RenderObjectChildList.cpp | 64 RenderObject* RenderObjectChildList::removeChildNode(RenderObject* owner, RenderObject* oldChild, b… in removeChildNode() argument 66 ASSERT(oldChild->parent() == owner); in removeChildNode() 71 if (!owner->documentBeingDestroyed() && fullRemove && oldChild->m_everHadLayout) { in removeChildNode() 72 oldChild->setNeedsLayoutAndPrefWidthsRecalc(); in removeChildNode() 73 if (oldChild->isBody()) in removeChildNode() 76 oldChild->repaint(); in removeChildNode() 80 if (oldChild->isBox()) in removeChildNode() 81 toRenderBox(oldChild)->deleteLineBoxWrapper(); in removeChildNode() 86 …if (owner->style()->visibility() != VISIBLE && oldChild->style()->visibility() == VISIBLE && !oldC… in removeChildNode() 92 if (oldChild->firstChild() || oldChild->hasLayer()) { in removeChildNode() [all …]
|
D | RenderDetails.cpp | 65 void RenderDetails::removeChild(RenderObject* oldChild) in removeChild() argument 67 if (oldChild == m_summaryBlock) { in removeChild() 68 RenderBlock::removeChild(oldChild); in removeChild() 73 if (oldChild == m_contentBlock) { in removeChild() 74 RenderBlock::removeChild(oldChild); in removeChild() 79 if (oldChild == m_mainSummary && m_summaryBlock) { in removeChild() 85 m_contentBlock->removeChild(oldChild); in removeChild()
|
D | CounterNode.cpp | 268 void CounterNode::removeChild(CounterNode* oldChild) in removeChild() argument 270 ASSERT(oldChild); in removeChild() 271 ASSERT(!oldChild->m_firstChild); in removeChild() 272 ASSERT(!oldChild->m_lastChild); in removeChild() 274 CounterNode* next = oldChild->m_nextSibling; in removeChild() 275 CounterNode* previous = oldChild->m_previousSibling; in removeChild() 277 oldChild->m_nextSibling = 0; in removeChild() 278 oldChild->m_previousSibling = 0; in removeChild() 279 oldChild->m_parent = 0; in removeChild() 284 ASSERT(m_firstChild == oldChild); in removeChild() [all …]
|
/external/webkit/LayoutTests/dom/xhtml/level3/core/ |
D | nodereplacechild30.js | 93 var oldChild; 110 oldChild = doc.createElementNS("http://www.w3.org/1999/xhtml","xhtml:head"); 112 appendedChild = parent.appendChild(oldChild); 124 replaced = parent.replaceChild(newElement,oldChild); 128 replaced = parent.replaceChild(oldChild,newElement); 132 replaced = parent.replaceChild(newText,oldChild); 136 replaced = parent.replaceChild(oldChild,newText); 140 replaced = parent.replaceChild(newComment,oldChild); 144 replaced = parent.replaceChild(oldChild,newComment); 148 replaced = parent.replaceChild(oldChild,newPI); [all …]
|
D | nodereplacechild38.js | 93 var oldChild; 113 oldChild = ent.firstChild; 115 assertNotNull("alphaText",oldChild); 121 replaced = ent.replaceChild(cdata,oldChild); 133 replaced = ent.replaceChild(pi,oldChild); 145 replaced = ent.replaceChild(comment,oldChild); 157 replaced = ent.replaceChild(txt,oldChild); 169 replaced = ent.replaceChild(elem,oldChild); 181 replaced = ent.replaceChild(entRef,oldChild);
|
D | nodereplacechild34.js | 90 var oldChild; 102 oldChild = doc.createEntityReference("delta"); 103 appendedChild = parent.appendChild(oldChild); 105 replaced = parent.replaceChild(newChild,oldChild);
|
D | nodereplacechild35.js | 90 var oldChild; 102 oldChild = doc.createEntityReference("delta"); 103 appendedChild = parent.appendChild(oldChild); 109 replaced = parent.replaceChild(newChild,oldChild);
|
D | nodereplacechild37.js | 98 var oldChild; 116 oldChild = doc.createTextNode("Text"); 118 appendedChild = parent.appendChild(oldChild); 123 replaced = parent.replaceChild(newChild,oldChild);
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/ |
D | ADefCommand.java | 183 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument 186 if(this._position_ == oldChild) in replaceChild() 194 if(i.next() == oldChild) in replaceChild() 200 oldChild.parent(null); in replaceChild() 205 oldChild.parent(null); in replaceChild() 212 if(i.next() == oldChild) in replaceChild() 218 oldChild.parent(null); in replaceChild() 223 oldChild.parent(null); in replaceChild() 228 if(this._command_ == oldChild) in replaceChild()
|
D | ACallCommand.java | 146 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument 149 if(this._position_ == oldChild) in replaceChild() 157 if(i.next() == oldChild) in replaceChild() 163 oldChild.parent(null); in replaceChild() 168 oldChild.parent(null); in replaceChild() 175 if(i.next() == oldChild) in replaceChild() 181 oldChild.parent(null); in replaceChild() 186 oldChild.parent(null); in replaceChild()
|
D | ALoopIncCommand.java | 268 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument 271 if(this._position_ == oldChild) in replaceChild() 277 if(this._variable_ == oldChild) in replaceChild() 283 if(this._start_ == oldChild) in replaceChild() 289 if(this._end_ == oldChild) in replaceChild() 295 if(this._increment_ == oldChild) in replaceChild() 301 if(this._command_ == oldChild) in replaceChild()
|
D | AFunctionExpression.java | 115 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument 118 if(this._name_ == oldChild) in replaceChild() 126 if(i.next() == oldChild) in replaceChild() 132 oldChild.parent(null); in replaceChild() 137 oldChild.parent(null); in replaceChild()
|
D | ALoopCommand.java | 231 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument 234 if(this._position_ == oldChild) in replaceChild() 240 if(this._variable_ == oldChild) in replaceChild() 246 if(this._start_ == oldChild) in replaceChild() 252 if(this._end_ == oldChild) in replaceChild() 258 if(this._command_ == oldChild) in replaceChild()
|
D | ASequenceExpression.java | 78 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument 83 if(i.next() == oldChild) in replaceChild() 89 oldChild.parent(null); in replaceChild() 94 oldChild.parent(null); in replaceChild()
|
D | AMultipleCommand.java | 78 …void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newC… in replaceChild() argument 83 if(i.next() == oldChild) in replaceChild() 89 oldChild.parent(null); in replaceChild() 94 oldChild.parent(null); in replaceChild()
|
/external/webkit/Source/WebCore/bindings/cpp/ |
D | WebDOMNodeCustom.cpp | 41 WebDOMNode WebDOMNode::replaceChild(const WebDOMNode& newChild, const WebDOMNode& oldChild) in replaceChild() argument 47 if (impl()->replaceChild(toWebCore(newChild), toWebCore(oldChild), ec, true)) in replaceChild() 48 return oldChild; in replaceChild() 54 WebDOMNode WebDOMNode::removeChild(const WebDOMNode& oldChild) in removeChild() argument 60 if (impl()->removeChild(toWebCore(oldChild), ec)) in removeChild() 61 return oldChild; in removeChild()
|
/external/webkit/Source/WebCore/dom/ |
D | ContainerNode.cpp | 244 bool ContainerNode::replaceChild(PassRefPtr<Node> newChild, Node* oldChild, ExceptionCode& ec, bool… in replaceChild() argument 252 if (oldChild == newChild) // nothing to do in replaceChild() 256 checkReplaceChild(newChild.get(), oldChild, ec); in replaceChild() 261 if (!oldChild || oldChild->parentNode() != this) { in replaceChild() 266 RefPtr<Node> prev = oldChild->previousSibling(); in replaceChild() 267 RefPtr<Node> next = oldChild->nextSibling(); in replaceChild() 270 RefPtr<Node> removedChild = oldChild; in replaceChild() 271 removeChild(oldChild, ec); in replaceChild() 401 bool ContainerNode::removeChild(Node* oldChild, ExceptionCode& ec) in removeChild() argument 416 if (!oldChild || oldChild->parentNode() != this) { in removeChild() [all …]
|
/external/webkit/LayoutTests/dom/html/level1/core/ |
D | hc_nodereplacechildinvalidnodetype.js | 104 var oldChild; 114 oldChild = elementList.item(1); 115 rootNode = oldChild.parentNode; 121 replacedChild = rootNode.replaceChild(newChild,oldChild);
|
D | hc_noderemovechildgetnodename.js | 98 var oldChild; 112 oldChild = childList.item(0); 113 oldName = oldChild.nodeName; 115 removedChild = employeeNode.removeChild(oldChild);
|
D | hc_nodereplacechildnewchildexists.js | 94 var oldChild = null; 122 oldChild = childList.item(5); 123 replacedChild = employeeNode.replaceChild(newChild,oldChild); 124 assertSame("return_value_same",oldChild,replacedChild);
|
/external/webkit/LayoutTests/dom/xhtml/level1/core/ |
D | hc_nodereplacechildinvalidnodetype.js | 104 var oldChild; 114 oldChild = elementList.item(1); 115 rootNode = oldChild.parentNode; 121 replacedChild = rootNode.replaceChild(newChild,oldChild);
|
D | hc_noderemovechildgetnodename.js | 98 var oldChild; 112 oldChild = childList.item(0); 113 oldName = oldChild.nodeName; 115 removedChild = employeeNode.removeChild(oldChild);
|
D | hc_nodereplacechildnewchildexists.js | 94 var oldChild = null; 122 oldChild = childList.item(5); 123 replacedChild = employeeNode.replaceChild(newChild,oldChild); 124 assertSame("return_value_same",oldChild,replacedChild);
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/benchmark/jst/ |
D | util.js | 399 function domInsertBefore(newChild, oldChild) { argument 400 return oldChild.parentNode.insertBefore(newChild, oldChild); 410 function domReplaceChild(newChild, oldChild) { argument 411 return oldChild.parentNode.replaceChild(newChild, oldChild);
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/irc/servlet/jstemplate/ |
D | util.js | 399 function domInsertBefore(newChild, oldChild) { argument 400 return oldChild.parentNode.insertBefore(newChild, oldChild); 410 function domReplaceChild(newChild, oldChild) { argument 411 return oldChild.parentNode.replaceChild(newChild, oldChild);
|