/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/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/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 | 129 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 …]
|
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 | 114 CPDF_ObjectWalker walker(object); in AppendObjectSubRefs() local 115 while (const CPDF_Object* obj = walker.GetNext()) { in AppendObjectSubRefs() 120 const bool skip = (walker.GetParent() && obj == root_) || in AppendObjectSubRefs() 121 walker.dictionary_key() == "Parent" || in AppendObjectSubRefs() 131 walker.SkipWalkIntoCurrentObject(); in AppendObjectSubRefs()
|
/external/pigweed/pw_metric/ |
D | metric_service_nanopb.cc | 114 ScopedName(Token name, MetricWalker& rhs) : walker(rhs) { in ScopedName() 115 PW_CHECK_INT_LT(walker.path_.size(), in ScopedName() 116 walker.path_.capacity(), in ScopedName() 118 walker.path_.push_back(name); in ScopedName() 120 ~ScopedName() { walker.path_.pop_back(); } in ~ScopedName() 121 MetricWalker& walker; member 135 MetricWalker walker(writer); in Get() local 144 walker.Walk(metrics_); in Get() 145 walker.Walk(groups_); in Get()
|
/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/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/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/google-breakpad/src/processor/ |
D | stackwalker_mips_unittest.cc | 156 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 …]
|
D | stackwalker_mips64_unittest.cc | 158 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 …]
|
D | stackwalker_arm_unittest.cc | 153 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 …]
|
D | stackwalker_arm64_unittest.cc | 151 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 …]
|
D | stackwalker_amd64_unittest.cc | 157 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 …]
|
D | stackwalker_x86_unittest.cc | 167 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/ |
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()
|
/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];
|