OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:newChild
(Results
1 - 25
of
230
) sorted by null
1
2
3
4
5
6
7
8
9
10
/external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderObjectChildList.cpp
114
void RenderObjectChildList::insertChildNode(RenderObject* owner, RenderObject*
newChild
, RenderObject* beforeChild, bool notifyRenderer)
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
->setNextSibling(beforeChild)
[
all
...]
RenderObjectChildList.h
54
void insertChildNode(RenderObject* owner, RenderObject*
newChild
, RenderObject* beforeChild, bool notifyRenderer = true);
55
void appendChildNode(RenderObject* owner, RenderObject*
newChild
, bool notifyRenderer = true)
57
insertChildNode(owner,
newChild
, 0, notifyRenderer);
CounterNode.cpp
237
void CounterNode::insertAfter(CounterNode*
newChild
, CounterNode* refChild, const AtomicString& identifier)
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
->m_previousSibling = refChild
[
all
...]
/external/apache-xml/src/main/java/org/apache/xalan/templates/
ElemText.java
123
* @param
newChild
Child to add to children list
129
public ElemTemplateElement appendChild(ElemTemplateElement
newChild
)
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
);
ElemAttributeSet.java
138
* @param
newChild
Child to be added to this node's list of children
144
public ElemTemplateElement appendChildElem(ElemTemplateElement
newChild
)
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
);
ElemChoose.java
128
* @param
newChild
Child to add to this node's child list
134
public ElemTemplateElement appendChild(ElemTemplateElement
newChild
)
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
);
ElemComment.java
97
* @param
newChild
Child to add to this node's child list
103
public ElemTemplateElement appendChild(ElemTemplateElement
newChild
)
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
);
ElemApplyImport.java
98
* @param
newChild
New element to append to this element's children list
102
public ElemTemplateElement appendChild(ElemTemplateElement
newChild
)
106
new Object[]{
newChild
.getNodeName(),
107
this.getNodeName() }); //"Can not add " +((ElemTemplateElement)
newChild
).m_elemName +
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
hc_nodeappendchildgetnodename.java
31
* The "appendChild(
newChild
)" method returns the node
68
Node
newChild
;
75
newChild
= doc.createElement("br");
76
appendNode = employeeNode.appendChild(
newChild
);
hc_nodeappendchildinvalidnodetype.java
31
* The "appendChild(
newChild
)" method raises a
33
* a type that does not allow children of the type "
newChild
"
71
Node
newChild
;
75
newChild
= doc.createAttribute("newAttribute");
80
appendedChild = rootNode.appendChild(
newChild
);
nodeappendchildgetnodename.java
31
* The "appendChild(
newChild
)" method returns the node
36
* "getNodeName()" method should return "
newChild
".
68
Node
newChild
;
75
newChild
= doc.createElement("
newChild
");
76
appendNode = employeeNode.appendChild(
newChild
);
78
assertEquals("nodeAppendChildGetNodeNameAssert1", "
newChild
", childName);
nodeappendchildinvalidnodetype.java
31
* The "appendChild(
newChild
)" method raises a
33
* a type that does not allow children of the type "
newChild
"
72
Node
newChild
;
76
newChild
= doc.createAttribute("newAttribute");
81
appendedChild = rootNode.appendChild(
newChild
);
nodeappendchildnodeancestor.java
31
* The "appendChild(
newChild
)" method raises a
70
Node
newChild
;
75
newChild
= doc.getDocumentElement();
82
appendedChild = employeeNode.appendChild(
newChild
);
nodeappendchildchildexists.java
31
* If the "
newChild
" is already in the tree, it is first
36
* the "appendChild(
newChild
)" method is invoked the first
68
Node
newChild
;
78
newChild
= childNode.getFirstChild();
79
initialName =
newChild
.getNodeName();
80
appendedChild = childNode.appendChild(
newChild
);
attrreplacechild1.java
65
Node
newChild
;
74
newChild
= doc.createTextNode("Yesterday");
79
removedNode = attrNode.replaceChild(
newChild
, textNode);
hc_attrappendchild2.java
64
Node
newChild
;
72
newChild
= doc.createElement("terday");
77
retval = titleAttr.appendChild(
newChild
);
/external/chromium_org/third_party/WebKit/Source/core/dom/
ContainerNode.cpp
107
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
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
)) {
[
all
...]
/external/chromium_org/third_party/WebKit/Source/wtf/
TreeNode.h
71
void insertBefore(NodeType*
newChild
, NodeType* refChild)
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/
AMultipleCommand.java
78
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node
newChild
)
85
if(
newChild
!= null)
87
i.set((PCommand)
newChild
);
88
newChild
.parent(this);
AOptimizedMultipleCommand.java
40
void replaceChild(Node oldChild, Node
newChild
) {
41
if (
newChild
== null) {
42
throw new IllegalArgumentException("
newChild
cannot be null.");
47
commands[i] = (PCommand)
newChild
;
48
newChild
.parent(this);
ASequenceExpression.java
78
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node
newChild
)
85
if(
newChild
!= null)
87
i.set((PExpression)
newChild
);
88
newChild
.parent(this);
AFunctionExpression.java
115
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node
newChild
)
120
setName((PVariable)
newChild
);
128
if(
newChild
!= null)
130
i.set((PExpression)
newChild
);
131
newChild
.parent(this);
ADefCommand.java
183
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node
newChild
)
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
);
ACallCommand.java
146
void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node
newChild
)
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);
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
InnerNodeImpl.java
51
public Node appendChild(Node
newChild
) throws DOMException {
52
return insertChildAt(
newChild
, children.size());
85
public Node insertBefore(Node
newChild
, Node refChild) throws DOMException {
89
return appendChild(
newChild
);
100
return insertChildAt(
newChild
, refChildImpl.index);
104
* Inserts {@code
newChild
} at {@code index}. If it is already child of
107
Node insertChildAt(Node
newChild
, int index) throws DOMException {
108
if (
newChild
instanceof DocumentFragment) {
109
NodeList toAdd =
newChild
.getChildNodes();
113
return
newChild
;
[
all
...]
Completed in 698 milliseconds
1
2
3
4
5
6
7
8
9
10