Home
last modified time | relevance | path

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

123

/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/injected/
Dnode_breadcrumb.js52 var currentNode = cvox.ChromeVox.navigationManager.getCurrentNode();
53 while (currentNode && !currentNode.hasAttribute) {
54 currentNode = currentNode.parentNode;
56 if (!currentNode) {
58 } else if (currentNode.hasAttribute(cvox.NodeBreadcrumb.TOUCHED_TAG)) {
59 cvTag = currentNode.getAttribute(cvox.NodeBreadcrumb.TOUCHED_TAG);
62 currentNode.setAttribute(cvox.NodeBreadcrumb.TOUCHED_TAG, cvTag);
158 var currentNode = cvox.ChromeVox.navigationManager.getCurrentNode();
159 while (currentNode && !currentNode.hasAttribute) {
160 currentNode = currentNode.parentNode;
[all …]
/external/chromium_org/third_party/WebKit/Source/core/editing/
DSimplifyMarkupCommand.cpp61 ContainerNode* currentNode = startingNode; in doApply() local
63 while (currentNode != rootNode) { in doApply()
64 if (currentNode->parentNode() != rootNode && isRemovableBlock(currentNode)) in doApply()
65 nodesToRemove.append(currentNode); in doApply()
67 currentNode = currentNode->parentNode(); in doApply()
68 if (!currentNode) in doApply()
71 …if (!currentNode->renderer() || !currentNode->renderer()->isRenderInline() || toRenderInline(curre… in doApply()
74 if (currentNode->firstChild() != currentNode->lastChild()) { in doApply()
79 if (!currentNode->renderStyle()->visualInvalidationDiff(*startingStyle).hasDifference()) in doApply()
80 topNodeWithStartingStyle = currentNode; in doApply()
/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/chromium_org/third_party/WebKit/Source/devtools/front_end/profiler/
DCPUProfileBottomUpDataGrid.js260 var currentNode = profileDataGridNode;
263 while (currentNode.parent && (currentNode instanceof WebInspector.ProfileDataGridNode)) {
264 currentNode._takePropertiesFromProfileDataGridNode(profileDataGridNode);
266 focusNode = currentNode;
267 currentNode = currentNode.parent;
269 if (currentNode instanceof WebInspector.ProfileDataGridNode)
270 currentNode._keepOnlyChild(focusNode);
/external/chromium_org/third_party/WebKit/Source/core/frame/
DSmartClip.cpp246 …for (Node* currentNode = node; currentNode; currentNode = NodeTraversal::next(*currentNode, node))… in extractTextFromNode() local
247 RenderStyle* style = currentNode->computedStyle(); in extractTextFromNode()
251 if (Node* nodeFromFrame = nodeInsideFrame(currentNode)) in extractTextFromNode()
254 IntRect nodeRect = currentNode->pixelSnappedBoundingBox(); in extractTextFromNode()
255 if (currentNode->renderer() && !nodeRect.isEmpty()) { in extractTextFromNode()
256 if (currentNode->isTextNode()) { in extractTextFromNode()
257 String nodeValue = currentNode->nodeValue(); in extractTextFromNode()
/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 …]
DANTLRUnbufferedCommonTreeNodeStreamState.m48 - (ANTLRCommonTree *) currentNode
50 return currentNode;
55 if (currentNode != aCurrentNode) {
57 [currentNode release];
58 currentNode = aCurrentNode;
DANTLRUnbufferedCommonTreeNodeStreamState.h31 ANTLRCommonTree *currentNode; variable
42 - (ANTLRCommonTree *) currentNode;
/external/chromium_org/third_party/WebKit/Source/core/html/
DCollectionIndexCache.h170 NodeType* currentNode = collection.traverseBackwardToOffset(index, *cachedNode(), currentIndex); in nodeBeforeCachedNode() local
171 ASSERT(currentNode); in nodeBeforeCachedNode()
172 setCachedNode(currentNode, currentIndex); in nodeBeforeCachedNode()
173 return currentNode; in nodeBeforeCachedNode()
195 NodeType* currentNode = collection.traverseForwardToOffset(index, *cachedNode(), currentIndex); in nodeAfterCachedNode() local
196 if (!currentNode) { in nodeAfterCachedNode()
201 setCachedNode(currentNode, currentIndex); in nodeAfterCachedNode()
202 return currentNode; in nodeAfterCachedNode()
DCollectionItemsCache.h93 NodeType* currentNode = collection.traverseToFirst(); in nodeCount() local
96 while (currentNode) { in nodeCount()
97 m_cachedList.append(currentNode); in nodeCount()
98currentNode = collection.traverseForwardToOffset(currentIndex + 1, *currentNode, currentIndex); in nodeCount()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DChildNodeList.cpp49 Node* ChildNodeList::traverseForwardToOffset(unsigned offset, Node& currentNode, unsigned& currentO… in traverseForwardToOffset() argument
52 for (Node* next = currentNode.nextSibling(); next; next = next->nextSibling()) { in traverseForwardToOffset()
59 Node* ChildNodeList::traverseBackwardToOffset(unsigned offset, Node& currentNode, unsigned& current… in traverseBackwardToOffset() argument
62 …for (Node* previous = currentNode.previousSibling(); previous; previous = previous->previousSiblin… in traverseBackwardToOffset()
DPosition.cpp545 Node* currentNode = currentPos.node(); in upstream() local
549 if (currentNode != lastNode) { in upstream()
551 bool currentEditable = currentNode->hasEditableStyle(); in upstream()
557 lastNode = currentNode; in upstream()
562 if (endsOfNodeAreVisuallyDistinctPositions(currentNode) && currentNode != boundary) in upstream()
566 RenderObject* renderer = currentNode->renderer(); in upstream()
581 if (endsOfNodeAreVisuallyDistinctPositions(currentNode) && currentPos.atStartOfNode()) in upstream()
585 if (editingIgnoresContent(currentNode) || isRenderedHTMLTableElement(currentNode)) { in upstream()
587 return positionAfterNode(currentNode); in upstream()
593 if (currentNode != startNode) { in upstream()
[all …]
DChildNodeList.h58 … Node* traverseForwardToOffset(unsigned offset, Node& currentNode, unsigned& currentOffset) const;
59 … Node* traverseBackwardToOffset(unsigned offset, Node& currentNode, unsigned& currentOffset) const;
DLiveNodeList.h55 …Element* traverseForwardToOffset(unsigned offset, Element& currentNode, unsigned& currentOffset) c…
56 …Element* traverseBackwardToOffset(unsigned offset, Element& currentNode, unsigned& currentOffset) …
/external/llvm/lib/Analysis/
DDominanceFrontier.cpp55 const DomTreeNode *currentNode = currentW->Node; in calculate() local
58 assert (currentNode && "Invalid work object. Missing current Node"); in calculate()
69 if (DT[*SI]->getIDom() != currentNode) in calculate()
78 for (DomTreeNode::const_iterator NI = currentNode->begin(), in calculate()
79 NE = currentNode->end(); NI != NE; ++NI) { in calculate()
84 IDominee, currentNode)); in calculate()
/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/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/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/omaha/
DXMLParser.java84 Node currentNode = new Node(qName); in startElement() local
85 mTagStack.peek().children.add(currentNode); in startElement()
86 mTagStack.push(currentNode); in startElement()
91 currentNode.attributes.put(attributeName, attributeValue); in startElement()
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRUnbufferedCommonTreeNodeStreamState.h31 ANTLRCommonTree *currentNode; variable
42 - (ANTLRCommonTree *) currentNode;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRUnbufferedCommonTreeNodeStreamState.h31 ANTLRCommonTree *currentNode; variable
42 - (ANTLRCommonTree *) currentNode;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRUnbufferedCommonTreeNodeStreamState.h31 ANTLRCommonTree *currentNode; variable
42 - (ANTLRCommonTree *) currentNode;
/external/chromium_org/third_party/WebKit/Source/core/page/
DFocusController.cpp402 Node* currentNode = document->focusedElement(); in advanceFocusInDocumentOrder() local
406 if (caretBrowsing && !currentNode) in advanceFocusInDocumentOrder()
407 currentNode = frame->selection().start().deprecatedNode(); in advanceFocusInDocumentOrder()
411 …type, FocusNavigationScope::focusNavigationScopeOf(currentNode ? currentNode : document), currentN… in advanceFocusInDocumentOrder()
477 …r::findFocusableNodeAcrossFocusScope(FocusType type, FocusNavigationScope scope, Node* currentNode) in findFocusableNodeAcrossFocusScope() argument
479 ASSERT(!currentNode || !isNonFocusableShadowHost(currentNode)); in findFocusableNodeAcrossFocusScope()
481 if (currentNode && type == FocusTypeForward && isKeyboardFocusableShadowHost(currentNode)) { in findFocusableNodeAcrossFocusScope()
482 …cope = findFocusableNodeRecursively(type, FocusNavigationScope::ownedByShadowHost(currentNode), 0); in findFocusableNodeAcrossFocusScope()
483 …nInnerFocusScope ? foundInInnerFocusScope : findFocusableNodeRecursively(type, scope, currentNode); in findFocusableNodeAcrossFocusScope()
485 found = findFocusableNodeRecursively(type, scope, currentNode); in findFocusableNodeAcrossFocusScope()
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLConstructionSite.cpp539 ASSERT(currentNode()); in processEndOfFile()
580 attachLater(currentNode(), Comment::create(ownerDocumentForCurrentNode(), token->comment())); in insertComment()
601 attachLater(currentNode(), m_head->element()); in insertHTMLHeadElement()
609 attachLater(currentNode(), body); in insertHTMLBodyElement()
621 attachLater(currentNode(), m_form.get()); in insertHTMLFormElement()
628 attachLater(currentNode(), element); in insertHTMLElement()
638 attachLater(currentNode(), createHTMLElement(token), true); in insertSelfClosingHTMLElement()
664 attachLater(currentNode(), element); in insertScriptElement()
675 attachLater(currentNode(), element, token->selfClosing()); in insertForeignElement()
683 dummyTask.parent = currentNode(); in insertTextNode()
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/data/
DNewHdfParser.java111 Data currentNode; field in NewHdfParser.ParseState
119 currentNode = output; in ParseState()
532 Data child = handleNodeCreation(state.currentNode, element); in handleDescend()
533 state.context.push(state.currentNode); in handleDescend()
534 state.currentNode = child; in handleDescend()
543 Data child = handleNodeCreation(state.currentNode, element); in handleAssign()
548 Data child = handleNodeCreation(state.currentNode, element); in handleCopy()
558 Data child = handleNodeCreation(state.currentNode, element); in handleLink()
567 state.currentNode = state.context.pop(); in handleAscend()

123