Searched defs:newNode (Results 1 - 25 of 37) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DReplaceNodeWithSpanCommand.cpp51 static void swapInNodePreservingAttributesAndChildren(HTMLElement* newNode, HTMLElement& nodeToReplace) argument
55 parentNode->insertBefore(newNode, &nodeToReplace);
60 newNode->appendChild(children[i]);
63 newNode->cloneDataFromElement(nodeToReplace);
H A DReplaceSelectionCommand.cpp352 inline void ReplaceSelectionCommand::InsertedNodes::didReplaceNode(Node& node, Node& newNode) argument
355 m_firstNodeInserted = &newNode;
357 m_lastNodeInserted = &newNode;
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
H A DDTMNamedNodeMap.java146 * @param newNode node to store in this map. The node will later be
161 public Node setNamedItem(Node newNode) argument
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DSmartClip.cpp137 Node* SmartClip::minNodeContainsNodes(Node* minNode, Node* newNode) argument
139 if (!newNode)
142 return newNode;
145 IntRect newNodeRect = newNode->pixelSnappedBoundingBox();
148 Node* parentNewNode = newNode->parentNode();
159 return newNode;
/external/chromium_org/third_party/skia/src/pdf/
H A DSkPDFPage.cpp98 SkPDFDict* newNode = new SkPDFDict("Pages"); local
99 SkAutoTUnref<SkPDFObjRef> newNodeRef(new SkPDFObjRef(newNode));
131 newNode->insert(countName.get(), new SkPDFInt(pageCount))->unref();
132 newNode->insert(kidsName.get(), kids.get());
133 nextRoundNodes.push(newNode); // Transfer reference.
/external/skia/src/pdf/
H A DSkPDFPage.cpp98 SkPDFDict* newNode = new SkPDFDict("Pages"); local
99 SkAutoTUnref<SkPDFObjRef> newNodeRef(new SkPDFObjRef(newNode));
131 newNode->insert(countName.get(), new SkPDFInt(pageCount))->unref();
132 newNode->insert(kidsName.get(), kids.get());
133 nextRoundNodes.push(newNode); // Transfer reference.
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3basetree.c272 pANTLR3_BASE_TREE newNode; local
278 newNode = t->dupTree(t);
279 newTree->addChild(newTree, newNode);
/external/apache-harmony/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/
H A DMockAbstractPreferences.java52 boolean newNode) {
54 super.newNode = newNode;
201 return newNode;
51 MockAbstractPreferences(AbstractPreferences parent, String name, boolean newNode) argument
/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DDOMBuilder.java173 * @param newNode New node to append
175 protected void append(Node newNode) throws org.xml.sax.SAXException argument
183 currentNode.insertBefore(newNode, m_nextSibling);
185 currentNode.appendChild(newNode);
187 // System.out.println(newNode.getNodeName());
192 m_docFrag.insertBefore(newNode, m_nextSibling);
194 m_docFrag.appendChild(newNode);
199 short type = newNode.getNodeType();
203 String data = newNode.getNodeValue();
229 m_doc.insertBefore(newNode, m_nextSiblin
[all...]
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DDOMEditor.cpp240 Node* newNode() function in class:WebCore::DOMEditor::SetOuterHTMLAction
292 ReplaceChildNodeAction(Node* parentNode, PassRefPtr<Node> newNode, Node* oldNode) argument
295 , m_newNode(newNode)
381 bool DOMEditor::setOuterHTML(Node* node, const String& html, Node** newNode, ExceptionState& exceptionState) argument
387 *newNode = rawAction->newNode();
396 bool DOMEditor::replaceChild(Node* parentNode, PassRefPtr<Node> newNode, Node* oldNode, ExceptionState& exceptionState) argument
398 return m_history->perform(adoptPtr(new ReplaceChildNodeAction(parentNode, newNode, oldNode)), exceptionState);
444 bool DOMEditor::setOuterHTML(Node* node, const String& html, Node** newNode, ErrorString* errorString) argument
447 bool result = setOuterHTML(node, html, newNode, exceptionStat
[all...]
H A DDOMPatchSupport.cpp167 Node* newNode = newDigest->m_node; local
169 if (newNode->nodeType() != oldNode->nodeType() || newNode->nodeName() != oldNode->nodeName())
170 return m_domEditor->replaceChild(oldNode->parentNode(), newNode, oldNode, exceptionState);
172 if (oldNode->nodeValue() != newNode->nodeValue()) {
173 if (!m_domEditor->setNodeValue(oldNode, newNode->nodeValue(), exceptionState))
182 Element* newElement = toElement(newNode);
472 Node* newNode = newDigest->m_node; local
473 if (!m_domEditor->replaceChild(newNode->parentNode(), oldNode, newNode, exceptionStat
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dinttree.c317 IntervalTreeNode *x, *y, *newNode; local
322 newNode = x;
371 return newNode;
/external/dexmaker/src/dx/java/com/android/dx/ssa/
H A DEscapeAnalysis.java183 * newNode will have its old links as well as all links from the oldNode.
186 * @param newNode {@code non-null;} the EscapeSet to merge all links into
189 private void replaceNode(EscapeSet newNode, EscapeSet oldNode) { argument
192 e.childSets.add(newNode);
193 newNode.parentSets.add(e);
197 e.parentSets.add(newNode);
198 newNode.childSets.add(e);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderCounter.cpp312 RefPtr<CounterNode> newNode = CounterNode::create(object, isReset, value); local
314 newParent->insertAfter(newNode.get(), newPreviousSibling.get(), identifier);
323 nodeMap->set(identifier, newNode);
324 if (newNode->parent())
325 return newNode.get();
343 newNode->insertAfter(currentCounter, newNode->lastChild(), identifier);
345 return newNode.get();
/external/icu4c/common/
H A Dstringtriebuilder.cpp317 StringTrieBuilder::registerNode(Node *newNode, UErrorCode &errorCode) { argument
319 delete newNode;
322 if(newNode==NULL) {
326 const UHashElement *old=uhash_find(nodes, newNode);
328 delete newNode;
332 // registered node, then uhash_find() failed to find that and we will leak newNode.
336 uhash_puti(nodes, newNode, 1, &errorCode);
339 delete newNode;
342 return newNode;
355 Node *newNode local
[all...]
/external/chromium_org/third_party/angle/src/compiler/
H A DIntermediate.cpp474 // Add a new newNode for the conversion.
476 TIntermUnary* newNode = 0; local
513 newNode = new TIntermUnary(newOp, type);
514 newNode->setLine(node->getLine());
515 newNode->setOperand(node);
517 return newNode;
1389 TIntermConstantUnion *newNode = 0;
1414 newNode = new TIntermConstantUnion(tempConstArray, getType());
1415 newNode->setLine(getLine());
1416 return newNode;
[all...]
H A DParseContext.cpp1076 TIntermTyped *newNode; local
1081 newNode = constructStruct(node, &elementType, 1, node->getLine(), false);
1083 newNode = constructStruct(node, (*memberFields)->type(), 1, node->getLine(), false);
1085 newNode = constructBuiltIn(type, op, node, node->getLine(), false);
1087 if (newNode && newNode->getAsAggregate()) {
1088 TIntermTyped* constConstructor = foldConstConstructor(newNode->getAsAggregate(), *type);
1093 return newNode;
1112 newNode = constructStruct(*p, &elementType, paramCount+1, node->getLine(), true);
1114 newNode
1162 TIntermTyped* newNode; local
[all...]
/external/llvm/lib/Analysis/
H A DPathNumbering.cpp490 BallLarusNode* newNode = createNode(BB); local
491 _nodes.push_back(newNode);
492 return( newNode );
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DListHashSet.h152 void insertNodeBefore(Node* beforeNode, Node* newNode);
865 void ListHashSet<T, inlineCapacity, U>::insertNodeBefore(Node* beforeNode, Node* newNode) argument
868 return appendNode(newNode);
870 newNode->m_next = beforeNode;
871 newNode->m_prev = beforeNode->m_prev;
873 beforeNode->m_prev->m_next = newNode;
874 beforeNode->m_prev = newNode;
876 if (!newNode->m_prev)
877 m_head = newNode;
/external/chromium_org/third_party/icu/source/tools/ctestfw/
H A Dctest.c169 TestNode *newNode; local
171 newNode = (TestNode*)malloc(sizeof(TestNode) + (nameLen + 1));
173 newNode->test = NULL;
174 newNode->sibling = NULL;
175 newNode->child = NULL;
177 strncpy( newNode->name, name, nameLen );
178 newNode->name[nameLen] = 0;
180 return newNode;
203 TestNode *newNode; local
209 newNode
[all...]
/external/icu4c/tools/ctestfw/
H A Dctest.c169 TestNode *newNode; local
171 newNode = (TestNode*)malloc(sizeof(TestNode) + (nameLen + 1));
173 newNode->test = NULL;
174 newNode->sibling = NULL;
175 newNode->child = NULL;
177 strncpy( newNode->name, name, nameLen );
178 newNode->name[nameLen] = 0;
180 return newNode;
203 TestNode *newNode; local
209 newNode
[all...]
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DRange.cpp948 RefPtr<Node> newNode = prpNewNode; local
955 if (!newNode) {
961 // does not allow children of the type of newNode or if newNode is an ancestor of the container.
978 Node::NodeType newNodeType = newNode->nodeType();
980 if (newNodeType == Node::DOCUMENT_FRAGMENT_NODE && !newNode->isShadowRoot()) {
983 for (Node* c = newNode->firstChild(); c; c = c->nextSibling()) {
999 if (n == newNode) {
1005 // InvalidNodeTypeError: Raised if newNode is an Attr, Entity, Notation, ShadowRoot or Document node.
1014 if (newNode
[all...]
/external/chromium_org/third_party/WebKit/Source/core/xml/parser/
H A DXMLDocumentParser.cpp1182 RefPtr<CDATASection> newNode = CDATASection::create(m_currentNode->document(), text); local
1183 m_currentNode->parserAppendChild(newNode.get());
1198 RefPtr<Comment> newNode = Comment::create(m_currentNode->document(), text); local
1199 m_currentNode->parserAppendChild(newNode.get());
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
H A DElementsTreeOutline.js667 var newNode = nodeId ? WebInspector.domAgent.nodeForId(nodeId) : null; variable
668 if (!newNode)
671 this.selectDOMNode(newNode, true);
673 var newTreeItem = this.findTreeElement(newNode);
2115 var newNode = info.titleDOM.createChild("span", "webkit-html-text-node webkit-html-js-node");
2116 newNode.textContent = node.nodeValue();
2119 javascriptSyntaxHighlighter.syntaxHighlightNode(newNode);
2121 var newNode = info.titleDOM.createChild("span", "webkit-html-text-node webkit-html-css-node");
2122 newNode.textContent = node.nodeValue();
2125 cssSyntaxHighlighter.syntaxHighlightNode(newNode);
[all...]
/external/chromium_org/third_party/icu/source/common/
H A Dtriedict.cpp209 TernaryNode *newNode = new TernaryNode(uc); local
210 if (newNode == NULL) {
215 parent->equal = newNode;
220 parent->low = newNode;
223 parent->high = newNode;
226 parent = newNode;

Completed in 1712 milliseconds

12