Searched refs:subtrees (Results 1 - 12 of 12) sorted by relevance

/external/chromium_org/chrome/browser/sync_file_system/
H A Dsubtree_set_unittest.cc14 SubtreeSet subtrees; local
16 EXPECT_EQ(0u, subtrees.size());
17 EXPECT_TRUE(subtrees.insert(FPL("/a/b/c")));
18 EXPECT_FALSE(subtrees.insert(FPL("/a/b")));
19 EXPECT_FALSE(subtrees.insert(FPL("/a/b/c")));
20 EXPECT_FALSE(subtrees.insert(FPL("/a/b/c/d")));
21 EXPECT_TRUE(subtrees.insert(FPL("/a/b/d")));
22 EXPECT_FALSE(subtrees.insert(FPL("/")));
24 EXPECT_EQ(2u, subtrees.size());
26 EXPECT_FALSE(subtrees
[all...]
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/
H A DX509CertSelectorTest.java1782 // make the subtrees (part of name constraints)
1783 // this subtrees will be used as permited and as excluded
1786 GeneralSubtrees subtrees = new GeneralSubtrees();
1788 subtrees.addSubtree(subtree);
1808 constraints = new NameConstraints(subtrees, null);
1825 ? new NameConstraints(subtrees, subtrees)
1826 : new NameConstraints(null, subtrees);
1934 // make the subtrees (part of name constraints)
1935 // this subtrees wil
[all...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
H A DTreeWizard.cs61 * match subtrees against it.
253 public FindTreeWizardContextVisitor(TreeWizard outer, TreePattern tpattern, IList subtrees) { argument
256 _subtrees = subtrees;
273 /** <summary>Return a List of subtrees matching pattern.</summary> */
275 IList subtrees = new List<object>();
288 Visit(t, rootTokenType, new FindTreeWizardContextVisitor(this, tpattern, subtrees));
289 return subtrees;
353 * For all subtrees that match the pattern, execute the visit action.
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
H A DTreeWizard.cs62 * match subtrees against it.
289 public FindTreeWizardContextVisitor( TreeWizard outer, TreePattern tpattern, IList subtrees )
293 _subtrees = subtrees;
313 /** <summary>Return a List of subtrees matching pattern.</summary> */
316 IList subtrees = new List<object>();
330 Visit( t, rootTokenType, new FindTreeWizardContextVisitor( this, tpattern, subtrees ) );
331 return subtrees;
407 * For all subtrees that match the pattern, execute the visit action.
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
H A DTreeWizard.java51 * match subtrees against it.
210 /** Return a List of subtrees matching pattern. */
212 final List subtrees = new ArrayList();
229 subtrees.add(t);
233 return subtrees;
268 /** For all subtrees that match the pattern, execute the visit action.
/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A Dtreewizard.py319 match subtrees against it.
431 """Return a List of subtrees matching pattern."""
433 subtrees = []
449 subtrees.append(tree)
453 return subtrees
460 subtrees will be visited.
498 For all subtrees that match the pattern, execute the visit action.
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
H A Dtest-tree-wizard.rb484 subtrees = @wizard.find(tree, "(A B)").map { |t| t.to_s }
485 assert_equal(%w(foo big), subtrees)
490 subtrees = @wizard.find( tree, A ).map { |t| t.to_s }
491 assert_equal(%w(A foo big), subtrees)
/external/antlr/antlr-3.4/runtime/Python/unittests/
H A Dtesttreewizard.py674 subtrees = wiz.find(t, "(A B)")
675 found = [str(node) for node in subtrees]
683 subtrees = wiz.find(t, wiz.getTokenType('A'))
684 found = [str(node) for node in subtrees]
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
H A DTestTreeWizard.java395 final List subtrees = wiz.find(t, "(A B)");
396 List elements = subtrees;
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/
H A Dwizard.rb366 subtrees = []
367 visit_pattern( tree, pattern ) { | t, | subtrees << t }
368 return( subtrees )
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
H A DAntlr.Runtime.Tree.pas927 /// match subtrees against it.
958 /// <summary>Return a List of subtrees matching pattern</summary>
977 /// For all subtrees that match the pattern, execute the visit action.
1118 /// Ref to ID or expr but no tokens in ID stream or subtrees in expr stream
1499 /// The list of tokens or subtrees we are tracking
/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...

Completed in 2640 milliseconds