Searched refs:oldChild (Results 26 - 50 of 157) sorted by relevance

1234567

/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/
H A DASequenceExpression.java78 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) argument
83 if(i.next() == oldChild)
89 oldChild.parent(null);
94 oldChild.parent(null);
H A DAFunctionExpression.java115 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) argument
118 if(this._name_ == oldChild)
126 if(i.next() == oldChild)
132 oldChild.parent(null);
137 oldChild.parent(null);
H A DADefCommand.java183 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) argument
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)
H A DACallCommand.java146 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) argument
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);
H A DAOptimizedMultipleCommand.java40 void replaceChild(Node oldChild, Node newChild) { argument
46 if (commands[i] == oldChild) {
49 oldChild.parent(null);
H A DAEachCommand.java194 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) argument
197 if(this._position_ == oldChild)
203 if(this._variable_ == oldChild)
209 if(this._expression_ == oldChild)
215 if(this._command_ == oldChild)
H A DAIfCommand.java194 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) argument
197 if(this._position_ == oldChild)
203 if(this._expression_ == oldChild)
209 if(this._block_ == oldChild)
215 if(this._otherwise_ == oldChild)
H A DALoopToCommand.java194 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) argument
197 if(this._position_ == oldChild)
203 if(this._variable_ == oldChild)
209 if(this._expression_ == oldChild)
215 if(this._command_ == oldChild)
H A DAWithCommand.java194 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) argument
197 if(this._position_ == oldChild)
203 if(this._variable_ == oldChild)
209 if(this._expression_ == oldChild)
215 if(this._command_ == oldChild)
H A DALoopIncCommand.java268 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) argument
271 if(this._position_ == oldChild)
277 if(this._variable_ == oldChild)
283 if(this._start_ == oldChild)
289 if(this._end_ == oldChild)
295 if(this._increment_ == oldChild)
301 if(this._command_ == oldChild)
H A DALoopCommand.java231 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) argument
234 if(this._position_ == oldChild)
240 if(this._variable_ == oldChild)
246 if(this._start_ == oldChild)
252 if(this._end_ == oldChild)
258 if(this._command_ == oldChild)
/external/webkit/LayoutTests/dom/html/level1/core/
H A Dhc_nodereplacechildnewchildexists.js94 var oldChild = null;
122 oldChild = childList.item(5);
123 replacedChild = employeeNode.replaceChild(newChild,oldChild);
124 assertSame("return_value_same",oldChild,replacedChild);
H A Dhc_noderemovechildnode.js78 The "removeChild(oldChild)" method removes the node
79 indicated by "oldChild".
98 var oldChild;
125 oldChild = emList.item(0);
126 removedChild = employeeNode.removeChild(oldChild);
H A Dhc_nodereplacechildnewchilddiffdocument.js84 The "replaceChild(newChild,oldChild)" method raises a
106 var oldChild;
126 oldChild = elementNode.firstChild;
132 replacedChild = elementNode.replaceChild(newChild,oldChild);
/external/webkit/LayoutTests/dom/xhtml/level1/core/
H A Dhc_nodereplacechildnewchildexists.js94 var oldChild = null;
122 oldChild = childList.item(5);
123 replacedChild = employeeNode.replaceChild(newChild,oldChild);
124 assertSame("return_value_same",oldChild,replacedChild);
H A Dhc_noderemovechildnode.js78 The "removeChild(oldChild)" method removes the node
79 indicated by "oldChild".
98 var oldChild;
125 oldChild = emList.item(0);
126 removedChild = employeeNode.removeChild(oldChild);
H A Dhc_nodereplacechildnewchilddiffdocument.js84 The "replaceChild(newChild,oldChild)" method raises a
106 var oldChild;
126 oldChild = elementNode.firstChild;
132 replacedChild = elementNode.replaceChild(newChild,oldChild);
/external/webkit/LayoutTests/dom/xhtml/level3/core/
H A Dnodereplacechild37.js98 var oldChild;
116 oldChild = doc.createTextNode("Text");
118 appendedChild = parent.appendChild(oldChild);
123 replaced = parent.replaceChild(newChild,oldChild);
H A Ddocumentnormalizedocument08.js96 var oldChild;
117 oldChild = elem.firstChild;
119 retval = elem.replaceChild(newChild,oldChild);
H A Dhandleerror01.js125 var oldChild;
142 oldChild = elem.firstChild;
145 retval = elem.replaceChild(newChild,oldChild);
/external/webkit/Source/WebCore/rendering/
H A DRenderDetails.cpp65 void RenderDetails::removeChild(RenderObject* oldChild) argument
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);
H A DCounterNode.cpp268 void CounterNode::removeChild(CounterNode* oldChild) argument
270 ASSERT(oldChild);
271 ASSERT(!oldChild->m_firstChild);
272 ASSERT(!oldChild->m_lastChild);
274 CounterNode* next = oldChild->m_nextSibling;
275 CounterNode* previous = oldChild->m_previousSibling;
277 oldChild->m_nextSibling = 0;
278 oldChild->m_previousSibling = 0;
279 oldChild->m_parent = 0;
284 ASSERT(m_firstChild == oldChild);
[all...]
/external/webkit/Source/JavaScriptCore/API/tests/
H A DNode.h48 extern void Node_replaceChild(Node* node, Node* newChild, Node* oldChild);
/external/chromium/chrome/common/extensions/docs/examples/extensions/benchmark/jst/
H A Dutil.js396 * @param {Node} oldChild Sibling node.
399 function domInsertBefore(newChild, oldChild) {
400 return oldChild.parentNode.insertBefore(newChild, oldChild);
407 * @param {Node} oldChild Old child to remove.
410 function domReplaceChild(newChild, oldChild) {
411 return oldChild.parentNode.replaceChild(newChild, oldChild);
/external/chromium/chrome/common/extensions/docs/examples/extensions/irc/servlet/jstemplate/
H A Dutil.js396 * @param {Node} oldChild Sibling node.
399 function domInsertBefore(newChild, oldChild) {
400 return oldChild.parentNode.insertBefore(newChild, oldChild);
407 * @param {Node} oldChild Old child to remove.
410 function domReplaceChild(newChild, oldChild) {
411 return oldChild.parentNode.replaceChild(newChild, oldChild);

Completed in 271 milliseconds

1234567