Home
last modified time | relevance | path

Searched refs:found (Results 1 – 25 of 4517) sorted by relevance

12345678910>>...181

/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestAutoAST.java44 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testTokenList() local
46 assertEquals("abc 34\n", found); in testTokenList()
57 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testTokenListInSingleAltBlock() local
59 assertEquals("abc 34\n", found); in testTokenListInSingleAltBlock()
70 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testSimpleRootAtOuterLevel() local
72 assertEquals("(abc 34)\n", found); in testSimpleRootAtOuterLevel()
83 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSimpleRootAtOuterLevelReverse() local
85 assertEquals("(abc 34)\n", found); in testSimpleRootAtOuterLevelReverse()
96 String found = execParser("T.g", grammar, "TParser", "TLexer", in testBang() local
98 assertEquals("abc 4532\n", found); in testBang()
[all …]
DTestRewriteAST.java49 String found = execParser("T.g", grammar, "TParser", "TLexer", in testDelete() local
51 assertEquals("", found); in testDelete()
62 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSingleToken() local
64 assertEquals("abc\n", found); in testSingleToken()
75 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSingleTokenToNewNode() local
77 assertEquals("x\n", found); in testSingleTokenToNewNode()
88 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSingleTokenToNewNodeRoot() local
90 assertEquals("(x INT)\n", found); in testSingleTokenToNewNodeRoot()
102 String found = execParser("TT.g", grammar, "TTParser", "TTLexer", in testSingleTokenToNewNode2() local
104 assertEquals("ID\n", found); in testSingleTokenToNewNode2()
[all …]
DTestTreeGrammarRewriteAST.java62 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", in testFlatList() local
64 assertEquals("34 abc\n", found); in testFlatList()
82 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", in testSimpleTree() local
84 assertEquals("(34 abc)\n", found); in testSimpleTree()
101 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", in testNonImaginaryWithCtor() local
103 assertEquals("99\n", found); in testNonImaginaryWithCtor()
121 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", in testCombinedRewriteAndAuto() local
123 assertEquals("(34 abc)\n", found); in testCombinedRewriteAndAuto()
125 found = execTreeParser("T.g", grammar, "TParser", "TP.g", in testCombinedRewriteAndAuto()
127 assertEquals("34\n", found); in testCombinedRewriteAndAuto()
[all …]
DTestSets.java49 String found = execParser("P.g", grammar, "PParser", "PLexer", in testSeqDoesNotBecomeSet() local
51 assertEquals("34\n", found); in testSeqDoesNotBecomeSet()
58 String found = execParser("T.g", grammar, "TParser", "TLexer", in testParserSet() local
60 assertEquals("x\n", found); in testParserSet()
67 String found = execParser("T.g", grammar, "TParser", "TLexer", in testParserNotSet() local
69 assertEquals("z\n", found); in testParserNotSet()
76 String found = execParser("T.g", grammar, "TParser", "TLexer", in testParserNotToken() local
78 assertEquals("zz\n", found); in testParserNotToken()
85 String found = execParser("T.g", grammar, "TParser", "TLexer", in testParserNotTokenWithLabel() local
87 assertEquals("z\n", found); in testParserNotTokenWithLabel()
[all …]
DTestSyntacticPredicateEvaluation.java53 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTwoPredsWithNakedAlt() local
60 assertEquals(expecting, found); in testTwoPredsWithNakedAlt()
62 found = execParser("T.g", grammar, "TParser", "TLexer", in testTwoPredsWithNakedAlt()
68 assertEquals(expecting, found); in testTwoPredsWithNakedAlt()
70 found = execParser("T.g", grammar, "TParser", "TLexer", in testTwoPredsWithNakedAlt()
79 assertEquals(expecting, found); in testTwoPredsWithNakedAlt()
102 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTwoPredsWithNakedAltNotLast() local
109 assertEquals(expecting, found); in testTwoPredsWithNakedAltNotLast()
111 found = execParser("T.g", grammar, "TParser", "TLexer", in testTwoPredsWithNakedAltNotLast()
117 assertEquals(expecting, found); in testTwoPredsWithNakedAltNotLast()
[all …]
DTestHeteroAST.java50 String found = execParser("T.g", grammar, "TParser", "TLexer", in testToken() local
52 assertEquals("a<V>\n", found); in testToken()
62 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTokenCommonTree() local
64 assertEquals("a\n", found); in testTokenCommonTree()
79 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTokenWithQualifiedType() local
81 assertEquals("a<V>\n", found); in testTokenWithQualifiedType()
96 String found = execParser("T.g", grammar, "TParser", "TLexer", in testNamedType() local
98 assertEquals("a<V>\n", found); in testNamedType()
114 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTokenWithLabel() local
116 assertEquals("a<V>\n", found); in testTokenWithLabel()
[all …]
DTestASTConstruction.java45 String found = g.getRule("a").tree.toStringTree(); in testA() local
46 assertEquals(expecting, found); in testA()
55 String found = g.getRule("a").tree.toStringTree(); in testEmptyAlt() local
56 assertEquals(expecting, found); in testEmptyAlt()
66 String found = g.getRule("A").tree.toStringTree(); in testNakeRulePlusInLexer() local
67 assertEquals(expecting, found); in testNakeRulePlusInLexer()
77 String found = g.getRule("a").tree.toStringTree(); in testRulePlus() local
78 assertEquals(expecting, found); in testRulePlus()
88 String found = g.getRule("a").tree.toStringTree(); in testNakedRulePlus() local
89 assertEquals(expecting, found); in testNakedRulePlus()
[all …]
DTestSemanticPredicateEvaluation.java39 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testSimpleCyclicDFAWithPredicate() local
41 assertEquals("alt2\n", found); in testSimpleCyclicDFAWithPredicate()
51 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testSimpleCyclicDFAWithInstanceVarPredicate() local
53 assertEquals("alt2\n", found); in testSimpleCyclicDFAWithInstanceVarPredicate()
67 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testPredicateValidation() local
69 assertEquals("error: FailedPredicateException(a,{false}?)\n", found); in testPredicateValidation()
79 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testLexerPreds() local
82 assertEquals("token 2\n", found); in testLexerPreds()
92 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testLexerPreds2() local
95 assertEquals("token 1\n", found); in testLexerPreds2()
[all …]
DTestLexer.java51 String found = execParser("P.g", grammar, "PParser", "PLexer", in testSetText() local
53 assertEquals("\t\n", found); in testSetText()
65 String found = execParser("P.g", grammar, "PParser", "PLexer", in testRefToRuleDoesNotSetTokenNorEmitAnother() local
67 assertEquals("-34\n", found); in testRefToRuleDoesNotSetTokenNorEmitAnother()
79 String found = execParser("P.g", grammar, "PParser", "PLexer", in testRefToRuleDoesNotSetChannel() local
81 assertEquals("- 34, channel=0\n", found); in testRefToRuleDoesNotSetChannel()
92 String found = execParser("P.g", grammar, "PParser", "PLexer", in testWeCanSetType() local
94 assertEquals("-34\n", found); in testWeCanSetType()
106 String found = execParser("P.g", grammar, "PParser", "PLexer", in testRefToFragment() local
108 assertEquals("-34\n", found); in testRefToFragment()
[all …]
DTestTreeParsing.java48 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", in testFlatList() local
50 assertEquals("abc, 34\n", found); in testFlatList()
68 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", in testSimpleTree() local
70 assertEquals("abc, 34\n", found); in testSimpleTree()
91 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", in testFlatVsTreeDecision() local
93 assertEquals("^(a 1)b 2\n", found); in testFlatVsTreeDecision()
114 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", in testFlatVsTreeDecision2() local
117 assertEquals("^(a 3)b 5\n", found); in testFlatVsTreeDecision2()
137 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", in testCyclicDFALookahead() local
139 assertEquals("alt 1\n", found); in testCyclicDFALookahead()
[all …]
DTestRewriteTemplates.java46 String found = execParser("T.g", grammar, "TParser", "TLexer", in testDelete() local
48 assertEquals("", found); in testDelete()
59 String found = execParser("T.g", grammar, "TParser", "TLexer", in testAction() local
61 assertEquals("abc\n", found); in testAction()
72 String found = execParser("T.g", grammar, "TParser", "TLexer", in testEmbeddedLiteralConstructor() local
74 assertEquals("abc\n", found); in testEmbeddedLiteralConstructor()
85 String found = execParser("T.g", grammar, "TParser", "TLexer", in testInlineTemplate() local
87 assertEquals("x:abc, y:34;\n", found); in testInlineTemplate()
100 String found = execParser("T.g", grammar, "TParser", "TLexer", in testNamedTemplate() local
102 assertEquals("abc 34\n", found); in testNamedTemplate()
[all …]
DTestJavaCodeGeneration.java46 boolean found = in testDupVarDefForPinchedState()
50 assertEquals(expecting, found); in testDupVarDefForPinchedState()
59 boolean found = in testLabeledNotSetsInLexer()
63 assertEquals(expecting, found); in testLabeledNotSetsInLexer()
73 String found = execParser("T.g", grammar, "TParser", "TLexer", in testLabeledSetsInLexer() local
75 assertEquals("x\n", found); in testLabeledSetsInLexer()
85 String found = execParser("T.g", grammar, "TParser", "TLexer", in testLabeledRangeInLexer() local
87 assertEquals("x\n", found); in testLabeledRangeInLexer()
97 String found = execParser("T.g", grammar, "TParser", "TLexer", in testLabeledWildcardInLexer() local
99 assertEquals("x\n", found); in testLabeledWildcardInLexer()
[all …]
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt058rewriteAST.py123 found = self.execParser(grammar, "a", "abc 34")
124 self.assertEquals("", found)
138 found = self.execParser(grammar, "a", "abc")
139 self.assertEquals("abc", found)
153 found = self.execParser(grammar, "a", "abc")
154 self.assertEquals("x", found)
168 found = self.execParser(grammar, "a", "abc")
169 self.assertEquals("(x INT)", found)
184 found = self.execParser(grammar, "a", "abc")
185 self.assertEquals("ID", found)
[all …]
Dt057autoAST.py123 found = self.execParser(grammar, "a", "abc 34")
124 self.assertEquals("abc 34", found);
138 found = self.execParser(grammar,"a", "abc 34")
139 self.assertEquals("abc 34", found)
153 found = self.execParser(grammar, "a", "abc 34")
154 self.assertEquals("(abc 34)", found)
168 found = self.execParser(grammar, "a", "34 abc")
169 self.assertEquals("(abc 34)", found)
183 found = self.execParser(grammar, "a", "abc 34 dag 4532")
184 self.assertEquals("abc 4532", found)
[all …]
Dt051treeRewriteAST.py76 found = self.execTreeParser(
82 self.failUnlessEqual("34 abc", found)
111 found = self.execTreeParser(
117 self.failUnlessEqual("(34 abc)", found)
146 found = self.execTreeParser(
152 self.failUnlessEqual("(34 abc)", found)
155 found = self.execTreeParser(
161 self.failUnlessEqual("34", found)
190 found = self.execTreeParser(
196 self.failUnlessEqual("(abc abc)", found)
[all …]
Dt053hetero.py120 found = self.execParser(
125 self.failUnlessEqual("a<V>", found)
141 found = self.execParser(
145 self.failUnlessEqual("a", found)
167 found = self.execParser(
172 self.failUnlessEqual("a<V>", found)
194 found = self.execParser(grammar, 'a', input="a")
195 self.assertEquals("a<V>", found)
218 found = self.execParser(
223 self.failUnlessEqual("a<V>", found)
[all …]
Dt049treeparser.py76 found = self.execTreeParser(
82 self.failUnlessEqual("abc, 34", found)
110 found = self.execTreeParser(
116 self.failUnlessEqual("abc, 34", found)
146 found = self.execTreeParser(
151 self.failUnlessEqual("^(a 1)b 2\n", found)
181 found = self.execTreeParser(
186 self.failUnlessEqual("^(a 3)b 5\n", found)
215 found = self.execTreeParser(
220 self.failUnlessEqual("alt 1", found)
[all …]
Dt055templates.py45 found = self.execParser(
50 self.failUnlessEqual("id=abc, int=34", found)
85 found = self.execParser(
91 self.failUnlessEqual("[a+b]", found)
111 found = self.execParser(
116 self.failUnless(found is None)
140 found = self.execParser(
145 self.failUnlessEqual("abc,def,ghi", found)
164 found = self.execParser(
169 self.failUnlessEqual("hello", found)
[all …]
Dt020fuzzy.output1 found class Main
2 found method main
3 found var i
4 found var input
5 found call ANTLRFileStream
6 found var lex
7 found call FuzzyJava
8 found var tokens
9 found call CommonTokenStream
10 found call tokens.toString
[all …]
/external/e2fsprogs/tests/f_expand/
Dexpect.1.gz
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
Drhino-python.output1 found method def __init__
2 found method def flush
3 found method def write
4 found class def OutputBuffer
5 found method def __init__
6 found method def write
7 found method def beep
8 found method def startUserInput
9 found method def getinput
10 found method def replaceinput
[all …]
/external/libchrome/base/test/
Dtrace_event_analyzer_unittest.cc82 TraceEventVector found; in TEST_F() local
83 analyzer->FindEvents(Query::Bool(true), &found); in TEST_F()
84 EXPECT_EQ(0u, found.size()); in TEST_F()
234 TraceEventVector found; in TEST_F() local
238 analyzer->FindEvents(Query::EventCategory() == Query::String("cat1"), &found); in TEST_F()
239 ASSERT_EQ(2u, found.size()); in TEST_F()
240 EXPECT_STREQ("name1", found[0]->name.c_str()); in TEST_F()
241 EXPECT_STREQ("name2", found[1]->name.c_str()); in TEST_F()
243 analyzer->FindEvents(Query::EventArg("num") == Query::Int(2), &found); in TEST_F()
244 ASSERT_EQ(1u, found.size()); in TEST_F()
[all …]
/external/harfbuzz_ng/src/
Dhb-ot-shape-complex-hebrew.cc71 bool found = (bool) c->unicode->compose (a, b, ab); in compose_hebrew() local
73 if (!found && !c->plan->has_mark) in compose_hebrew()
81 found = true; in compose_hebrew()
87 found = true; in compose_hebrew()
90 found = true; in compose_hebrew()
96 found = true; in compose_hebrew()
102 found = true; in compose_hebrew()
108 found = (*ab != 0); in compose_hebrew()
111 found = true; in compose_hebrew()
114 found = true; in compose_hebrew()
[all …]
/external/autotest/client/site_tests/graphics_Idle/
Dgraphics_Idle.py120 found = False
124 while found == False and tries < 20:
130 found = True
135 if not found:
149 found = False
153 while not found and tries < 80:
164 found = True
169 found = True
174 if not found:
221 found = False
[all …]
/external/v8/test/mjsunit/es6/
Darray-find.js75 var found = a.find(function(val, key, obj) {
88 assertEquals(undefined, found);
98 var found = a.find(function() {
104 assertEquals(undefined, found);
117 var found = Array.prototype.find.call(a, function(val, key, obj) {
130 assertEquals(undefined, found);
132 found = Array.prototype.find.apply(a, [function(val, key, obj) {
145 assertEquals("a", found);
166 var found = Array.prototype.find.call(a, function(val, key, obj) {
179 assertEquals(undefined, found);
[all …]

12345678910>>...181