HomeSort by relevance Sort by last modified time
    Searched defs:newChild (Results 1 - 25 of 84) sorted by null

1 2 3 4

  /external/webkit/Source/WebCore/bindings/v8/custom/
V8NodeCustom.cpp 67 Node* newChild = V8Node::HasInstance(args[0]) ? V8Node::toNative(v8::Handle<v8::Object>::Cast(args[0])) : 0;
69 bool success = imp->insertBefore(newChild, refChild, ec, true);
86 Node* newChild = V8Node::HasInstance(args[0]) ? V8Node::toNative(v8::Handle<v8::Object>::Cast(args[0])) : 0;
88 bool success = imp->replaceChild(newChild, oldChild, ec, true);
122 Node* newChild = V8Node::HasInstance(args[0]) ? V8Node::toNative(v8::Handle<v8::Object>::Cast(args[0])) : 0;
123 bool success = imp->appendChild(newChild, ec, true );
  /external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/
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);
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);
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);
  /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);
hc_nodeappendchildnewchilddiffdocument.java 31 * The "appendChild(newChild)" method raises a
32 * WRONG_DOCUMENT_ERR DOMException if the "newChild" was
72 Node newChild;
78 newChild = doc1.createElement("br");
85 appendedChild = elementNode.appendChild(newChild);
hc_nodeinsertbeforeinvalidnodetype.java 31 * The "insertBefore(newChild,refChild)" method raises a
33 * a type that does not allow children of the type "newChild"
73 Node newChild;
78 newChild = doc.createAttribute("title");
86 insertedNode = rootNode.insertBefore(newChild, refChild);
hc_nodeinsertbeforerefchildnonexistent.java 31 * The "insertBefore(newChild,refChild)" method raises a
71 Node newChild;
76 newChild = doc.createElement("br");
84 insertedNode = elementNode.insertBefore(newChild, refChild);
hc_nodereplacechildinvalidnodetype.java 31 * The "replaceChild(newChild,oldChild)" method raises a
33 * a type that does not allow children of the type "newChild"
73 Node newChild;
78 newChild = doc.createAttribute("lang");
86 replacedChild = rootNode.replaceChild(newChild, oldChild);
hc_nodereplacechildoldchildnonexistent.java 31 * The "replaceChild(newChild,oldChild)" method raises a
69 Node newChild;
74 newChild = doc.createElement("br");
82 replacedNode = elementNode.replaceChild(newChild, oldChild);
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);
nodeappendchildnewchilddiffdocument.java 31 * The "appendChild(newChild)" method raises a
32 * WRONG_DOCUMENT_ERR DOMException if the "newChild" was
73 Node newChild;
79 newChild = doc1.createElement("newChild");
86 appendedChild = elementNode.appendChild(newChild);
nodeappendchildnodeancestor.java 31 * The "appendChild(newChild)" method raises a
70 Node newChild;
75 newChild = doc.getDocumentElement();
82 appendedChild = employeeNode.appendChild(newChild);
nodeinsertbeforeinvalidnodetype.java 31 * The "insertBefore(newChild,refChild)" method raises a
33 * a type that does not allow children of the type "newChild"
72 Node newChild;
78 newChild = doc.createAttribute("newAttribute");
85 insertedNode = rootNode.insertBefore(newChild, refChild);
nodeinsertbeforerefchildnonexistent.java 31 * The "insertBefore(newChild,refChild)" method raises a
71 Node newChild;
76 newChild = doc.createElement("newChild");
84 insertedNode = elementNode.insertBefore(newChild, refChild);
nodereplacechildinvalidnodetype.java 31 * The "replaceChild(newChild,oldChild)" method raises a
33 * a type that does not allow children of the type "newChild"
72 Node newChild;
78 newChild = doc.createAttribute("newAttribute");
85 replacedChild = rootNode.replaceChild(newChild, oldChild);
nodereplacechildoldchildnonexistent.java 31 * The "replaceChild(newChild,oldChild)" method raises a
70 Node newChild;
75 newChild = doc.createElement("newChild");
83 replacedNode = elementNode.replaceChild(newChild, oldChild);
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);
hc_nodeappendchildchildexists.java 31 * If the "newChild" is already in the tree, it is first
36 * the "appendChild(newChild)" method is invoked the first
69 Node newChild;
90 newChild = childList.item(0);
91 appendedChild = childNode.appendChild(newChild);
hc_nodeappendchildnodeancestor.java 31 * The "appendChild(newChild)" method raises a
68 Node newChild;
75 newChild = doc.getDocumentElement();
82 appendedChild = employeeNode.appendChild(newChild);
hc_nodeinsertbefore.java 31 * The "insertBefore(newChild,refChild)" method inserts the
32 * node "newChild" before the node "refChild".
35 * sup element in the document and check the "newChild"
70 Node newChild;
91 newChild = doc.createElement("br");
92 insertedNode = employeeNode.insertBefore(newChild, refChild);
  /external/webkit/Source/JavaScriptCore/API/tests/
JSNode.c 87 Node* newChild = JSObjectGetPrivate(JSValueToObject(context, arguments[0], exception));
90 Node_replaceChild(node, newChild, oldChild);

Completed in 241 milliseconds

1 2 3 4