HomeSort by relevance Sort by last modified time
    Searched refs:walker (Results 1 - 25 of 33) sorted by null

1 2

  /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...]
FilterExprWalker.java 35 * Walker for the OP_VARIABLE, or OP_EXTFUNCTION, or OP_FUNCTION, or OP_GROUP,
106 * Detaches the walker from the set which it iterated over, releasing
262 * Get the analysis bits for this walker, as defined in the WalkerFactory.
340 FilterExprWalker walker = (FilterExprWalker)expr;
341 if(!m_expr.deepEquals(walker.m_expr))
  /external/webkit/Source/WebCore/platform/graphics/android/
FontAndroid.cpp     [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 79 WalkAST walker(BR);
80 walker.Visit(D->getBody());
LLVMConventionsChecker.cpp 135 StringRefCheckerVisitor walker(BR);
136 walker.Visit(D->getBody());
231 ASTFieldVisitor walker(R, BR);
232 walker.Visit(*I);
  /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 287 struct StackWalker* walker = static_cast<struct StackWalker*>(data); local
290 int i = walker->index;
292 walker->frames[i].address = reinterpret_cast<void*>(pc);
295 walker->frames[i].text[OS::kStackWalkMaxTextLen - 1] = '\0';
297 Vector<char> text = MutableCStrVector(walker->frames[i].text,
313 walker->index++;
320 struct StackWalker walker = { frames, 0 }; local
324 if (!walkcontext(&ctx, StackWalkCallback, &walker)) {
328 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...]
  /dalvik/dx/src/com/android/dx/ssa/
Dominators.java 184 DfsWalker walker = new DfsWalker(); local
185 meth.forEachBlockDepthFirst(postdom, walker);
  /external/apache-xml/src/main/java/org/apache/xalan/processor/
ProcessorInclude.java 231 TreeWalker walker = new TreeWalker(handler, new org.apache.xml.utils.DOM2Helper(), systemId); local
235 walker.traverse(node);
TransformerFactoryImpl.java 115 TreeWalker walker = new TreeWalker(builder, local
119 walker.traverse(node);
294 TreeWalker walker = new TreeWalker(handler, new org.apache.xml.utils.DOM2Helper(), baseID); local
296 walker.traverse(node);

Completed in 1359 milliseconds

1 2