Home
last modified time | relevance | path

Searched refs:walker (Results 1 – 25 of 114) sorted by relevance

12345

/external/antlr/runtime/Ruby/test/functional/tree-parser/
Dbasic.rb39 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/antlr/runtime/Ruby/test/functional/ast-output/
Dtree-rewrite.rb1012 walker = FlatListWalker::TreeParser.new( nodes )
1013 result = walker.a
1026 walker = SimpleTreeWalker::TreeParser.new( nodes )
1027 result = walker.a
1040 walker = CombinedRewriteAndAutoWalker::TreeParser.new( nodes )
1041 result = walker.a.tree
1050 walker = CombinedRewriteAndAutoWalker::TreeParser.new( nodes )
1051 result = walker.a.tree
1063 walker = AvoidDupWalker::TreeParser.new( nodes )
1064 result = walker.a
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/axes/
DAxesWalker.java261 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 …]
DWalkingIterator.java91 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 …]
DWalkingIteratorSorted.java98 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/google-breakpad/src/common/mac/
Dmacho_id.cc129 void MachoID::Update(MachoWalker *walker, off_t offset, size_t size) { in Update() argument
146 if (!walker->ReadBytes(buffer, buffer_size, file_offset)) in Update()
242 MachoWalker walker(memory_, memory_size_, callback, context); in WalkHeader() local
243 return walker.WalkHeader(cpu_type, cpu_subtype); in WalkHeader()
245 MachoWalker walker(path_, callback, context); in WalkHeader() local
246 return walker.WalkHeader(cpu_type, cpu_subtype); in WalkHeader()
251 bool MachoID::WalkerCB(MachoWalker *walker, load_command *cmd, off_t offset, in WalkerCB() argument
258 if (!walker->ReadBytes(&seg, sizeof(seg), offset)) in WalkerCB()
267 if (!walker->CurrentHeader(&header, &header_offset)) in WalkerCB()
275 if (!walker->ReadBytes(&sec, sizeof(sec), offset)) in WalkerCB()
[all …]
Dmacho_id.h92 void Update(MachoWalker *walker, off_t offset, size_t size);
99 static bool WalkerCB(MachoWalker *walker, load_command *cmd, off_t offset,
103 static bool UUIDWalkerCB(MachoWalker *walker, load_command *cmd, off_t offset,
107 static bool IDWalkerCB(MachoWalker *walker, load_command *cmd, off_t offset,
/external/pdfium/core/fpdfapi/parser/
Dcpdf_object_walker_unittest.cpp26 CPDF_ObjectWalker walker(std::move(object)); in Walk() local
27 while (RetainPtr<const CPDF_Object> obj = walker.GetNext()) { in Walk()
94 CPDF_ObjectWalker walker(level_0); in TEST() local
95 while (RetainPtr<const CPDF_Object> obj = walker.GetNext()) { in TEST()
96 EXPECT_EQ(cur_parent, walker.GetParent()); in TEST()
111 CPDF_ObjectWalker walker(root_array); in TEST() local
112 while (RetainPtr<const CPDF_Object> obj = walker.GetNext()) { in TEST()
115 walker.SkipWalkIntoCurrentObject(); in TEST()
132 CPDF_ObjectWalker walker(dict); in TEST() local
133 while (RetainPtr<const CPDF_Object> obj = walker.GetNext()) { in TEST()
[all …]
Dcpdf_object_avail.cpp117 CPDF_ObjectWalker walker(std::move(object)); in AppendObjectSubRefs() local
118 while (RetainPtr<const CPDF_Object> obj = walker.GetNext()) { in AppendObjectSubRefs()
123 const bool skip = (walker.GetParent() && obj == root_) || in AppendObjectSubRefs()
124 walker.dictionary_key() == "Parent" || in AppendObjectSubRefs()
134 walker.SkipWalkIntoCurrentObject(); in AppendObjectSubRefs()
/external/pigweed/pw_metric/pw_metric_private/
Dmetric_walker.h62 ScopedName(Token name, MetricWalker& rhs) : walker(rhs) { in ScopedName()
64 PW_ASSERT(walker.path_.size() < walker.path_.capacity()); in ScopedName()
65 walker.path_.push_back(name); in ScopedName()
67 ~ScopedName() { walker.path_.pop_back(); } in ~ScopedName()
68 MetricWalker& walker; member
/external/python/cpython2/Lib/compiler/
Dvisitor.py101 def walk(tree, visitor, walker=None, verbose=None): argument
102 if walker is None:
103 walker = _walker()
105 walker.VERBOSE = verbose
106 walker.preorder(tree, visitor)
107 return walker.visitor
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DLigatureTree.java145 public void walk(TreeWalker walker) in walk() argument
148 walker.down(target); in walk()
154 subnodes[i].walk(walker); in walk()
159 walker.ligature(ligature); in walk()
162 walker.up(); in walk()
236 public void walk(TreeWalker walker) in walk() argument
238 root.walk(walker); in walk()
239 walker.done(); in walk()
/external/google-breakpad/src/processor/
Dstackwalker_mips_unittest.cc156 StackwalkerMIPS walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
161 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
185 StackwalkerMIPS walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
189 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
209 StackwalkerMIPS walker(&system_info, &raw_context, NULL, &modules, in TEST_F() local
213 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
266 StackwalkerMIPS walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
270 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
342 StackwalkerMIPS walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
346 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
[all …]
Dstackwalker_mips64_unittest.cc158 StackwalkerMIPS walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
163 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
188 StackwalkerMIPS walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
192 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
213 StackwalkerMIPS walker(&system_info, &raw_context, NULL, &modules, in TEST_F() local
217 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
271 StackwalkerMIPS walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
275 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
348 StackwalkerMIPS walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
352 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
[all …]
Dstackwalker_arm_unittest.cc153 StackwalkerARM walker(&system_info, &raw_context, -1, &stack_region, &modules, in TEST_F() local
158 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
177 StackwalkerARM walker(&system_info, &raw_context, -1, &stack_region, &modules, in TEST_F() local
181 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
197 StackwalkerARM walker(&system_info, &raw_context, -1, NULL, &modules, in TEST_F() local
201 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
250 StackwalkerARM walker(&system_info, &raw_context, -1, &stack_region, &modules, in TEST_F() local
254 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
321 StackwalkerARM walker(&system_info, &raw_context, -1, &stack_region, &modules, in TEST_F() local
325 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
[all …]
Dstackwalker_arm64_unittest.cc151 StackwalkerARM64 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
156 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
174 StackwalkerARM64 walker(&system_info, &raw_context, NULL, &modules, in TEST_F() local
178 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
227 StackwalkerARM64 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
231 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
299 StackwalkerARM64 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
303 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
366 StackwalkerARM64 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
370 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
[all …]
Dstackwalker_amd64_unittest.cc157 StackwalkerAMD64 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
162 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
184 StackwalkerAMD64 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
188 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
208 StackwalkerAMD64 walker(&system_info, &raw_context, NULL, &modules, in TEST_F() local
212 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
269 StackwalkerAMD64 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
273 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
344 StackwalkerAMD64 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
348 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
[all …]
Dstackwalker_x86_unittest.cc167 StackwalkerX86 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
172 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
194 StackwalkerX86 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
198 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
217 StackwalkerX86 walker(&system_info, &raw_context, NULL, &modules, in TEST_F() local
221 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
259 StackwalkerX86 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
263 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
323 StackwalkerX86 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
327 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DElemTemplateElement.java1342 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()
/external/antlr/runtime/Python3/tests/
Dt047treeparser.py66 walker = self.getWalker(nodes)
67 walker.program()
73 walker.traces,
115 walker = self.getWalker(nodes)
116 r = walker.variable()
/external/antlr/runtime/Python/tests/
Dt047treeparser.py66 walker = self.getWalker(nodes)
67 walker.program()
73 walker.traces,
115 walker = self.getWalker(nodes)
116 r = walker.variable()
/external/oj-libjdwp/src/share/back/
DdebugLoop.c293 struct PacketList *walker; in enqueue() local
309 walker = (struct PacketList *)cmdQueue; in enqueue()
310 while (walker->next != NULL) in enqueue()
311 walker = walker->next; in enqueue()
313 walker->next = pL; in enqueue()
/external/antlr/runtime/ObjC/Framework/examples/treeparser/
Dmain.m26 LangDumpDecl walker = new LangDumpDecl(nodes);
27 walker.decl();
50 LangDumpDecl *walker = [LangDumpDecl newLangDumpDecl:nodes];
51 [walker decl];
/external/clang/lib/StaticAnalyzer/Checkers/
DVirtualCallChecker.cpp223 WalkAST walker(this, BR, mgr.getAnalysisDeclContext(RD)); in checkASTDecl() local
229 walker.Visit(Body); in checkASTDecl()
230 walker.Execute(); in checkASTDecl()
237 walker.Visit(Body); in checkASTDecl()
238 walker.Execute(); in checkASTDecl()
/external/antlr/runtime/ObjC/Framework/examples/treerewrite/
Dmain.m24 // SimpleCTP *walker = [[SimpleCTP alloc] initWithTreeNodeStream:treeStream];
25 // [walker program];
32 // [walker release];

12345