Searched refs:newChild (Results 1 - 25 of 161) sorted by relevance

1234567

/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderObjectChildList.cpp114 void RenderObjectChildList::insertChildNode(RenderObject* owner, RenderObject* newChild, RenderObject* beforeChild, bool notifyRenderer) argument
116 ASSERT(!newChild->parent());
117 ASSERT(!owner->isRenderBlockFlow() || (!newChild->isTableSection() && !newChild->isTableRow() && !newChild->isTableCell()));
130 newChild->setParent(owner);
133 setFirstChild(newChild);
138 previousSibling->setNextSibling(newChild);
139 newChild->setPreviousSibling(previousSibling);
140 newChild
[all...]
H A DCounterNode.cpp237 void CounterNode::insertAfter(CounterNode* newChild, CounterNode* refChild, const AtomicString& identifier) argument
239 ASSERT(newChild);
240 ASSERT(!newChild->m_parent);
241 ASSERT(!newChild->m_previousSibling);
242 ASSERT(!newChild->m_nextSibling);
248 if (newChild->m_hasResetType) {
257 refChild->m_nextSibling = newChild;
260 m_firstChild = newChild;
263 newChild->m_parent = this;
264 newChild
[all...]
H A DRenderObjectChildList.h54 void insertChildNode(RenderObject* owner, RenderObject* newChild, RenderObject* beforeChild, bool notifyRenderer = true);
55 void appendChildNode(RenderObject* owner, RenderObject* newChild, bool notifyRenderer = true) argument
57 insertChildNode(owner, newChild, 0, notifyRenderer);
/external/apache-xml/src/main/java/org/apache/xalan/templates/
H A DElemText.java123 * @param newChild Child to add to children list
129 public ElemTemplateElement appendChild(ElemTemplateElement newChild) argument
132 int type = ((ElemTemplateElement) newChild).getXSLToken();
140 new Object[]{ newChild.getNodeName(),
141 this.getNodeName() }); //"Can not add " +((ElemTemplateElement)newChild).m_elemName +
146 return super.appendChild(newChild);
H A DElemAttributeSet.java138 * @param newChild Child to be added to this node's list of children
144 public ElemTemplateElement appendChildElem(ElemTemplateElement newChild) argument
147 int type = ((ElemTemplateElement) newChild).getXSLToken();
155 new Object[]{ newChild.getNodeName(),
156 this.getNodeName() }); //"Can not add " +((ElemTemplateElement)newChild).m_elemName +
161 return super.appendChild(newChild);
H A DElemChoose.java128 * @param newChild Child to add to this node's child list
134 public ElemTemplateElement appendChild(ElemTemplateElement newChild) argument
137 int type = ((ElemTemplateElement) newChild).getXSLToken();
148 new Object[]{ newChild.getNodeName(),
149 this.getNodeName() }); //"Can not add " +((ElemTemplateElement)newChild).m_elemName +
154 return super.appendChild(newChild);
H A DElemComment.java97 * @param newChild Child to add to this node's child list
103 public ElemTemplateElement appendChild(ElemTemplateElement newChild) argument
106 int type = ((ElemTemplateElement) newChild).getXSLToken();
135 new Object[]{ newChild.getNodeName(),
136 this.getNodeName() }); //"Can not add " +((ElemTemplateElement)newChild).m_elemName +
141 return super.appendChild(newChild);
H A DElemApplyImport.java98 * @param newChild New element to append to this element's children list
102 public ElemTemplateElement appendChild(ElemTemplateElement newChild) argument
106 new Object[]{ newChild.getNodeName(),
107 this.getNodeName() }); //"Can not add " +((ElemTemplateElement)newChild).m_elemName +
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DContainerNode.cpp107 bool ContainerNode::containsConsideringHostElements(const Node& newChild) const
110 return newChild.containsIncludingHostElements(*this);
111 return newChild.contains(this);
114 bool ContainerNode::checkAcceptChild(const Node* newChild, const Node* oldChild, ExceptionState& exceptionState) const argument
116 // Not mentioned in spec: throw NotFoundError if newChild is null
117 if (!newChild) {
123 if ((newChild->isElementNode() || newChild->isTextNode()) && isElementNode()) {
124 ASSERT(isChildTypeAllowed(*newChild));
125 if (containsConsideringHostElements(*newChild)) {
158 checkAcceptChildGuaranteedNodeTypes(const Node& newChild, ExceptionState& exceptionState) const argument
168 insertBefore(PassRefPtr<Node> newChild, Node* refChild, ExceptionState& exceptionState) argument
235 insertBeforeCommon(Node& nextChild, Node& newChild) argument
260 parserInsertBefore(PassRefPtr<Node> newChild, Node& nextChild) argument
284 replaceChild(PassRefPtr<Node> newChild, Node* oldChild, ExceptionState& exceptionState) argument
547 appendChild(PassRefPtr<Node> newChild, ExceptionState& exceptionState) argument
603 parserAppendChild(PassRefPtr<Node> newChild) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DTreeNode.h71 void insertBefore(NodeType* newChild, NodeType* refChild) argument
73 ASSERT(!newChild->parent());
74 ASSERT(!newChild->next());
75 ASSERT(!newChild->previous());
80 appendChild(newChild);
85 newChild->m_parent = here();
86 newChild->m_next = refChild;
87 newChild->m_previous = newPrevious;
88 refChild->m_previous = newChild;
90 newPrevious->m_next = newChild;
[all...]
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/
H A DAMultipleCommand.java78 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) argument
85 if(newChild != null)
87 i.set((PCommand) newChild);
88 newChild.parent(this);
H A DAOptimizedMultipleCommand.java40 void replaceChild(Node oldChild, Node newChild) { argument
41 if (newChild == null) {
42 throw new IllegalArgumentException("newChild cannot be null.");
47 commands[i] = (PCommand) newChild;
48 newChild.parent(this);
H A DASequenceExpression.java78 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) argument
85 if(newChild != null)
87 i.set((PExpression) newChild);
88 newChild.parent(this);
H A DAFunctionExpression.java115 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) argument
120 setName((PVariable) newChild);
128 if(newChild != null)
130 i.set((PExpression) newChild);
131 newChild.parent(this);
H A DADefCommand.java183 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) argument
188 setPosition((PPosition) newChild);
196 if(newChild != null)
198 i.set((TWord) newChild);
199 newChild.parent(this);
214 if(newChild != null)
216 i.set((PVariable) newChild);
217 newChild.parent(this);
230 setCommand((PCommand) newChild);
H A DACallCommand.java146 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) argument
151 setPosition((PPosition) newChild);
159 if(newChild != null)
161 i.set((TWord) newChild);
162 newChild.parent(this);
177 if(newChild != null)
179 i.set((PExpression) newChild);
180 newChild.parent(this);
H A DAEachCommand.java194 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) argument
199 setPosition((PPosition) newChild);
205 setVariable((PVariable) newChild);
211 setExpression((PExpression) newChild);
217 setCommand((PCommand) newChild);
H A DAIfCommand.java194 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) argument
199 setPosition((PPosition) newChild);
205 setExpression((PExpression) newChild);
211 setBlock((PCommand) newChild);
217 setOtherwise((PCommand) newChild);
H A DALoopToCommand.java194 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) argument
199 setPosition((PPosition) newChild);
205 setVariable((PVariable) newChild);
211 setExpression((PExpression) newChild);
217 setCommand((PCommand) newChild);
H A DAWithCommand.java194 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) argument
199 setPosition((PPosition) newChild);
205 setVariable((PVariable) newChild);
211 setExpression((PExpression) newChild);
217 setCommand((PCommand) newChild);
H A DALoopIncCommand.java268 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) argument
273 setPosition((PPosition) newChild);
279 setVariable((PVariable) newChild);
285 setStart((PExpression) newChild);
291 setEnd((PExpression) newChild);
297 setIncrement((PExpression) newChild);
303 setCommand((PCommand) newChild);
H A DALoopCommand.java231 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) argument
236 setPosition((PPosition) newChild);
242 setVariable((PVariable) newChild);
248 setStart((PExpression) newChild);
254 setEnd((PExpression) newChild);
260 setCommand((PCommand) newChild);
H A DAAddExpression.java120 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) argument
125 setLeft((PExpression) newChild);
131 setRight((PExpression) newChild);
H A DAAndExpression.java120 void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) argument
125 setLeft((PExpression) newChild);
131 setRight((PExpression) newChild);
/external/markdown/markdown/
H A Dtreeprocessors.py130 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...]

Completed in 413 milliseconds

1234567