Home
last modified time | relevance | path

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

123

/external/antlr/antlr-3.4/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/antlr-3.4/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.cc131 void MachoID::Update(MachoWalker *walker, off_t offset, size_t size) { in Update() argument
148 if (!walker->ReadBytes(buffer, buffer_size, file_offset)) in Update()
244 MachoWalker walker(memory_, memory_size_, callback, context); in WalkHeader() local
245 return walker.WalkHeader(cpu_type, cpu_subtype); in WalkHeader()
247 MachoWalker walker(path_, callback, context); in WalkHeader() local
248 return walker.WalkHeader(cpu_type, cpu_subtype); in WalkHeader()
253 bool MachoID::WalkerCB(MachoWalker *walker, load_command *cmd, off_t offset, in WalkerCB() argument
260 if (!walker->ReadBytes(&seg, sizeof(seg), offset)) in WalkerCB()
269 if (!walker->CurrentHeader(&header, &header_offset)) in WalkerCB()
277 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/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.cc155 StackwalkerMIPS walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
160 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
183 StackwalkerMIPS walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
187 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
206 StackwalkerMIPS walker(&system_info, &raw_context, NULL, &modules, in TEST_F() local
210 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
262 StackwalkerMIPS walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
266 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
337 StackwalkerMIPS walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
341 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
[all …]
Dstackwalker_arm_unittest.cc152 StackwalkerARM walker(&system_info, &raw_context, -1, &stack_region, &modules, in TEST_F() local
157 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
176 StackwalkerARM walker(&system_info, &raw_context, -1, &stack_region, &modules, in TEST_F() local
180 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
196 StackwalkerARM walker(&system_info, &raw_context, -1, NULL, &modules, in TEST_F() local
200 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
249 StackwalkerARM walker(&system_info, &raw_context, -1, &stack_region, &modules, in TEST_F() local
253 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
320 StackwalkerARM walker(&system_info, &raw_context, -1, &stack_region, &modules, in TEST_F() local
324 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
[all …]
Dstackwalker_arm64_unittest.cc150 StackwalkerARM64 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
155 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
173 StackwalkerARM64 walker(&system_info, &raw_context, NULL, &modules, in TEST_F() local
177 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
226 StackwalkerARM64 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
230 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
298 StackwalkerARM64 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
302 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
365 StackwalkerARM64 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
369 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
[all …]
Dstackwalker_amd64_unittest.cc156 StackwalkerAMD64 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()
183 StackwalkerAMD64 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
187 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
207 StackwalkerAMD64 walker(&system_info, &raw_context, NULL, &modules, in TEST_F() local
211 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
268 StackwalkerAMD64 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
272 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
343 StackwalkerAMD64 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
347 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
[all …]
Dstackwalker_x86_unittest.cc166 StackwalkerX86 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
171 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
193 StackwalkerX86 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
197 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
216 StackwalkerX86 walker(&system_info, &raw_context, NULL, &modules, in TEST_F() local
220 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
258 StackwalkerX86 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
262 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
322 StackwalkerX86 walker(&system_info, &raw_context, &stack_region, &modules, in TEST_F() local
326 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
[all …]
Dstackwalker_address_list_unittest.cc129 StackwalkerAddressList walker(kDummyFrames, arraysize(kDummyFrames), in TEST_F() local
135 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
163 StackwalkerAddressList walker(kDummyFrames, arraysize(kDummyFrames), in TEST_F() local
169 ASSERT_TRUE(walker.Walk(&call_stack, &modules_without_symbols, in TEST_F()
/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()
DRedundentExprEliminator.java453 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/antlr/antlr-3.4/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/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treeparser/
Dmain.m26 LangDumpDecl walker = new LangDumpDecl(nodes);
27 walker.decl();
50 LangDumpDecl *walker = [LangDumpDecl newLangDumpDecl:nodes];
51 [walker decl];
DMain.java17 LangDumpDecl walker = new LangDumpDecl(nodes); in main() local
18 walker.decl(); in main()
/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()
DCheckSizeofPointer.cpp85 WalkAST walker(BR, this, mgr.getAnalysisDeclContext(D)); in checkASTCodeBody() local
86 walker.Visit(D->getBody()); in checkASTCodeBody()
/external/syslinux/com32/lib/syslinux/
Ddisk.c437 const char *walker = (const char *)id; in guid_to_str() local
440 walker += guid_le_walk_map[i]; in guid_to_str()
444 *buf = ((*walker & 0xF0) >> 4) + '0'; in guid_to_str()
448 *buf = (*walker & 0x0F) + '0'; in guid_to_str()
474 char *walker = (char *)id; in str_to_guid() local
510 walker += guid_le_walk_map[i]; in str_to_guid()
511 *walker = *buf << 4; in str_to_guid()
513 *walker |= *buf; in str_to_guid()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/
Dmain.m24 // SimpleCTP *walker = [[SimpleCTP alloc] initWithTreeNodeStream:treeStream];
25 // [walker program];
32 // [walker release];
/external/libxml2/
Dlist.c676 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/apache-xml/src/main/java/org/apache/xml/serializer/dom3/
DDOM3SerializerImpl.java108 DOM3TreeWalker walker = new DOM3TreeWalker(fSerializationHandler, in serializeDOM3() local
111 walker.traverse(node); in serializeDOM3()

123