/external/webkit/Source/WebCore/rendering/ |
D | CounterNode.cpp | 192 void CounterNode::insertAfter(CounterNode* newChild, CounterNode* refChild, const AtomicString& ide… in insertAfter() argument 194 ASSERT(newChild); in insertAfter() 195 ASSERT(!newChild->m_parent); in insertAfter() 196 ASSERT(!newChild->m_previousSibling); in insertAfter() 197 ASSERT(!newChild->m_nextSibling); in insertAfter() 200 if (newChild->m_hasResetType) { in insertAfter() 209 refChild->m_nextSibling = newChild; in insertAfter() 212 m_firstChild = newChild; in insertAfter() 215 newChild->m_parent = this; in insertAfter() 216 newChild->m_previousSibling = refChild; in insertAfter() [all …]
|
D | RenderObjectChildList.cpp | 141 void RenderObjectChildList::appendChildNode(RenderObject* owner, RenderObject* newChild, bool fullA… in appendChildNode() argument 143 ASSERT(newChild->parent() == 0); in appendChildNode() 144 …ASSERT(!owner->isBlockFlow() || (!newChild->isTableSection() && !newChild->isTableRow() && !newChi… in appendChildNode() 146 newChild->setParent(owner); in appendChildNode() 150 newChild->setPreviousSibling(lChild); in appendChildNode() 151 lChild->setNextSibling(newChild); in appendChildNode() 153 setFirstChild(newChild); in appendChildNode() 155 setLastChild(newChild); in appendChildNode() 161 if (newChild->firstChild() || newChild->hasLayer()) { in appendChildNode() 163 newChild->addLayers(layer, newChild); in appendChildNode() [all …]
|
/external/webkit/Source/WebCore/bindings/cpp/ |
D | WebDOMNodeCustom.cpp | 28 WebDOMNode WebDOMNode::insertBefore(const WebDOMNode& newChild, const WebDOMNode& refChild) in insertBefore() argument 34 if (impl()->insertBefore(toWebCore(newChild), toWebCore(refChild), ec, true)) in insertBefore() 35 return newChild; in insertBefore() 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() 67 WebDOMNode WebDOMNode::appendChild(const WebDOMNode& newChild) in appendChild() argument 73 if (impl()->appendChild(toWebCore(newChild), ec, true)) in appendChild() 74 return newChild; in appendChild()
|
/external/webkit/LayoutTests/dom/xhtml/level3/core/ |
D | documentnormalizedocument06.js | 108 var newChild; 140 newChild = doc.createCDATASection("this is not ]]> good"); 143 retval = elem.replaceChild(newChild,oldChild); 149 newChild = elem.firstChild; 151 nodeValue = newChild.nodeValue; 153 nodeType = newChild.nodeType; 173 assertSame("relatedData",newChild,relatedData); 188 assertSame("relatedNode",newChild,problemNode);
|
D | handleerror01.js | 124 var newChild; 144 newChild = doc.createCDATASection("this is not ]]> good"); 145 retval = elem.replaceChild(newChild,oldChild); 146 newChild = doc.createCDATASection("this is not ]]> bad"); 147 retval = elem.appendChild(newChild);
|
D | documentnormalizedocument08.js | 95 var newChild; 116 newChild = doc.createCDATASection("this is not ]]> good"); 119 retval = elem.replaceChild(newChild,oldChild); 120 newChild = doc.createCDATASection("this is not ]]> good"); 121 retval = elem.appendChild(newChild);
|
/external/webkit/Source/WebCore/dom/ |
D | ContainerNode.cpp | 103 bool ContainerNode::insertBefore(PassRefPtr<Node> newChild, Node* refChild, ExceptionCode& ec, bool… in insertBefore() argument 113 return appendChild(newChild, ec, shouldLazyAttach); in insertBefore() 116 checkAddChild(newChild.get(), ec); in insertBefore() 127 collectTargetNodes(newChild.get(), targets); in insertBefore() 132 if (refChild->previousSibling() == newChild || refChild == newChild) // nothing to do in insertBefore() 189 void ContainerNode::insertBeforeCommon(Node* nextChild, Node* newChild) in insertBeforeCommon() argument 191 ASSERT(newChild); in insertBeforeCommon() 192 …ASSERT(!newChild->parentNode()); // Use insertBefore if you need to handle reparenting (and want D… in insertBeforeCommon() 193 ASSERT(!newChild->nextSibling()); in insertBeforeCommon() 194 ASSERT(!newChild->previousSibling()); in insertBeforeCommon() [all …]
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/ |
D | ADefCommand.java | 183 … replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) in replaceChild() argument 188 setPosition((PPosition) newChild); in replaceChild() 196 if(newChild != null) in replaceChild() 198 i.set((TWord) newChild); in replaceChild() 199 newChild.parent(this); in replaceChild() 214 if(newChild != null) in replaceChild() 216 i.set((PVariable) newChild); in replaceChild() 217 newChild.parent(this); in replaceChild() 230 setCommand((PCommand) newChild); in replaceChild()
|
D | ACallCommand.java | 146 … replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) in replaceChild() argument 151 setPosition((PPosition) newChild); in replaceChild() 159 if(newChild != null) in replaceChild() 161 i.set((TWord) newChild); in replaceChild() 162 newChild.parent(this); in replaceChild() 177 if(newChild != null) in replaceChild() 179 i.set((PExpression) newChild); in replaceChild() 180 newChild.parent(this); in replaceChild()
|
D | ALoopIncCommand.java | 268 … replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) in replaceChild() argument 273 setPosition((PPosition) newChild); in replaceChild() 279 setVariable((PVariable) newChild); in replaceChild() 285 setStart((PExpression) newChild); in replaceChild() 291 setEnd((PExpression) newChild); in replaceChild() 297 setIncrement((PExpression) newChild); in replaceChild() 303 setCommand((PCommand) newChild); in replaceChild()
|
D | AFunctionExpression.java | 115 … replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) in replaceChild() argument 120 setName((PVariable) newChild); in replaceChild() 128 if(newChild != null) in replaceChild() 130 i.set((PExpression) newChild); in replaceChild() 131 newChild.parent(this); in replaceChild()
|
D | AOptimizedMultipleCommand.java | 40 void replaceChild(Node oldChild, Node newChild) { in replaceChild() argument 41 if (newChild == null) { in replaceChild() 47 commands[i] = (PCommand) newChild; in replaceChild() 48 newChild.parent(this); in replaceChild()
|
D | ALoopCommand.java | 231 … replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) in replaceChild() argument 236 setPosition((PPosition) newChild); in replaceChild() 242 setVariable((PVariable) newChild); in replaceChild() 248 setStart((PExpression) newChild); in replaceChild() 254 setEnd((PExpression) newChild); in replaceChild() 260 setCommand((PCommand) newChild); in replaceChild()
|
D | ASequenceExpression.java | 78 … replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) in replaceChild() argument 85 if(newChild != null) in replaceChild() 87 i.set((PExpression) newChild); in replaceChild() 88 newChild.parent(this); in replaceChild()
|
D | AMultipleCommand.java | 78 … replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) in replaceChild() argument 85 if(newChild != null) in replaceChild() 87 i.set((PCommand) newChild); in replaceChild() 88 newChild.parent(this); in replaceChild()
|
D | ALoopToCommand.java | 194 … replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) in replaceChild() argument 199 setPosition((PPosition) newChild); in replaceChild() 205 setVariable((PVariable) newChild); in replaceChild() 211 setExpression((PExpression) newChild); in replaceChild() 217 setCommand((PCommand) newChild); in replaceChild()
|
D | AIfCommand.java | 194 … replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) in replaceChild() argument 199 setPosition((PPosition) newChild); in replaceChild() 205 setExpression((PExpression) newChild); in replaceChild() 211 setBlock((PCommand) newChild); in replaceChild() 217 setOtherwise((PCommand) newChild); in replaceChild()
|
/external/markdown/markdown/ |
D | treeprocessors.py | 130 for newChild in childResult: 131 node.insert(pos, newChild) 284 for newChild in lst: 286 if newChild.tail: 287 newChild.tail = \ 288 markdown.inlinepatterns.handleAttributes(newChild.tail, 290 if newChild.text: 291 newChild.text = \ 292 markdown.inlinepatterns.handleAttributes(newChild.text, 293 newChild) [all …]
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
D | ElemText.java | 129 public ElemTemplateElement appendChild(ElemTemplateElement newChild) in appendChild() argument 132 int type = ((ElemTemplateElement) newChild).getXSLToken(); in appendChild() 140 new Object[]{ newChild.getNodeName(), in appendChild() 146 return super.appendChild(newChild); in appendChild()
|
D | ElemComment.java | 103 public ElemTemplateElement appendChild(ElemTemplateElement newChild) in appendChild() argument 106 int type = ((ElemTemplateElement) newChild).getXSLToken(); in appendChild() 135 new Object[]{ newChild.getNodeName(), in appendChild() 141 return super.appendChild(newChild); in appendChild()
|
D | ElemTemplateElement.java | 254 public Node appendChild(Node newChild) throws DOMException in appendChild() argument 257 if (null == newChild) in appendChild() 262 ElemTemplateElement elem = (ElemTemplateElement) newChild; in appendChild() 277 return newChild; in appendChild() 394 public Node replaceChild(Node newChild, Node oldChild) throws DOMException in replaceChild() argument 400 ElemTemplateElement newChildElem = ((ElemTemplateElement) newChild); in replaceChild() 434 public Node insertBefore(Node newChild, Node refChild) throws DOMException in insertBefore() argument 438 appendChild(newChild); in insertBefore() 439 return newChild; in insertBefore() 442 if(newChild == refChild) in insertBefore() [all …]
|
D | ElemAttributeSet.java | 144 public ElemTemplateElement appendChildElem(ElemTemplateElement newChild) in appendChildElem() argument 147 int type = ((ElemTemplateElement) newChild).getXSLToken(); in appendChildElem() 155 new Object[]{ newChild.getNodeName(), in appendChildElem() 161 return super.appendChild(newChild); in appendChildElem()
|
D | ElemChoose.java | 134 public ElemTemplateElement appendChild(ElemTemplateElement newChild) in appendChild() argument 137 int type = ((ElemTemplateElement) newChild).getXSLToken(); in appendChild() 148 new Object[]{ newChild.getNodeName(), in appendChild() 154 return super.appendChild(newChild); in appendChild()
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
D | ITreeFixture.cs | 257 CommonTree newChild = new CommonTree(new CommonToken(5)); in testReplaceWithNoChildren() 261 t.ReplaceChildren(0, 0, newChild); in testReplaceWithNoChildren() 278 CommonTree newChild = new CommonTree(new CommonToken(99, "c")); in testReplaceWithOneChildren() 279 t.ReplaceChildren(0, 0, newChild); in testReplaceWithOneChildren() 293 CommonTree newChild = new CommonTree(new CommonToken(99, "x")); in testReplaceInMiddle() 294 t.ReplaceChildren(1, 1, newChild); in testReplaceInMiddle() 308 CommonTree newChild = new CommonTree(new CommonToken(99, "x")); in testReplaceAtLeft() 309 t.ReplaceChildren(0, 0, newChild); in testReplaceAtLeft() 323 CommonTree newChild = new CommonTree(new CommonToken(99, "x")); in testReplaceAtRight() 324 t.ReplaceChildren(2, 2, newChild); in testReplaceAtRight() [all …]
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
D | TestTrees.java | 240 CommonTree newChild = new CommonTree(new CommonToken(5)); in testReplaceWithNoChildren() local 243 t.replaceChildren(0, 0, newChild); in testReplaceWithNoChildren() 257 CommonTree newChild = new CommonTree(new CommonToken(99, "c")); in testReplaceWithOneChildren() local 258 t.replaceChildren(0, 0, newChild); in testReplaceWithOneChildren() 270 CommonTree newChild = new CommonTree(new CommonToken(99,"x")); in testReplaceInMiddle() local 271 t.replaceChildren(1, 1, newChild); in testReplaceInMiddle() 283 CommonTree newChild = new CommonTree(new CommonToken(99,"x")); in testReplaceAtLeft() local 284 t.replaceChildren(0, 0, newChild); in testReplaceAtLeft() 296 CommonTree newChild = new CommonTree(new CommonToken(99,"x")); in testReplaceAtRight() local 297 t.replaceChildren(2, 2, newChild); in testReplaceAtRight() [all …]
|