/external/antlr/runtime/Ruby/test/functional/ast-output/ |
D | tree-rewrite.rb | 1012 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/antlr/runtime/Ruby/test/functional/tree-parser/ |
D | 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/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/google-breakpad/src/common/mac/ |
D | macho_id.cc | 131 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 …]
|
D | macho_id.h | 92 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/ |
D | cpdf_object_walker_unittest.cpp | 27 CPDF_ObjectWalker walker(object); in Walk() local 28 while (const CPDF_Object* obj = walker.GetNext()) { in Walk() 96 CPDF_ObjectWalker walker(level_0.get()); in TEST() local 97 while (const CPDF_Object* obj = walker.GetNext()) { in TEST() 98 EXPECT_EQ(cur_parent, walker.GetParent()); in TEST() 113 CPDF_ObjectWalker walker(root_array.get()); in TEST() local 114 while (const CPDF_Object* obj = walker.GetNext()) { in TEST() 117 walker.SkipWalkIntoCurrentObject(); in TEST() 134 CPDF_ObjectWalker walker(dict.get()); in TEST() local 135 while (const CPDF_Object* obj = walker.GetNext()) { in TEST() [all …]
|
D | cpdf_object_avail.cpp | 110 CPDF_ObjectWalker walker(object); in AppendObjectSubRefs() local 111 while (const CPDF_Object* obj = walker.GetNext()) { in AppendObjectSubRefs() 116 const bool skip = (walker.GetParent() && obj == root_.Get()) || in AppendObjectSubRefs() 117 walker.dictionary_key() == "Parent" || in AppendObjectSubRefs() 127 walker.SkipWalkIntoCurrentObject(); in AppendObjectSubRefs()
|
/external/google-breakpad/src/processor/ |
D | stackwalker_mips_unittest.cc | 155 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 …]
|
D | stackwalker_arm_unittest.cc | 152 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 …]
|
D | stackwalker_arm64_unittest.cc | 150 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 …]
|
D | stackwalker_amd64_unittest.cc | 156 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 …]
|
D | stackwalker_x86_unittest.cc | 166 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 …]
|
D | stackwalker_address_list_unittest.cc | 129 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/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
D | LigatureTree.java | 145 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/python/cpython2/Lib/compiler/ |
D | visitor.py | 101 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/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/antlr/runtime/Python3/tests/ |
D | t047treeparser.py | 66 walker = self.getWalker(nodes) 67 walker.program() 73 walker.traces, 115 walker = self.getWalker(nodes) 116 r = walker.variable()
|
/external/antlr/runtime/Python/tests/ |
D | t047treeparser.py | 66 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/ |
D | debugLoop.c | 281 struct PacketList *walker; in enqueue() local 297 walker = (struct PacketList *)cmdQueue; in enqueue() 298 while (walker->next != NULL) in enqueue() 299 walker = walker->next; in enqueue() 301 walker->next = pL; in enqueue()
|
/external/antlr/runtime/ObjC/Framework/examples/treeparser/ |
D | main.m | 26 LangDumpDecl walker = new LangDumpDecl(nodes); 27 walker.decl(); 50 LangDumpDecl *walker = [LangDumpDecl newLangDumpDecl:nodes]; 51 [walker decl];
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | VirtualCallChecker.cpp | 223 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/ |
D | main.m | 24 // SimpleCTP *walker = [[SimpleCTP alloc] initWithTreeNodeStream:treeStream]; 25 // [walker program]; 32 // [walker release];
|