/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 …]
|
D | TestRewriteTemplates.java | 48 String found = execParser("T.g", grammar, "TParser", "TLexer", in testDelete() local 50 assertEquals("", found); in testDelete() 61 String found = execParser("T.g", grammar, "TParser", "TLexer", in testAction() local 63 assertEquals("abc\n", found); in testAction() 74 String found = execParser("T.g", grammar, "TParser", "TLexer", in testEmbeddedLiteralConstructor() local 76 assertEquals("abc\n", found); in testEmbeddedLiteralConstructor() 87 String found = execParser("T.g", grammar, "TParser", "TLexer", in testInlineTemplate() local 89 assertEquals("x:abc, y:34;\n", found); in testInlineTemplate() 102 String found = execParser("T.g", grammar, "TParser", "TLexer", in testNamedTemplate() local 104 assertEquals("abc 34\n", found); in testNamedTemplate() [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 …]
|
D | t049treeparser.py | 76 found = self.execTreeParser( 82 self.assertEqual("abc, 34", found) 110 found = self.execTreeParser( 116 self.assertEqual("abc, 34", found) 146 found = self.execTreeParser( 151 self.assertEqual("^(a 1)b 2\n", found) 181 found = self.execTreeParser( 186 self.assertEqual("^(a 3)b 5\n", found) 215 found = self.execTreeParser( 220 self.assertEqual("alt 1", 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/ltp/testcases/kernel/io/stress_floppy/datafiles/ |
D | dd_file | 3 backup_list lost+found smit.script 4 backup_list lost+found smit.script 5 backup_list lost+found smit.script 6 backup_list lost+found smit.script 7 backup_list lost+found smit.script 8 backup_list lost+found smit.script 22 backup_list lost+found smit.script 23 backup_list lost+found smit.script 24 backup_list lost+found smit.script 25 backup_list lost+found smit.script [all …]
|
/external/e2fsprogs/tests/f_expand/ |
D | expect.1.gz | ... <310>)
5Connect to /lost+found? yes
6
7Unconnected directory inode 1520 (< ... |
/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/harfbuzz_ng/src/ |
D | hb-ot-shape-complex-hebrew.cc | 71 bool found = (bool) c->unicode->compose (a, b, ab); in compose_hebrew() local 73 if (!found && !c->plan->has_gpos_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/e2fsprogs/tests/f_rebuild_csum_rootdir/ |
D | expect.1 | 22 Connect to /lost+found? yes 24 /lost+found not found. Create? 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 66 Connect to /lost+found? yes [all …]
|