/external/antlr/tool/src/test/java/org/antlr/test/ |
D | TestAutoAST.java | 46 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testTokenList() local 48 assertEquals("abc 34\n", found); in testTokenList() 59 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testTokenListInSingleAltBlock() local 61 assertEquals("abc 34\n", found); in testTokenListInSingleAltBlock() 72 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testSimpleRootAtOuterLevel() local 74 assertEquals("(abc 34)\n", found); in testSimpleRootAtOuterLevel() 85 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSimpleRootAtOuterLevelReverse() local 87 assertEquals("(abc 34)\n", found); in testSimpleRootAtOuterLevelReverse() 98 String found = execParser("T.g", grammar, "TParser", "TLexer", in testBang() local 100 assertEquals("abc 4532\n", found); in testBang() [all …]
|
D | TestRewriteAST.java | 51 String found = execParser("T.g", grammar, "TParser", "TLexer", in testDelete() local 53 assertEquals("", found); in testDelete() 64 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSingleToken() local 66 assertEquals("abc\n", found); in testSingleToken() 77 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSingleTokenToNewNode() local 79 assertEquals("x\n", found); in testSingleTokenToNewNode() 90 String found = execParser("T.g", grammar, "TParser", "TLexer", in testSingleTokenToNewNodeRoot() local 92 assertEquals("(x INT)\n", found); in testSingleTokenToNewNodeRoot() 104 String found = execParser("TT.g", grammar, "TTParser", "TTLexer", in testSingleTokenToNewNode2() local 106 assertEquals("ID\n", found); in testSingleTokenToNewNode2() [all …]
|
D | TestTreeGrammarRewriteAST.java | 63 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", in testFlatList() local 65 assertEquals("34 abc\n", found); in testFlatList() 83 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", in testSimpleTree() local 85 assertEquals("(34 abc)\n", found); in testSimpleTree() 102 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", in testNonImaginaryWithCtor() local 104 assertEquals("99\n", found); in testNonImaginaryWithCtor() 122 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", in testCombinedRewriteAndAuto() local 124 assertEquals("(34 abc)\n", found); in testCombinedRewriteAndAuto() 126 found = execTreeParser("T.g", grammar, "TParser", "TP.g", in testCombinedRewriteAndAuto() 128 assertEquals("34\n", found); in testCombinedRewriteAndAuto() [all …]
|
D | TestSets.java | 51 String found = execParser("P.g", grammar, "PParser", "PLexer", in testSeqDoesNotBecomeSet() local 53 assertEquals("34\n", found); in testSeqDoesNotBecomeSet() 60 String found = execParser("T.g", grammar, "TParser", "TLexer", in testParserSet() local 62 assertEquals("x\n", found); in testParserSet() 69 String found = execParser("T.g", grammar, "TParser", "TLexer", in testParserNotSet() local 71 assertEquals("z\n", found); in testParserNotSet() 78 String found = execParser("T.g", grammar, "TParser", "TLexer", in testParserNotToken() local 80 assertEquals("zz\n", found); in testParserNotToken() 87 String found = execParser("T.g", grammar, "TParser", "TLexer", in testParserNotTokenWithLabel() local 89 assertEquals("z\n", found); in testParserNotTokenWithLabel() [all …]
|
D | TestSyntacticPredicateEvaluation.java | 55 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTwoPredsWithNakedAlt() local 62 assertEquals(expecting, found); in testTwoPredsWithNakedAlt() 64 found = execParser("T.g", grammar, "TParser", "TLexer", in testTwoPredsWithNakedAlt() 70 assertEquals(expecting, found); in testTwoPredsWithNakedAlt() 72 found = execParser("T.g", grammar, "TParser", "TLexer", in testTwoPredsWithNakedAlt() 81 assertEquals(expecting, found); in testTwoPredsWithNakedAlt() 104 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTwoPredsWithNakedAltNotLast() local 111 assertEquals(expecting, found); in testTwoPredsWithNakedAltNotLast() 113 found = execParser("T.g", grammar, "TParser", "TLexer", in testTwoPredsWithNakedAltNotLast() 119 assertEquals(expecting, found); in testTwoPredsWithNakedAltNotLast() [all …]
|
D | TestHeteroAST.java | 52 String found = execParser("T.g", grammar, "TParser", "TLexer", in testToken() local 54 assertEquals("a<V>\n", found); in testToken() 64 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTokenCommonTree() local 66 assertEquals("a\n", found); in testTokenCommonTree() 81 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTokenWithQualifiedType() local 83 assertEquals("a<V>\n", found); in testTokenWithQualifiedType() 98 String found = execParser("T.g", grammar, "TParser", "TLexer", in testNamedType() local 100 assertEquals("a<V>\n", found); in testNamedType() 116 String found = execParser("T.g", grammar, "TParser", "TLexer", in testTokenWithLabel() local 118 assertEquals("a<V>\n", found); in testTokenWithLabel() [all …]
|
D | TestASTConstruction.java | 47 String found = g.getRule("a").tree.toStringTree(); in testA() local 48 assertEquals(expecting, found); in testA() 57 String found = g.getRule("a").tree.toStringTree(); in testEmptyAlt() local 58 assertEquals(expecting, found); in testEmptyAlt() 68 String found = g.getRule("A").tree.toStringTree(); in testNakeRulePlusInLexer() local 69 assertEquals(expecting, found); in testNakeRulePlusInLexer() 79 String found = g.getRule("a").tree.toStringTree(); in testRulePlus() local 80 assertEquals(expecting, found); in testRulePlus() 90 String found = g.getRule("a").tree.toStringTree(); in testNakedRulePlus() local 91 assertEquals(expecting, found); in testNakedRulePlus() [all …]
|
D | TestSemanticPredicateEvaluation.java | 41 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testSimpleCyclicDFAWithPredicate() local 43 assertEquals("alt2\n", found); in testSimpleCyclicDFAWithPredicate() 53 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testSimpleCyclicDFAWithInstanceVarPredicate() local 55 assertEquals("alt2\n", found); in testSimpleCyclicDFAWithInstanceVarPredicate() 69 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testPredicateValidation() local 71 assertEquals("error: FailedPredicateException(a,{false}?)\n", found); in testPredicateValidation() 81 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testLexerPreds() local 84 assertEquals("token 2\n", found); in testLexerPreds() 94 String found = execParser("foo.g", grammar, "fooParser", "fooLexer", in testLexerPreds2() local 97 assertEquals("token 1\n", found); in testLexerPreds2() [all …]
|
D | TestLexer.java | 53 String found = execParser("P.g", grammar, "PParser", "PLexer", in testSetText() local 55 assertEquals("\t\n", found); in testSetText() 67 String found = execParser("P.g", grammar, "PParser", "PLexer", in testRefToRuleDoesNotSetTokenNorEmitAnother() local 69 assertEquals("-34\n", found); in testRefToRuleDoesNotSetTokenNorEmitAnother() 81 String found = execParser("P.g", grammar, "PParser", "PLexer", in testRefToRuleDoesNotSetChannel() local 83 assertEquals("- 34, channel=0\n", found); in testRefToRuleDoesNotSetChannel() 94 String found = execParser("P.g", grammar, "PParser", "PLexer", in testWeCanSetType() local 96 assertEquals("-34\n", found); in testWeCanSetType() 108 String found = execParser("P.g", grammar, "PParser", "PLexer", in testRefToFragment() local 110 assertEquals("-34\n", found); in testRefToFragment() [all …]
|
D | TestTreeParsing.java | 50 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", in testFlatList() local 52 assertEquals("abc, 34\n", found); in testFlatList() 70 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", in testSimpleTree() local 72 assertEquals("abc, 34\n", found); in testSimpleTree() 93 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", in testFlatVsTreeDecision() local 95 assertEquals("^(a 1)b 2\n", found); in testFlatVsTreeDecision() 116 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", in testFlatVsTreeDecision2() local 119 assertEquals("^(a 3)b 5\n", found); in testFlatVsTreeDecision2() 139 String found = execTreeParser("T.g", grammar, "TParser", "TP.g", in testCyclicDFALookahead() local 141 assertEquals("alt 1\n", found); in testCyclicDFALookahead() [all …]
|
/external/antlr/runtime/Python3/tests/ |
D | t058rewriteAST.py | 123 found = self.execParser(grammar, "a", "abc 34") 124 self.assertEqual("", found) 138 found = self.execParser(grammar, "a", "abc") 139 self.assertEqual("abc", found) 153 found = self.execParser(grammar, "a", "abc") 154 self.assertEqual("x", found) 168 found = self.execParser(grammar, "a", "abc") 169 self.assertEqual("(x INT)", found) 184 found = self.execParser(grammar, "a", "abc") 185 self.assertEqual("ID", found) [all …]
|
D | t057autoAST.py | 123 found = self.execParser(grammar, "a", "abc 34") 124 self.assertEqual("abc 34", found); 138 found = self.execParser(grammar,"a", "abc 34") 139 self.assertEqual("abc 34", found) 153 found = self.execParser(grammar, "a", "abc 34") 154 self.assertEqual("(abc 34)", found) 168 found = self.execParser(grammar, "a", "34 abc") 169 self.assertEqual("(abc 34)", found) 183 found = self.execParser(grammar, "a", "abc 34 dag 4532") 184 self.assertEqual("abc 4532", found) [all …]
|
D | t051treeRewriteAST.py | 76 found = self.execTreeParser( 82 self.assertEqual("34 abc", found) 111 found = self.execTreeParser( 117 self.assertEqual("(34 abc)", found) 146 found = self.execTreeParser( 152 self.assertEqual("(34 abc)", found) 155 found = self.execTreeParser( 161 self.assertEqual("34", found) 190 found = self.execTreeParser( 196 self.assertEqual("(abc abc)", found) [all …]
|
D | t053hetero.py | 120 found = self.execParser( 125 self.assertEqual("a<V>", found) 141 found = self.execParser( 145 self.assertEqual("a", found) 167 found = self.execParser( 172 self.assertEqual("a<V>", found) 194 found = self.execParser(grammar, 'a', input="a") 195 self.assertEqual("a<V>", found) 218 found = self.execParser( 223 self.assertEqual("a<V>", found) [all …]
|
/external/antlr/runtime/Python/tests/ |
D | t058rewriteAST.py | 123 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 …]
|
D | t057autoAST.py | 123 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 …]
|
D | t051treeRewriteAST.py | 76 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 …]
|
D | t053hetero.py | 120 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 …]
|
/external/mesa3d/src/intel/compiler/ |
D | brw_debug_recompile.c | 63 bool found = false; in debug_sampler_recompile() local 65 found |= check("gather channel quirk", gather_channel_quirk_mask); in debug_sampler_recompile() 66 found |= check("compressed multisample layout", in debug_sampler_recompile() 68 found |= check("16x msaa", msaa_16); in debug_sampler_recompile() 69 found |= check("y_uv image bound", y_uv_image_mask); in debug_sampler_recompile() 70 found |= check("y_u_v image bound", y_u_v_image_mask); in debug_sampler_recompile() 71 found |= check("yx_xuxv image bound", yx_xuxv_image_mask); in debug_sampler_recompile() 72 found |= check("xy_uxvx image bound", xy_uxvx_image_mask); in debug_sampler_recompile() 73 found |= check("ayuv image bound", ayuv_image_mask); in debug_sampler_recompile() 74 found |= check("xyuv image bound", xyuv_image_mask); in debug_sampler_recompile() [all …]
|
/external/e2fsprogs/tests/f_expand/ |
D | expect.1.gz |
|
/external/antlr/runtime/JavaScript/tests/functional/ |
D | rhino-python.output | 1 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/cronet/base/test/ |
D | trace_event_analyzer_unittest.cc | 87 TraceEventVector found; in TEST_F() local 88 analyzer->FindEvents(Query::Bool(true), &found); in TEST_F() 89 EXPECT_EQ(0u, found.size()); in TEST_F() 244 TraceEventVector found; in TEST_F() local 248 analyzer->FindEvents(Query::EventCategory() == Query::String("cat1"), &found); in TEST_F() 249 ASSERT_EQ(2u, found.size()); in TEST_F() 250 EXPECT_STREQ("name1", found[0]->name.c_str()); in TEST_F() 251 EXPECT_STREQ("name2", found[1]->name.c_str()); in TEST_F() 253 analyzer->FindEvents(Query::EventArg("num") == Query::Int(2), &found); in TEST_F() 254 ASSERT_EQ(1u, found.size()); in TEST_F() [all …]
|
/external/libchrome/base/test/ |
D | trace_event_analyzer_unittest.cc | 88 TraceEventVector found; in TEST_F() local 89 analyzer->FindEvents(Query::Bool(true), &found); in TEST_F() 90 EXPECT_EQ(0u, found.size()); in TEST_F() 247 TraceEventVector found; in TEST_F() local 251 analyzer->FindEvents(Query::EventCategory() == Query::String("cat1"), &found); in TEST_F() 252 ASSERT_EQ(2u, found.size()); in TEST_F() 253 EXPECT_STREQ("name1", found[0]->name.c_str()); in TEST_F() 254 EXPECT_STREQ("name2", found[1]->name.c_str()); in TEST_F() 256 analyzer->FindEvents(Query::EventArg("num") == Query::Int(2), &found); in TEST_F() 257 ASSERT_EQ(1u, found.size()); in TEST_F() [all …]
|
/external/e2fsprogs/tests/f_rebuild_csum_rootdir/ |
D | expect.1 | 17 Connect to /lost+found? yes 19 /lost+found not found. Create? yes 26 Connect to /lost+found? yes 31 Connect to /lost+found? yes 36 Connect to /lost+found? yes 41 Connect to /lost+found? yes 46 Connect to /lost+found? yes 51 Connect to /lost+found? yes 56 Connect to /lost+found? yes 61 Connect to /lost+found? yes [all …]
|
/external/apache-commons-io/src/test/java/org/apache/commons/io/input/ |
D | CountingInputStreamTest.java | 45 int found = cis.read(ba); in testCounting() local 47 assertEquals(found, cis.getCount()); in testCounting() 50 found++; in testCounting() 52 assertEquals(found, cis.getCount()); in testCounting() 54 found += cis.read(result, 6, 5); in testCounting() 55 assertEquals(found, cis.getCount()); in testCounting() 57 found += cis.read(result, 11, 10); // off the end in testCounting() 58 assertEquals(found, cis.getCount()); in testCounting() 72 int found = cis.read(); in testEOF1() local 73 assertEquals(0, found); in testEOF1() [all …]
|