Home
last modified time | relevance | path

Searched refs:createTree (Results 1 – 23 of 23) sorted by relevance

/external/guava/guava-tests/benchmark/com/google/common/collect/
DBinaryTreeTraverserBenchmark.java46 Optional<BinaryNode> createTree(int size, Random rng) { in createTree() method
54 rng.nextInt(), createTree(leftChildSize, rng), createTree(rightChildSize, rng))); in createTree()
60 Optional<BinaryNode> createTree(int size, Random rng) { in createTree() method
70 Optional<BinaryNode> createTree(int size, Random rng) { in createTree() method
84 Optional<BinaryNode> createTree(int size, Random rng) { in createTree() method
109 abstract Optional<BinaryNode> createTree(int size, Random rng); in createTree() method in BinaryTreeTraverserBenchmark.Topology
157 this.view = traversal.view(topology.createTree(size, rng).get(), VIEWER); in setUp()
/external/guava/android/guava-tests/benchmark/com/google/common/collect/
DBinaryTreeTraverserBenchmark.java46 Optional<BinaryNode> createTree(int size, Random rng) { in createTree() method
54 rng.nextInt(), createTree(leftChildSize, rng), createTree(rightChildSize, rng))); in createTree()
60 Optional<BinaryNode> createTree(int size, Random rng) { in createTree() method
70 Optional<BinaryNode> createTree(int size, Random rng) { in createTree() method
84 Optional<BinaryNode> createTree(int size, Random rng) { in createTree() method
109 abstract Optional<BinaryNode> createTree(int size, Random rng); in createTree() method in BinaryTreeTraverserBenchmark.Topology
157 this.view = traversal.view(topology.createTree(size, rng).get(), VIEWER); in setUp()
/external/llvm-project/clang/unittests/Tooling/Syntax/
DTreeTest.cpp25 Tree *createTree(ArrayRef<const Node *> Children) { in createTree() function in __anon66d3c77e0111::TreeTest
32 return clang::syntax::createTree(*Arena, ChildrenWithRoles, in createTree()
45 return {{createTree(Children)}}; in generateAllForests()
53 auto *LastParent = createTree(Children.take_back(ChildrenCount)); in generateAllForests()
100 AllTrees.push_back(createTree(Base)); in generateAllTreesWithShape()
134 auto *Tree = syntax::createTree(*Arena, in TEST_F()
233 auto *List = dyn_cast<syntax::List>(syntax::createTree( in TEST_P()
254 auto *List = dyn_cast<syntax::List>(syntax::createTree( in TEST_P()
274 auto *List = dyn_cast<syntax::List>(syntax::createTree( in TEST_P()
294 auto *List = dyn_cast<syntax::List>(syntax::createTree( in TEST_P()
[all …]
DSynthesisTest.cpp113 auto *Tree = createTree(*Arena, {}, NodeKind::UnknownExpression); in TEST_P()
125 auto *TreeParen = createTree(*Arena, in TEST_P()
141 auto *Int1 = createTree(*Arena, {{Leaf1, NodeRole::LiteralToken}}, in TEST_P()
147 auto *Int2 = createTree(*Arena, {{Leaf2, NodeRole::LiteralToken}}, in TEST_P()
150 auto *TreeBinaryOperator = createTree(*Arena, in TEST_P()
171 auto *StatementContinue = createTree(*Arena, in TEST_P()
/external/antlr/runtime/ObjC/Framework/
DTreeIterator.m54 down = [[adaptor createTree:TokenTypeDOWN Text:@"DOWN"] retain];
55 up = [[adaptor createTree:TokenTypeUP Text:@"UP"] retain];
56 eof = [[adaptor createTree:TokenTypeEOF Text:@"EOF"] retain];
72 down = [[adaptor createTree:TokenTypeDOWN Text:@"DOWN"] retain];
73 up = [[adaptor createTree:TokenTypeUP Text:@"UP"] retain];
74 eof = [[adaptor createTree:TokenTypeEOF Text:@"EOF"] retain];
88 down = [[adaptor createTree:TokenTypeDOWN Text:@"DOWN"] retain];
89 up = [[adaptor createTree:TokenTypeUP Text:@"UP"] retain];
90 eof = [[adaptor createTree:TokenTypeEOF Text:@"EOF"] retain];
DBufferedTreeNodeStream.m117 down = [[adaptor createTree:TokenTypeDOWN Text:@"DOWN"] retain];
118 up = [[adaptor createTree:TokenTypeUP Text:@"UP"] retain];
119 eof = [[adaptor createTree:TokenTypeEOF Text:@"EOF"] retain];
134 down = [[adaptor createTree:TokenTypeDOWN Text:@"DOWN"] retain];
135 up = [[adaptor createTree:TokenTypeUP Text:@"UP"] retain];
136 eof = [[adaptor createTree:TokenTypeEOF Text:@"EOF"] retain];
151 down = [[adaptor createTree:TokenTypeDOWN Text:@"DOWN"] retain];
152 up = [[adaptor createTree:TokenTypeUP Text:@"UP"] retain];
153 eof = [[adaptor createTree:TokenTypeEOF Text:@"EOF"] retain];
171 down = [[adaptor createTree:TokenTypeDOWN Text:@"DOWN"] retain];
[all …]
DTreeAdaptor.h107 - (id) createTree:(NSInteger)tokenType FromToken:(id<Token>)fromToken;
108 - (id) createTree:(NSInteger)tokenType FromToken:(id<Token>)fromToken Text:(NSString *)text;
109 - (id) createTree:(NSInteger)tokenType Text:(NSString *)text;
DBaseTreeAdaptor.h114 - (id<BaseTree>) createTree:(NSInteger)aTType FromToken:(id<Token>)aFromToken;
115 - (id<BaseTree>) createTree:(NSInteger)aTType FromToken:(id<Token>)aFromToken Text:(NSString *)theT…
116 - (id<BaseTree>) createTree:(NSInteger)aTType Text:(NSString *)theText;
DTreeAdaptor.m75 - (id) createTree:(NSInteger)tokenType fromToken:(id<Token>)fromToken
91 - (id) createTree:(NSInteger)tokenType fromToken:(id<Token>)fromToken text:(NSString *)tokenText
107 - (id) createTree:(NSInteger)tokenType text:(NSString *)tokenText
DBaseTreeAdaptor.m225 - (id)createTree:(NSInteger)tokenType FromToken:(id<Token>)fromToken
234 - (id)createTree:(NSInteger)tokenType FromToken:(id<Token>)fromToken Text:(NSString *)text
237 return [self createTree:tokenType Text:text];
245 - (id)createTree:(NSInteger)tokenType Text:(NSString *)text
DCommonTreeNodeStream.m60 navigationNodeEOF = [[adaptor createTree:TokenTypeEOF Text:@"EOF"] retain]; // set EOF
75 navigationNodeEOF = [[adaptor createTree:TokenTypeEOF Text:@"EOF"] retain]; // set EOF
DTreeWizard.h128 - (CommonTree *) createTree:(NSString *)pattern;
DTreePatternParser.m183 node = [adaptor createTree:treeNodeType Text:text];
DCommonTreeAdaptor.m89 - (CommonTree *)createTree:(NSInteger)tokenType Text:(NSString *)text
DTreeWizard.m574 - (CommonTree *) createTree:(NSString *)pattern
/external/antlr/runtime/ObjC/Framework/examples/polydiff/
DPolyDifferentiator.m546 [[treeAdaptor createTree:MULT FromToken:@"*" Text:@"MULT"] retain]
550 [[treeAdaptor createTree:INT FromToken:c2 Text:@"INT"] retain]
566 [[treeAdaptor createTree:INT FromToken:e2 Text:@"INT"] retain]
648 [[treeAdaptor createTree:MULT FromToken:@"*" Text:@"MULT"] retain]
652 [[treeAdaptor createTree:INT FromToken:c2 Text:@"INT"] retain]
668 [[treeAdaptor createTree:INT FromToken:e2 Text:@"INT"] retain]
713 [[treeAdaptor createTree:INT FromToken:@"0" Text:@"INT"] retain]
752 [[treeAdaptor createTree:INT FromToken:@"1" Text:@"INT"] retain]
DPolyParser.m502 [[treeAdaptor createTree:MULT FromToken:@"*" Text:@"MULT"] retain]
564 [[treeAdaptor createTree:MULT FromToken:@"*" Text:@"MULT"] retain]
DSimplifier.m615 …[[treeAdaptor createTree:INT FromToken:[NSString stringWithFormat:@"%d", ((a!=nil?[a.text integerV…
729 …[[treeAdaptor createTree:INT FromToken:[NSString stringWithFormat:@"%d", ((a!=nil?[a.text integerV…
846 …[[treeAdaptor createTree:INT FromToken:[NSString stringWithFormat:@"%d", ((a!=nil?[a.text integerV…
1130 [[treeAdaptor createTree:INT FromToken:@"1" Text:@"INT"] retain]
/external/llvm-project/clang/include/clang/Tooling/Syntax/
DBuildTree.h42 createTree(syntax::Arena &A,
/external/llvm-project/clang/lib/Tooling/Syntax/
DSynthesis.cpp197 syntax::Tree *clang::syntax::createTree( in createTree() function in clang::syntax
224 return createTree(A, Children, N->getKind()); in deepCopyExpandingMacros()
229 createTree(A, {{createLeaf(A, tok::semi), NodeRole::Unknown}}, in createEmptyStatement()
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DAST.stg546 …[[treeAdaptor createTree:<tokenType> <if(first(args))>FromToken:<first(args)><endif> <if(first(res…
548 [[treeAdaptor createTree:<tokenType> Text:@"<tokenType>"] retain]
558 [[treeAdaptor createTree:<token> Text:<first(rest(args))> <args; separator=", ">] retain]
/external/antlr/runtime/ObjC/Framework/examples/simplecTreeParser/
DSimpleCParser.m1166 [[treeAdaptor createTree:FUNC_DECL Text:@"FUNC_DECL"] retain]
1225 [[treeAdaptor createTree:FUNC_DEF Text:@"FUNC_DEF"] retain]
1356 [[treeAdaptor createTree:VAR_DEF Text:@"VAR_DEF"] retain]
1632 [[treeAdaptor createTree:FUNC_HDR Text:@"FUNC_HDR"] retain]
1771 [[treeAdaptor createTree:ARG_DEF Text:@"ARG_DEF"] retain]
2039 [[treeAdaptor createTree:BLOCK FromToken:lc Text:@"BLOCK"] retain]
/external/antlr/runtime/ObjC/Framework/examples/treeparser/
DLangParser.m376 [[treeAdaptor createTree:DECL Text:@"DECL"] retain]