/external/webkit/LayoutTests/fast/dom/TreeWalker/script-tests/ |
traversal-skip.js | 3 var walker; variable 26 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, skipB1Filter, false); 27 shouldBe("walker.nextNode(); walker.currentNode.id", "'A1'"); 28 shouldBe("walker.nextNode(); walker.currentNode.id", "'C1'"); 29 shouldBe("walker.nextNode(); walker.currentNode.id", "'B2'"); 30 shouldBe("walker.nextNode(); walker.currentNode.id", "'B3'") [all...] |
traversal-reject.js | 3 var walker; variable 26 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, rejectB1Filter, false); 27 shouldBe("walker.nextNode(); walker.currentNode.id", "'A1'"); 28 shouldBe("walker.nextNode(); walker.currentNode.id", "'B2'"); 29 shouldBe("walker.nextNode(); walker.currentNode.id", "'B3'"); 32 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, rejectB1Filter, false); 33 shouldBe("walker.firstChild(); walker.currentNode.id", "'A1'") [all...] |
acceptNode-filter.js | 3 var walker; variable 17 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, filter, false); 18 shouldBe("walker.firstChild(); walker.currentNode.id", "'A1'"); 19 shouldBe("walker.nextNode(); walker.currentNode.id", "'B2'"); 22 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, { 31 shouldBe("walker.firstChild(); walker.currentNode.id", "'A1'"); 32 shouldBe("walker.nextNode(); walker.currentNode.id", "'B2'") [all...] |
previousSiblingLastChildSkip.js | 13 var walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, filter, false); variable 15 shouldBe("walker.firstChild(); walker.currentNode.id", "'A1'"); 16 shouldBe("walker.nextNode(); walker.currentNode.id", "'C1'"); 17 shouldBe("walker.nextNode(); walker.currentNode.id", "'C2'"); 18 shouldBe("walker.nextNode(); walker.currentNode.id", "'D1'"); 19 shouldBe("walker.nextNode(); walker.currentNode.id", "'D2'") [all...] |
traversal-skip-most.js | 3 var walker; variable 17 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, filter, false); 18 shouldBe("walker.firstChild(); walker.currentNode.id", "'B1'"); 19 shouldBe("walker.nextSibling(); walker.currentNode.id", "'B3'"); 22 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, filter, false); 23 walker.currentNode = testElement.querySelectorAll('#B3')[0]; 24 shouldBe("walker.previousSibling(); walker.currentNode.id", "'B1'") [all...] |
filter-throw.js | 3 var walker; variable 8 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, function(node) { 14 shouldThrow("walker.firstChild();"); 15 shouldBe("walker.currentNode.id", "'root'") 16 shouldThrow("walker.nextNode();walker.currentNode.id"); 17 shouldBe("walker.currentNode.id", "'root'") 19 walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, { 27 shouldThrow("walker.firstChild();"); 28 shouldBe("walker.currentNode.id", "'root'" [all...] |
previousNodeLastChildReject.js | 13 var walker = document.createTreeWalker(testElement, NodeFilter.SHOW_ELEMENT, filter, false); variable 15 shouldBe("walker.firstChild(); walker.currentNode.id", "'A1'"); 16 shouldBe("walker.nextNode(); walker.currentNode.id", "'B1'"); 17 shouldBe("walker.nextNode(); walker.currentNode.id", "'C1'"); 18 shouldBe("walker.nextNode(); walker.currentNode.id", "'B2'"); 19 shouldBe("walker.previousNode(); walker.currentNode.id", "'C1'") [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
WalkingIteratorSorted.java | 98 AxesWalker walker = m_firstWalker; local 102 for(int i = 0; null != walker; i++) 104 int axis = walker.getAxis(); 106 if(walker.isDocOrdered()) 114 walker = walker.getNextWalker(); 117 boolean isLastWalker = (null == walker.getNextWalker()); 120 if(walker.isDocOrdered() && (axis == Axis.DESCENDANT || 148 // AxesWalker walker = m_firstWalker; 152 // for(int i = 0; null != walker; i++ [all...] |
WalkingIterator.java | 83 * Get the analysis bits for this walker, as defined in the WalkerFactory. 91 AxesWalker walker = m_firstWalker; local 93 while (null != walker) 95 int bit = walker.getAnalysisBits(); 97 walker = walker.getNextWalker(); 206 * Get the head of the walker list. 208 * @return The head of the walker list, or null 218 * Set the head of the walker list. 220 * @param walker Should be a valid AxesWalker 262 AxesWalker walker = m_firstWalker; local 290 AxesWalker walker = m_firstWalker; local [all...] |
AxesWalker.java | 65 * walker in the op map. 101 * Do a deep clone of this walker, including next and previous walkers. 173 * Detaches the walker from the set which it iterated over, releasing 200 * Get the analysis bits for this walker, as defined in the WalkerFactory. 230 XSLMessages.createXPATHMessage(XPATHErrorResources.ER_SETTING_WALKER_ROOT_TO_NULL, null)); //"\n !!!! Error! Setting the root of a walker to null!!!"); 256 * Set the next walker in the location step chain. 259 * @param walker Reference to AxesWalker derivative, or may be null. 261 public void setNextWalker(AxesWalker walker) 263 m_nextWalker = walker; 267 * Get the next walker in the location step chain 356 AxesWalker walker = wi().getLastUsedWalker(); local 417 AxesWalker walker; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/android/fonts/ |
FontAndroid.cpp | [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treeparser/ |
Main.java | 17 LangDumpDecl walker = new LangDumpDecl(nodes); local 18 walker.decl();
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t047treeparser.py | 66 walker = self.getWalker(nodes) 67 walker.program() 69 # FIXME: need to crosscheck with Java target (compile walker with 73 walker.traces, 115 walker = self.getWalker(nodes) 116 r = walker.variable()
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/tree-parser/ |
basic.rb | 39 walker = FlatListWalker::TreeParser.new( nodes ) 40 walker.a 41 walker.output.should == "abc, 34" 75 walker = SimpleTreeWalker::TreeParser.new( nodes ) 76 walker.a 77 walker.output.should == "abc, 34" 114 walker = FlatVsTreeDecisionWalker::TreeParser.new( nodes ) 115 walker.a 116 walker.output.should == "^(a 1)b 2\n" 152 walker = FlatVsTreeDecision2Walker::TreeParser.new( nodes [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/ |
DOM3SerializerImpl.java | 108 DOM3TreeWalker walker = new DOM3TreeWalker(fSerializationHandler,
local 111 walker.traverse(node);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
CheckSizeofPointer.cpp | 84 WalkAST walker(BR, mgr.getAnalysisDeclContext(D)); 85 walker.Visit(D->getBody());
|
VirtualCallChecker.cpp | 218 WalkAST walker(BR, mgr.getAnalysisDeclContext(RD)); 225 walker.Visit(Body); 226 walker.Execute(); 233 walker.Visit(Body); 234 walker.Execute();
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
ElemTemplateElement.java | 1342 Node walker = getParentNode(), prev = null; local 1367 ElemTemplateElement walker = getParentNodeElem(); local [all...] |
RedundentExprEliminator.java | 452 // Walk to the first walker after the one's we are replacing. 453 AxesWalker walker = wi.getFirstWalker(); local 456 assertion(null != walker, "Walker should not be null!"); 457 walker = walker.getNextWalker(); 460 if(null != walker) 466 few.setNextWalker(walker); 467 walker.setPrevWalker(few); 492 AxesWalker walker = (AxesWalker)wi.getFirstWalker().clone() local [all...] |
/external/webkit/Source/WebCore/platform/win/ |
FileSystemWin.cpp | 332 PathWalker walker(directory, filter); 333 if (!walker.isValid()) 337 if (walker.data().dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) 340 entries.append(makeString(directory, "\\", reinterpret_cast<const UChar*>(walker.data().cFileName))); 341 } while (walker.step());
|
/external/libxml2/include/libxml/ |
list.h | 46 * @user: extra user provided data to the walker 112 xmlListWalker walker, 116 xmlListWalker walker,
|
/external/webkit/Source/WebKit2/UIProcess/Plugins/win/ |
PluginInfoStoreWin.cpp | 263 PathWalker walker(directory, "*"); 264 if (!walker.isValid()) 268 if (walker.data().dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) 271 String filename = walker.data().cFileName; 276 } while (walker.step());
|
/external/v8/src/ |
platform-solaris.cc | 284 struct StackWalker* walker = static_cast<struct StackWalker*>(data); local 287 int i = walker->index; 289 walker->frames[i].address = reinterpret_cast<void*>(pc); 292 walker->frames[i].text[OS::kStackWalkMaxTextLen - 1] = '\0'; 294 Vector<char> text = MutableCStrVector(walker->frames[i].text, 310 walker->index++; 317 struct StackWalker walker = { frames, 0 }; local 321 if (!walkcontext(&ctx, StackWalkCallback, &walker)) { 325 return walker.index;
|
/external/libxml2/ |
list.c | 669 * @walker: a processing function 670 * @user: a user parameter passed to the walker function 673 * apply the walker function to it 676 xmlListWalk(xmlListPtr l, xmlListWalker walker, const void *user) { 679 if ((l == NULL) || (walker == NULL)) 682 if((walker(lk->data, user)) == 0) 690 * @walker: a processing function 691 * @user: a user parameter passed to the walker function 694 * apply the walker function to it 697 xmlListReverseWalk(xmlListPtr l, xmlListWalker walker, const void *user) [all...] |
/external/antlr/antlr-3.4/antlr3-maven-archetype/src/main/resources/archetype-resources/src/main/java/ |
Main.java | 174 // NOw walk it with the generic tree walker, which does nothing but 180 TTree walker = new TTree(new CommonTreeNodeStream(t)); local 183 walker.a();
|