Home
last modified time | relevance | path

Searched refs:newNode (Results 1 – 25 of 52) sorted by relevance

123

/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_deadlock_detector_test.cc53 uptr node = d.newNode(0); in RunBasicTest()
61 uptr node = d.newNode(0); in RunBasicTest()
69 uptr node = d.newNode(0); in RunBasicTest()
77 uptr n1 = d.newNode(1); in RunBasicTest()
78 uptr n2 = d.newNode(2); in RunBasicTest()
101 uptr n1 = d.newNode(1); in RunBasicTest()
102 uptr n2 = d.newNode(2); in RunBasicTest()
103 uptr n3 = d.newNode(3); in RunBasicTest()
143 uptr l0 = d.newNode(0); in RunRemoveNodeTest()
144 uptr l1 = d.newNode(1); in RunRemoveNodeTest()
[all …]
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
Dmath_semantic_tree.js253 cvox.SemanticTree.prototype.replaceNode_ = function(oldNode, newNode) { argument
256 this.root = newNode;
259 parent.replaceChild_(oldNode, newNode);
333 cvox.SemanticTree.Node.prototype.replaceChild_ = function(oldNode, newNode) { argument
338 newNode.parent = this;
340 this.childNodes[index] = newNode;
345 function(x) {return newNode.mathml.indexOf(x) == -1;});
346 var addMathml = newNode.mathml.filter(
405 var newNode = this.makeBranchNode_(
409 newNode.role = cvox.SemanticAttr.Role.DIVISION;
[all …]
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/injected/
Dnavigation_history.js68 cvox.NavigationHistory.prototype.update = function(newNode) { argument
72 if (newNode && newNode != previousNode) {
73 this.history_.unshift(newNode);
84 this.arrivedValid_ = this.isValidNode_(newNode);
/external/chromium_org/third_party/WebKit/Source/core/editing/
DReplaceNodeWithSpanCommand.cpp51 static void swapInNodePreservingAttributesAndChildren(HTMLElement* newNode, HTMLElement& nodeToRepl… in swapInNodePreservingAttributesAndChildren() argument
55 parentNode->insertBefore(newNode, &nodeToReplace); in swapInNodePreservingAttributesAndChildren()
60 newNode->appendChild(children[i]); in swapInNodePreservingAttributesAndChildren()
63 newNode->cloneDataFromElement(nodeToReplace); in swapInNodePreservingAttributesAndChildren()
/external/smack/src/org/jivesoftware/smackx/pubsub/
DPubSubManager.java87 LeafNode newNode = new LeafNode(con, elem.getNode()); in createNode() local
88 newNode.setTo(to); in createNode()
89 nodeMap.put(newNode.getId(), newNode); in createNode() local
91 return newNode; in createNode()
137 Node newNode = isLeafNode ? new LeafNode(con, name) : new CollectionNode(con, name); in createNode() local
138 newNode.setTo(to); in createNode()
139 nodeMap.put(newNode.getId(), newNode); in createNode() local
141 return newNode; in createNode()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DDOMBuilder.java175 protected void append(Node newNode) throws org.xml.sax.SAXException in append() argument
183 currentNode.insertBefore(newNode, m_nextSibling); in append()
185 currentNode.appendChild(newNode); in append()
192 m_docFrag.insertBefore(newNode, m_nextSibling); in append()
194 m_docFrag.appendChild(newNode); in append()
199 short type = newNode.getNodeType(); in append()
203 String data = newNode.getNodeValue(); in append()
229 m_doc.insertBefore(newNode, m_nextSibling); in append()
231 m_doc.appendChild(newNode); in append()
/external/chromium_org/chrome/browser/resources/net_internals/
Dwaterfall_row.js212 var newNode = addNode(linkNode, 'div');
213 setNodeWidth(newNode, duration * scale);
214 newNode.classList.add(eventTypeToCssClass_(eventTypeString));
215 newNode.classList.add('waterfall-view-bar-component');
216 newNode.addEventListener(
218 this.createPopup_.bind(this, newNode, event, eventTypeString,
221 newNode.addEventListener(
222 'mouseout', this.clearPopup_.bind(this, newNode), true);
223 return newNode;
/external/icu/icu4c/source/common/
Dstringtriebuilder.cpp317 StringTrieBuilder::registerNode(Node *newNode, UErrorCode &errorCode) { in registerNode() argument
319 delete newNode; in registerNode()
322 if(newNode==NULL) { in registerNode()
326 const UHashElement *old=uhash_find(nodes, newNode); in registerNode()
328 delete newNode; in registerNode()
336 uhash_puti(nodes, newNode, 1, &errorCode); in registerNode()
339 delete newNode; in registerNode()
342 return newNode; in registerNode()
355 Node *newNode=new FinalValueNode(value); in registerFinalValue() local
356 if(newNode==NULL) { in registerFinalValue()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/frame/
DSmartClip.cpp119 Node* SmartClip::minNodeContainsNodes(Node* minNode, Node* newNode) in minNodeContainsNodes() argument
121 if (!newNode) in minNodeContainsNodes()
124 return newNode; in minNodeContainsNodes()
127 IntRect newNodeRect = newNode->pixelSnappedBoundingBox(); in minNodeContainsNodes()
130 Node* parentNewNode = newNode->parentNode(); in minNodeContainsNodes()
141 return newNode; in minNodeContainsNodes()
DSmartClip.h76 Node* minNodeContainsNodes(Node* minNode, Node* newNode);
/external/chromium_org/third_party/skia/src/pdf/
DSkPDFPage.cpp98 SkPDFDict* newNode = new SkPDFDict("Pages"); in GeneratePageTree() local
99 SkAutoTUnref<SkPDFObjRef> newNodeRef(new SkPDFObjRef(newNode)); in GeneratePageTree()
131 newNode->insert(countName.get(), new SkPDFInt(pageCount))->unref(); in GeneratePageTree()
132 newNode->insert(kidsName.get(), kids.get()); in GeneratePageTree()
133 nextRoundNodes.push(newNode); // Transfer reference. in GeneratePageTree()
/external/skia/src/pdf/
DSkPDFPage.cpp98 SkPDFDict* newNode = new SkPDFDict("Pages"); in GeneratePageTree() local
99 SkAutoTUnref<SkPDFObjRef> newNodeRef(new SkPDFObjRef(newNode)); in GeneratePageTree()
131 newNode->insert(countName.get(), new SkPDFInt(pageCount))->unref(); in GeneratePageTree()
132 newNode->insert(kidsName.get(), kids.get()); in GeneratePageTree()
133 nextRoundNodes.push(newNode); // Transfer reference. in GeneratePageTree()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DDOMEditor.cpp268 Node* newNode() in newNode() function in WebCore::FINAL
336 ReplaceChildNodeAction(Node* parentNode, PassRefPtrWillBeRawPtr<Node> newNode, Node* oldNode) in ReplaceChildNodeAction() argument
339 , m_newNode(newNode) in ReplaceChildNodeAction()
437 bool DOMEditor::setOuterHTML(Node* node, const String& html, Node** newNode, ExceptionState& except… in setOuterHTML() argument
442 *newNode = action->newNode(); in setOuterHTML()
451 bool DOMEditor::replaceChild(Node* parentNode, PassRefPtrWillBeRawPtr<Node> newNode, Node* oldNode,… in replaceChild() argument
453 …return m_history->perform(adoptRefWillBeNoop(new ReplaceChildNodeAction(parentNode, newNode, oldNo… in replaceChild()
499 bool DOMEditor::setOuterHTML(Node* node, const String& html, Node** newNode, ErrorString* errorStri… in setOuterHTML() argument
502 bool result = setOuterHTML(node, html, newNode, exceptionState); in setOuterHTML()
DDOMEditor.h59 bool setOuterHTML(Node*, const String& html, Node** newNode, ExceptionState&);
61 …bool replaceChild(Node* parentNode, PassRefPtrWillBeRawPtr<Node> newNode, Node* oldNode, Exception…
68 bool setOuterHTML(Node*, const String& html, Node** newNode, ErrorString*);
DDOMPatchSupport.cpp172 Node* newNode = newDigest->m_node; in innerPatchNode() local
174 if (newNode->nodeType() != oldNode->nodeType() || newNode->nodeName() != oldNode->nodeName()) in innerPatchNode()
175 return m_domEditor->replaceChild(oldNode->parentNode(), newNode, oldNode, exceptionState); in innerPatchNode()
177 if (oldNode->nodeValue() != newNode->nodeValue()) { in innerPatchNode()
178 if (!m_domEditor->setNodeValue(oldNode, newNode->nodeValue(), exceptionState)) in innerPatchNode()
187 Element* newElement = toElement(newNode); in innerPatchNode()
474 Node* newNode = newDigest->m_node; in removeChildAndMoveToNew() local
475 if (!m_domEditor->replaceChild(newNode->parentNode(), oldNode, newNode, exceptionState)) in removeChildAndMoveToNew()
/external/icu/icu4c/source/tools/ctestfw/
Dctest.c172 TestNode *newNode; in createTestNode() local
174 newNode = (TestNode*)malloc(sizeof(TestNode) + (nameLen + 1)); in createTestNode()
176 newNode->test = NULL; in createTestNode()
177 newNode->sibling = NULL; in createTestNode()
178 newNode->child = NULL; in createTestNode()
180 strncpy( newNode->name, name, nameLen ); in createTestNode()
181 newNode->name[nameLen] = 0; in createTestNode()
183 return newNode; in createTestNode()
206 TestNode *newNode; in addTest() local
212 newNode = addTestNode( *root, name ); in addTest()
[all …]
/external/chromium_org/third_party/icu/source/tools/ctestfw/
Dctest.c169 TestNode *newNode; in createTestNode() local
171 newNode = (TestNode*)malloc(sizeof(TestNode) + (nameLen + 1)); in createTestNode()
173 newNode->test = NULL; in createTestNode()
174 newNode->sibling = NULL; in createTestNode()
175 newNode->child = NULL; in createTestNode()
177 strncpy( newNode->name, name, nameLen ); in createTestNode()
178 newNode->name[nameLen] = 0; in createTestNode()
180 return newNode; in createTestNode()
203 TestNode *newNode; in addTest() local
209 newNode = addTestNode( *root, name ); in addTest()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderCounter.cpp312 RefPtr<CounterNode> newNode = CounterNode::create(object, isReset, value); in makeCounterNode() local
314 newParent->insertAfter(newNode.get(), newPreviousSibling.get(), identifier); in makeCounterNode()
323 nodeMap->set(identifier, newNode); in makeCounterNode()
324 if (newNode->parent()) in makeCounterNode()
325 return newNode.get(); in makeCounterNode()
343 newNode->insertAfter(currentCounter, newNode->lastChild(), identifier); in makeCounterNode()
345 return newNode.get(); in makeCounterNode()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/generators/rss/
DRSSFeedUpdateEntryTask.java140 Node newNode=findAndReplace(document); in updateFeedXML() local
141 if (debug > 1 && newNode != null) { in updateFeedXML()
144 transformer.transform(new DOMSource(newNode),new StreamResult(System.out)); in updateFeedXML()
151 if (!isNullString(replacement) && newNode != null) { in updateFeedXML()
/external/chromium_org/third_party/angle/src/compiler/translator/
DParseContext.cpp1558 TIntermTyped *newNode; in addConstructor() local
1563 newNode = constructStruct(node, &elementType, 1, node->getLine(), false); in addConstructor()
1565 newNode = constructStruct(node, (*memberTypes)->type(), 1, node->getLine(), false); in addConstructor()
1567 newNode = constructBuiltIn(type, op, node, node->getLine(), false); in addConstructor()
1569 if (newNode && newNode->getAsAggregate()) { in addConstructor()
1570 TIntermTyped* constConstructor = foldConstConstructor(newNode->getAsAggregate(), *type); in addConstructor()
1575 return newNode; in addConstructor()
1594 newNode = constructStruct(*p, &elementType, paramCount+1, node->getLine(), true); in addConstructor()
1596newNode = constructStruct(*p, (memberTypes[paramCount])->type(), paramCount+1, node->getLine(), tr… in addConstructor()
1598 newNode = constructBuiltIn(type, op, *p, node->getLine(), true); in addConstructor()
[all …]
DIntermediate.cpp488 TIntermUnary* newNode = 0; in addConversion() local
538 newNode = new TIntermUnary(newOp, type); in addConversion()
539 newNode->setLine(node->getLine()); in addConversion()
540 newNode->setOperand(node); in addConversion()
542 return newNode; in addConversion()
1689 TIntermConstantUnion *newNode = 0; in fold() local
1721 newNode = new TIntermConstantUnion(tempConstArray, getType()); in fold()
1722 newNode->setLine(getLine()); in fold()
1723 return newNode; in fold()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DRange.cpp822 RefPtrWillBeRawPtr<Node> newNode = prpNewNode; in insertNode() local
824 if (!newNode) { in insertNode()
847 Node::NodeType newNodeType = newNode->nodeType(); in insertNode()
849 if (newNodeType == Node::DOCUMENT_FRAGMENT_NODE && !newNode->isShadowRoot()) { in insertNode()
852 for (Node* c = toDocumentFragment(newNode)->firstChild(); c; c = c->nextSibling()) { in insertNode()
862 …owDOMException(HierarchyRequestError, "The node to be inserted is a '" + newNode->nodeName() + "' … in insertNode()
868 if (n == newNode) { in insertNode()
878 …rowDOMException(InvalidNodeTypeError, "The node to be inserted is a '" + newNode->nodeName() + "' … in insertNode()
881 if (newNode->isShadowRoot()) { in insertNode()
898 container->parentNode()->insertBefore(newNode.release(), newText.get(), exceptionState); in insertNode()
[all …]
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/managed_bookmarks/
Dbackground.js175 }, callbackChain.wrap(function(newNode) { argument
177 self._id = newNode.id;
178 self._parentId = newNode.parentId;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/elements/
DElementsTreeOutline.js691 var newNode = nodeId ? this._domModel.nodeForId(nodeId) : null;
692 if (!newNode)
695 this.selectDOMNode(newNode, true);
697 var newTreeItem = this.findTreeElement(newNode);
2203 … var newNode = info.titleDOM.createChild("span", "webkit-html-text-node webkit-html-js-node");
2204 newNode.textContent = node.nodeValue();
2207 javascriptSyntaxHighlighter.syntaxHighlightNode(newNode);
2209 … var newNode = info.titleDOM.createChild("span", "webkit-html-text-node webkit-html-css-node");
2210 newNode.textContent = node.nodeValue();
2213 cssSyntaxHighlighter.syntaxHighlightNode(newNode);
[all …]
/external/chromium_org/third_party/WebKit/Source/wtf/
DListHashSet.h195 void insertNodeBefore(Node* beforeNode, Node* newNode);
971 void ListHashSet<T, inlineCapacity, U, V>::insertNodeBefore(Node* beforeNode, Node* newNode) in insertNodeBefore() argument
974 return appendNode(newNode); in insertNodeBefore()
976 newNode->m_next = beforeNode; in insertNodeBefore()
977 newNode->m_prev = beforeNode->m_prev; in insertNodeBefore()
979 beforeNode->m_prev->m_next = newNode; in insertNodeBefore()
980 beforeNode->m_prev = newNode; in insertNodeBefore()
982 if (!newNode->m_prev) in insertNodeBefore()
983 m_head = newNode; in insertNodeBefore()

123