Home
last modified time | relevance | path

Searched refs:currentNode (Results 1 – 25 of 63) sorted by relevance

123

/external/webkit/Source/JavaScriptCore/profiler/
DProfile.cpp54 ProfileNode* currentNode = m_head->firstChild(); in forEach() local
55 for (ProfileNode* nextNode = currentNode; nextNode; nextNode = nextNode->firstChild()) in forEach()
56 currentNode = nextNode; in forEach()
58 if (!currentNode) in forEach()
59 currentNode = m_head.get(); in forEach()
62 while (currentNode && currentNode != endNode) { in forEach()
63 (currentNode->*function)(); in forEach()
64 currentNode = currentNode->traverseNextNodePostOrder(); in forEach()
75 …for (ProfileNode* currentNode = m_head.get(); currentNode; currentNode = currentNode->traverseNext… in focus() local
76 processChildren = currentNode->focus(callIdentifier); in focus()
[all …]
DProfileGenerator.cpp152 ProfileNode* currentNode = 0; in removeProfileStart() local
154 currentNode = next; in removeProfileStart()
156 if (currentNode->callIdentifier().m_name != "profile") in removeProfileStart()
160currentNode->parent()->setSelfTime(currentNode->parent()->selfTime() + currentNode->totalTime()); in removeProfileStart()
161 currentNode->parent()->removeChild(currentNode); in removeProfileStart()
167 ProfileNode* currentNode = 0; in removeProfileEnd() local
169 currentNode = next; in removeProfileEnd()
171 if (currentNode->callIdentifier().m_name != "profileEnd") in removeProfileEnd()
175currentNode->parent()->setSelfTime(currentNode->parent()->selfTime() + currentNode->totalTime()); in removeProfileEnd()
177 …ASSERT(currentNode->callIdentifier() == (currentNode->parent()->children()[currentNode->parent()->… in removeProfileEnd()
[all …]
/external/webkit/LayoutTests/fast/dom/TreeWalker/
Dtraversal-skip-expected.txt8 PASS walker.nextNode(); walker.currentNode.id is 'A1'
9 PASS walker.nextNode(); walker.currentNode.id is 'C1'
10 PASS walker.nextNode(); walker.currentNode.id is 'B2'
11 PASS walker.nextNode(); walker.currentNode.id is 'B3'
14 PASS walker.firstChild(); walker.currentNode.id is 'A1'
15 PASS walker.firstChild(); walker.currentNode.id is 'C1'
18 PASS walker.firstChild(); walker.currentNode.id is 'A1'
19 PASS walker.firstChild(); walker.currentNode.id is 'B1'
20 PASS walker.nextSibling(); walker.currentNode.id is 'B3'
23 PASS walker.parentNode(); walker.currentNode.id is 'A1'
[all …]
Dtraversal-reject-expected.txt8 PASS walker.nextNode(); walker.currentNode.id is 'A1'
9 PASS walker.nextNode(); walker.currentNode.id is 'B2'
10 PASS walker.nextNode(); walker.currentNode.id is 'B3'
13 PASS walker.firstChild(); walker.currentNode.id is 'A1'
14 PASS walker.firstChild(); walker.currentNode.id is 'B2'
17 PASS walker.firstChild(); walker.currentNode.id is 'A1'
18 PASS walker.firstChild(); walker.currentNode.id is 'B1'
19 PASS walker.nextSibling(); walker.currentNode.id is 'B3'
22 PASS walker.parentNode(); walker.currentNode.id is 'A1'
25 PASS walker.previousSibling(); walker.currentNode.id is 'B1'
[all …]
DacceptNode-filter-expected.txt8 PASS walker.firstChild(); walker.currentNode.id is 'A1'
11 PASS walker.nextNode(); walker.currentNode.id is 'B2'
15 PASS walker.firstChild(); walker.currentNode.id is 'A1'
18 PASS walker.nextNode(); walker.currentNode.id is 'B2'
21 PASS walker.firstChild(); walker.currentNode.id is 'A1'
22 PASS walker.nextNode(); walker.currentNode.id is 'B1'
25 PASS walker.firstChild(); walker.currentNode.id is 'A1'
26 PASS walker.nextNode(); walker.currentNode.id is 'B1'
30 PASS walker.currentNode.id; is 'root'
32 PASS walker.currentNode.id; is 'root'
[all …]
DTreeWalker-currentNode-expected.txt6 Test that TreeWalker.parent() doesn't set the currentNode to a node not under the root.
8 PASS w.currentNode is subTree
10 PASS w.currentNode is subTree
12 Test that we handle setting the currentNode to arbitrary nodes not under the root element.
15 PASS w.currentNode is document.documentElement
17 PASS w.currentNode is document.documentElement.firstChild
19 PASS w.currentNode is document.documentElement
21 PASS w.currentNode is document.documentElement.firstChild
23 PASS w.currentNode is document.documentElement.lastChild
25 PASS w.currentNode is document.documentElement
[all …]
DpreviousSiblingLastChildSkip-expected.txt6 PASS walker.firstChild(); walker.currentNode.id is 'A1'
7 PASS walker.nextNode(); walker.currentNode.id is 'C1'
8 PASS walker.nextNode(); walker.currentNode.id is 'C2'
9 PASS walker.nextNode(); walker.currentNode.id is 'D1'
10 PASS walker.nextNode(); walker.currentNode.id is 'D2'
11 PASS walker.nextNode(); walker.currentNode.id is 'B2'
12 PASS walker.previousSibling(); walker.currentNode.id is 'C2'
Dfilter-throw-expected.txt9 PASS walker.currentNode.id is 'root'
10 PASS walker.nextNode();walker.currentNode.id threw exception filter exception.
11 PASS walker.currentNode.id is 'root'
15 PASS walker.currentNode.id is 'root'
16 PASS walker.nextNode();walker.currentNode.id threw exception filter exception.
17 PASS walker.currentNode.id is 'root'
DpreviousNodeLastChildReject-expected.txt6 PASS walker.firstChild(); walker.currentNode.id is 'A1'
7 PASS walker.nextNode(); walker.currentNode.id is 'B1'
8 PASS walker.nextNode(); walker.currentNode.id is 'C1'
9 PASS walker.nextNode(); walker.currentNode.id is 'B2'
10 PASS walker.previousNode(); walker.currentNode.id is 'C1'
Dtraversal-skip-most-expected.txt8 PASS walker.firstChild(); walker.currentNode.id is 'B1'
9 PASS walker.nextSibling(); walker.currentNode.id is 'B3'
12 PASS walker.previousSibling(); walker.currentNode.id is 'B1'
/external/webkit/LayoutTests/fast/dom/TreeWalker/resources/
DTreeWalker-currentNode.js21 w.currentNode = document.documentElement;
24 w.currentNode = document.documentElement;
27 w.currentNode = document.documentElement;
30 w.currentNode = document.documentElement;
33 w.currentNode = document.documentElement;
36 w.currentNode = document.documentElement;
39 w.currentNode = document.documentElement;
47 w.currentNode = subTree.previousSibling;
49 w.currentNode = document.body;
/external/apache-xml/src/main/java/org/apache/xpath/functions/
DFunctionDef1Arg.java86 int currentNode = xctxt.getCurrentNode(); in getArg0AsString() local
87 if(DTM.NULL == currentNode) in getArg0AsString()
91 DTM dtm = xctxt.getDTM(currentNode); in getArg0AsString()
92 return dtm.getStringValue(currentNode); in getArg0AsString()
119 int currentNode = xctxt.getCurrentNode(); in getArg0AsNumber() local
120 if(DTM.NULL == currentNode) in getArg0AsNumber()
124 DTM dtm = xctxt.getDTM(currentNode); in getArg0AsNumber()
125 XMLString str = dtm.getStringValue(currentNode); in getArg0AsNumber()
DFuncCurrent.java56 int currentNode = DTM.NULL; in execute() local
62 currentNode = iter.getCurrentContextNode(); in execute()
69 currentNode = xctxt.getContextNode(); in execute()
71 return new XNodeSet(currentNode, xctxt.getDTMManager()); in execute()
/external/llvm/lib/Analysis/
DPathNumbering.cpp366 BallLarusNode* currentNode = dfsStack.top(); in buildNode() local
367 BasicBlock* currentBlock = currentNode->getBlock(); in buildNode()
369 if(currentNode->getColor() != BallLarusNode::WHITE) { in buildNode()
372 currentNode->setColor(BallLarusNode::BLACK); in buildNode()
376 for( BasicBlock::iterator bbCurrent = currentNode->getBlock()->begin(), in buildNode()
377 bbEnd = currentNode->getBlock()->end(); bbCurrent != bbEnd; in buildNode()
381 BallLarusEdge* callEdge = addEdge(currentNode, getExit(), 0); in buildNode()
388 TerminatorInst* terminator = currentNode->getBlock()->getTerminator(); in buildNode()
391 addEdge(currentNode, getExit(),0); in buildNode()
393 currentNode->setColor(BallLarusNode::GRAY); in buildNode()
[all …]
DDominanceFrontier.cpp56 const DomTreeNode *currentNode = currentW->Node; in calculate() local
59 assert (currentNode && "Invalid work object. Missing current Node"); in calculate()
70 if (DT[*SI]->getIDom() != currentNode) in calculate()
79 for (DomTreeNode::const_iterator NI = currentNode->begin(), in calculate()
80 NE = currentNode->end(); NI != NE; ++NI) { in calculate()
85 IDominee, currentNode)); in calculate()
DPathProfileInfo.cpp139 BallLarusNode* currentNode = _ppi->_currentDag->getRoot (); in getPathEdges() local
143 while (currentNode != _ppi->_currentDag->getExit()) { in getPathEdges()
144 BallLarusEdge* next = getNextEdge(currentNode, increment); in getPathEdges()
171 currentNode = next->getTarget(); in getPathEdges()
178 BallLarusNode* currentNode = _ppi->_currentDag->getRoot (); in getPathBlocks() local
182 while (currentNode != _ppi->_currentDag->getExit()) { in getPathBlocks()
183 BallLarusEdge* next = getNextEdge(currentNode, increment); in getPathBlocks()
188 pbv->push_back (currentNode->getBlock()); in getPathBlocks()
191 pbv->push_back (currentNode->getBlock()); in getPathBlocks()
196 currentNode = next->getTarget(); in getPathBlocks()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRUnbufferedCommonTreeNodeStream.m37 @synthesize currentNode;
90 currentNode = root;
201 [state setCurrentNode:currentNode];
232 currentNode = [state currentNode];
320 if (currentNode == nil) {
330 if (currentChildIndex < (NSInteger)[currentNode getChildCount]) {
334 if (currentNode != nil) {
344 ANTLRCommonTree *node = currentNode;
350 if ([currentNode getChildCount] == 0) {
351 currentNode = nil;
[all …]
/external/webkit/Source/WebCore/inspector/front-end/
DBottomUpProfileDataGridTree.js218 var currentNode = profileDataGridNode;
221 while (currentNode.parent && (currentNode instanceof WebInspector.ProfileDataGridNode)) {
222 currentNode._takePropertiesFromProfileDataGridNode(profileDataGridNode);
224 focusNode = currentNode;
225 currentNode = currentNode.parent;
227 if (currentNode instanceof WebInspector.ProfileDataGridNode)
228 currentNode._keepOnlyChild(focusNode);
/external/webkit/Source/WebCore/dom/
DPosition.cpp532 Node* currentNode = currentPos.node(); in upstream() local
536 if (currentNode != lastNode) { in upstream()
538 bool currentEditable = currentNode->rendererIsEditable(); in upstream()
544 lastNode = currentNode; in upstream()
549 if (endsOfNodeAreVisuallyDistinctPositions(currentNode) && currentNode != boundary) in upstream()
553 RenderObject* renderer = currentNode->renderer(); in upstream()
568 if (endsOfNodeAreVisuallyDistinctPositions(currentNode) && currentPos.atStartOfNode()) in upstream()
572 if (editingIgnoresContent(currentNode) || isTableElement(currentNode)) { in upstream()
574 return positionAfterNode(currentNode); in upstream()
580 if (currentNode != startNode) { in upstream()
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/patterns/
DStepPattern.java330 public XObject execute(XPathContext xctxt, int currentNode) in execute() argument
334 DTM dtm = xctxt.getDTM(currentNode); in execute()
338 int expType = dtm.getExpandedTypeID(currentNode); in execute()
340 return execute(xctxt, currentNode, dtm, expType); in execute()
382 XPathContext xctxt, int currentNode, DTM dtm, int expType) in execute() argument
398 score = super.execute(xctxt, currentNode, dtm, expType); in execute()
405 if (!executePredicates(xctxt, dtm, currentNode)) in execute()
411 currentNode); in execute()
665 XPathContext xctxt, DTM dtm, int currentNode) in executeRelativePathPattern() argument
670 int context = currentNode; in executeRelativePathPattern()
[all …]
/external/webkit/Source/WebCore/html/parser/
DHTMLConstructionSite.cpp242 attach(currentNode(), Comment::create(currentNode()->document(), token.comment())); in insertComment()
260 return attach(currentNode(), child); in attachToCurrent()
316 …RefPtr<HTMLScriptElement> element = HTMLScriptElement::create(scriptTag, currentNode()->document()… in insertScriptElement()
335 site.parent = currentNode(); in insertTextNode()
368 RefPtr<Element> element = currentNode()->document()->createElement(tagName, true); in createElement()
379 …RefPtr<Element> element = HTMLElementFactory::createHTMLElement(tagName, currentNode()->document()… in createHTMLElement()
458 while (hasImpliedEndTag(currentNode()) && !currentNode()->hasLocalName(tagName)) in generateImpliedEndTagsWithExclusion()
464 while (hasImpliedEndTag(currentNode())) in generateImpliedEndTags()
490 && currentNode()->isElementNode() in shouldFosterParent()
/external/webkit/Source/WebKit/android/jni/
DWebViewCore.cpp2515 Node* currentNode = 0; in getNextAnchorNode() local
2518 currentNode = anchorNode->traverseNextNode(body); in getNextAnchorNode()
2520 currentNode = anchorNode; in getNextAnchorNode()
2524 currentNode = anchorNode->traversePreviousSiblingPostOrder(body); in getNextAnchorNode()
2526 currentNode = anchorNode; in getNextAnchorNode()
2528 while (currentNode) { in getNextAnchorNode()
2529 if (isContentTextNode(currentNode) in getNextAnchorNode()
2530 || isContentInputElement(currentNode)) in getNextAnchorNode()
2531 return currentNode; in getNextAnchorNode()
2533 currentNode = currentNode->traverseNextNode(); in getNextAnchorNode()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DKeyTable.java195 int currentNode; in getRefsTable() local
197 while (DTM.NULL != (currentNode = m_keyNodes.nextNode())) in getRefsTable()
206 currentNode, in getRefsTable()
211 addValueInRefsTable(xctxt, exprResult, currentNode); in getRefsTable()
220 addValueInRefsTable(xctxt, exprResult, currentNode); in getRefsTable()
/external/webkit/LayoutTests/fast/dom/TreeWalker/script-tests/
Dtraversal-skip.js45 walker.currentNode = testElement.querySelectorAll('#C1')[0];
50 walker.currentNode = testElement.querySelectorAll('#B3')[0];
55 walker.currentNode = testElement.querySelectorAll('#B3')[0];
Dtraversal-reject.js44 walker.currentNode = testElement.querySelectorAll('#C1')[0];
49 walker.currentNode = testElement.querySelectorAll('#B3')[0];
54 walker.currentNode = testElement.querySelectorAll('#B3')[0];

123