/external/webkit/LayoutTests/fast/dom/TreeWalker/ |
D | traversal-skip-expected.txt | 8 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 …]
|
D | traversal-reject-expected.txt | 8 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 …]
|
D | acceptNode-filter-expected.txt | 8 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' 29 PASS walker.firstChild(); threw exception TypeError: NodeFilter object does not have an acceptNode … 30 PASS walker.currentNode.id; is 'root' [all …]
|
D | previousSiblingLastChildSkip-expected.txt | 6 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'
|
D | previousNodeLastChildReject-expected.txt | 6 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'
|
D | filter-throw-expected.txt | 8 PASS walker.firstChild(); threw exception filter exception. 9 PASS walker.currentNode.id is 'root' 10 PASS walker.nextNode();walker.currentNode.id threw exception filter exception. 11 PASS walker.currentNode.id is 'root' 14 PASS walker.firstChild(); threw exception filter exception. 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'
|
D | traversal-skip-most-expected.txt | 8 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/apache-xml/src/main/java/org/apache/xpath/axes/ |
D | AxesWalker.java | 261 public void setNextWalker(AxesWalker walker) in setNextWalker() argument 263 m_nextWalker = walker; in setNextWalker() 284 public void setPrevWalker(AxesWalker walker) in setPrevWalker() argument 286 m_prevWalker = walker; in setPrevWalker() 356 AxesWalker walker = wi().getLastUsedWalker(); in nextNode() local 360 if (null == walker) in nextNode() 363 nextNode = walker.getNextNode(); in nextNode() 368 walker = walker.m_prevWalker; in nextNode() 372 if (walker.acceptNode(nextNode) != DTMIterator.FILTER_ACCEPT) in nextNode() 377 if (null == walker.m_nextWalker) in nextNode() [all …]
|
D | WalkingIterator.java | 91 AxesWalker walker = m_firstWalker; in getAnalysisBits() local 93 while (null != walker) in getAnalysisBits() 95 int bit = walker.getAnalysisBits(); in getAnalysisBits() 97 walker = walker.getNextWalker(); in getAnalysisBits() 223 public final void setFirstWalker(AxesWalker walker) in setFirstWalker() argument 225 m_firstWalker = walker; in setFirstWalker() 235 public final void setLastUsedWalker(AxesWalker walker) in setLastUsedWalker() argument 237 m_lastUsedWalker = walker; in setLastUsedWalker() 262 AxesWalker walker = m_firstWalker; in detach() local 263 while (null != walker) in detach() [all …]
|
D | WalkingIteratorSorted.java | 98 AxesWalker walker = m_firstWalker; in canBeWalkedInNaturalDocOrderStatic() local 102 for(int i = 0; null != walker; i++) in canBeWalkedInNaturalDocOrderStatic() 104 int axis = walker.getAxis(); in canBeWalkedInNaturalDocOrderStatic() 106 if(walker.isDocOrdered()) in canBeWalkedInNaturalDocOrderStatic() 114 walker = walker.getNextWalker(); in canBeWalkedInNaturalDocOrderStatic() 117 boolean isLastWalker = (null == walker.getNextWalker()); in canBeWalkedInNaturalDocOrderStatic() 120 if(walker.isDocOrdered() && (axis == Axis.DESCENDANT || in canBeWalkedInNaturalDocOrderStatic()
|
/external/webkit/LayoutTests/fast/dom/TreeWalker/script-tests/ |
D | traversal-reject.js | 3 var walker; variable 26 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, rejectB1Filter, false); 32 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, rejectB1Filter, false); 37 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, rejectB2Filter, false); 43 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, rejectB1Filter, false); 44 walker.currentNode = testElement.querySelectorAll('#C1')[0]; 48 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, rejectB2Filter, false); 49 walker.currentNode = testElement.querySelectorAll('#B3')[0]; 53 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, rejectB1Filter, false); 54 walker.currentNode = testElement.querySelectorAll('#B3')[0];
|
D | traversal-skip.js | 3 var walker; variable 26 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, skipB1Filter, false); 33 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, skipB1Filter, false); 38 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, skipB2Filter, false); 44 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, skipB1Filter, false); 45 walker.currentNode = testElement.querySelectorAll('#C1')[0]; 49 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, skipB2Filter, false); 50 walker.currentNode = testElement.querySelectorAll('#B3')[0]; 54 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, skipB1Filter, false); 55 walker.currentNode = testElement.querySelectorAll('#B3')[0];
|
D | acceptNode-filter.js | 3 var walker; variable 17 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, filter, false); 22 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, { 35 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, null, false); 41 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, undefined, false); 47 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, {}, false); 55 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, { acceptNode: "foo" }, fal… 65 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, filter, false); 77 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, filter, false);
|
D | traversal-skip-most.js | 3 var walker; variable 17 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, filter, false); 22 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, filter, false); 23 walker.currentNode = testElement.querySelectorAll('#B3')[0];
|
D | filter-throw.js | 3 var walker; variable 8 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, function(node) { 19 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, {
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
D | FontAndroid.cpp | 914 TextRunWalker walker(run, 0, this); in selectionRectForComplexText() local 915 walker.setWordAndLetterSpacing(wordSpacing(), letterSpacing()); in selectionRectForComplexText() 919 int base = walker.rtl() ? walker.widthOfFullRun() : 0; in selectionRectForComplexText() 924 walker.setBackwardsIteration(false); in selectionRectForComplexText() 926 while (walker.nextScriptRun() && (fromX == -1 || toX == -1)) { in selectionRectForComplexText() 930 walker.setXOffsetToZero(); in selectionRectForComplexText() 932 if (walker.rtl()) in selectionRectForComplexText() 933 base -= walker.width(); in selectionRectForComplexText() 935 int numCodePoints = static_cast<int>(walker.numCodePoints()); in selectionRectForComplexText() 940 int glyph = walker.logClusters()[from]; in selectionRectForComplexText() [all …]
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
D | ElemTemplateElement.java | 1342 Node walker = getParentNode(), prev = null; in getPreviousSibling() local 1344 if (walker != null) in getPreviousSibling() 1345 for (walker = walker.getFirstChild(); walker != null; in getPreviousSibling() 1346 prev = walker, walker = walker.getNextSibling()) in getPreviousSibling() 1348 if (walker == this) in getPreviousSibling() 1367 ElemTemplateElement walker = getParentNodeElem(); in getPreviousSiblingElem() local 1370 if (walker != null) in getPreviousSiblingElem() 1371 for (walker = walker.getFirstChildElem(); walker != null; in getPreviousSiblingElem() 1372 prev = walker, walker = walker.getNextSiblingElem()) in getPreviousSiblingElem() 1374 if (walker == this) in getPreviousSiblingElem()
|
D | RedundentExprEliminator.java | 453 AxesWalker walker = wi.getFirstWalker(); in changePartToRef() local 456 assertion(null != walker, "Walker should not be null!"); in changePartToRef() 457 walker = walker.getNextWalker(); in changePartToRef() 460 if(null != walker) in changePartToRef() 466 few.setNextWalker(walker); in changePartToRef() 467 walker.setPrevWalker(few); in changePartToRef() 492 AxesWalker walker = (AxesWalker)wi.getFirstWalker().clone(); in createIteratorFromSteps() local 493 newIter.setFirstWalker(walker); in createIteratorFromSteps() 494 walker.setLocPathIterator(newIter); in createIteratorFromSteps() 497 AxesWalker next = (AxesWalker)walker.getNextWalker().clone(); in createIteratorFromSteps() [all …]
|
/external/v8/src/ |
D | platform-solaris.cc | 287 struct StackWalker* walker = static_cast<struct StackWalker*>(data); in StackWalkCallback() local 290 int i = walker->index; in StackWalkCallback() 292 walker->frames[i].address = reinterpret_cast<void*>(pc); in StackWalkCallback() 295 walker->frames[i].text[OS::kStackWalkMaxTextLen - 1] = '\0'; in StackWalkCallback() 297 Vector<char> text = MutableCStrVector(walker->frames[i].text, in StackWalkCallback() 313 walker->index++; in StackWalkCallback() 320 struct StackWalker walker = { frames, 0 }; in StackWalk() local 324 if (!walkcontext(&ctx, StackWalkCallback, &walker)) { in StackWalk() 328 return walker.index; in StackWalk()
|
/external/webkit/Source/WebCore/platform/win/ |
D | FileSystemWin.cpp | 332 PathWalker walker(directory, filter); in listDirectory() local 333 if (!walker.isValid()) in listDirectory() 337 if (walker.data().dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) in listDirectory() 340 …entries.append(makeString(directory, "\\", reinterpret_cast<const UChar*>(walker.data().cFileName)… in listDirectory() 341 } while (walker.step()); in listDirectory()
|
/external/libxml2/ |
D | list.c | 676 xmlListWalk(xmlListPtr l, xmlListWalker walker, const void *user) { in xmlListWalk() argument 679 if ((l == NULL) || (walker == NULL)) in xmlListWalk() 682 if((walker(lk->data, user)) == 0) in xmlListWalk() 697 xmlListReverseWalk(xmlListPtr l, xmlListWalker walker, const void *user) { in xmlListReverseWalk() argument 700 if ((l == NULL) || (walker == NULL)) in xmlListReverseWalk() 703 if((walker(lk->data, user)) == 0) in xmlListReverseWalk()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CheckSizeofPointer.cpp | 79 WalkAST walker(BR); in checkASTCodeBody() local 80 walker.Visit(D->getBody()); in checkASTCodeBody()
|
D | LLVMConventionsChecker.cpp | 135 StringRefCheckerVisitor walker(BR); in CheckStringRefAssignedTemporary() local 136 walker.Visit(D->getBody()); in CheckStringRefAssignedTemporary() 231 ASTFieldVisitor walker(R, BR); in CheckASTMemory() local 232 walker.Visit(*I); in CheckASTMemory()
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/ |
D | DOM3SerializerImpl.java | 108 DOM3TreeWalker walker = new DOM3TreeWalker(fSerializationHandler, in serializeDOM3() local 111 walker.traverse(node); in serializeDOM3()
|
/external/webkit/Source/WebKit2/UIProcess/Plugins/win/ |
D | PluginInfoStoreWin.cpp | 263 PathWalker walker(directory, "*"); in pluginPathsInDirectory() local 264 if (!walker.isValid()) in pluginPathsInDirectory() 268 if (walker.data().dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) in pluginPathsInDirectory() 271 String filename = walker.data().cFileName; in pluginPathsInDirectory() 276 } while (walker.step()); in pluginPathsInDirectory()
|