/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/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/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/mesa3d/src/intel/compiler/elk/ |
D | elk_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() 68 found |= check("EXT_texture_swizzle or DEPTH_TEXTURE_MODE", swizzles[i]); in debug_sampler_recompile() 69 found |= check("textureGather workarounds", gfx6_gather_wa[i]); in debug_sampler_recompile() 73 found |= check("GL_CLAMP enabled on any texture unit", gl_clamp_mask[i]); in debug_sampler_recompile() 76 return found; in debug_sampler_recompile() 92 bool found = debug_base_recompile(c, log, &old_key->base, &key->base); in debug_vs_recompile() local 95 found |= check("vertex attrib w/a flags", gl_attrib_wa_flags[i]); in debug_vs_recompile() 98 found |= check("legacy user clipping", nr_userclip_plane_consts); in debug_vs_recompile() 99 found |= check("copy edgeflag", copy_edgeflag); in debug_vs_recompile() [all …]
|
/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/e2fsprogs/tests/f_expand/ |
D | expect.1.gz |
|
/external/mesa3d/src/intel/compiler/ |
D | brw_debug_recompile.c | 64 bool found = false; in debug_base_recompile() local 66 found |= check("robust_flags", robust_flags); in debug_base_recompile() 67 found |= check("limit_trig_input_range", limit_trig_input_range); in debug_base_recompile() 69 return found; in debug_base_recompile() 77 bool found = debug_base_recompile(c, log, &old_key->base, &key->base); in debug_vs_recompile() local 79 if (!found) { in debug_vs_recompile() 89 bool found = debug_base_recompile(c, log, &old_key->base, &key->base); in debug_tcs_recompile() local 91 found |= check("input vertices", input_vertices); in debug_tcs_recompile() 92 found |= check("outputs written", outputs_written); in debug_tcs_recompile() 93 found |= check("patch outputs written", patch_outputs_written); in debug_tcs_recompile() [all …]
|
/external/sdv/vsomeip/third_party/boost/range/include/boost/range/detail/ |
D | range_return.hpp | 40 static type pack(BOOST_DEDUCED_TYPENAME range_iterator<SinglePassRange>::type found, in pack() 43 return type(found, boost::end(rng)); in pack() 52 static type pack(type found, SinglePassRange&) in pack() 54 return found; in pack() 63 static type pack(type found, SinglePassRange& rng) in pack() 65 return found == boost::end(rng) in pack() 66 ? found in pack() 67 : boost::next(found); in pack() 76 static type pack(type found, BidirectionalRange& rng) in pack() 78 return found == boost::begin(rng) in pack() [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/cronet/tot/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() 245 TraceEventVector found; in TEST_F() local 249 analyzer->FindEvents(Query::EventCategory() == Query::String("cat1"), &found); in TEST_F() 250 ASSERT_EQ(2u, found.size()); in TEST_F() 251 EXPECT_STREQ("name1", found[0]->name.c_str()); in TEST_F() 252 EXPECT_STREQ("name2", found[1]->name.c_str()); in TEST_F() 254 analyzer->FindEvents(Query::EventArg("num") == Query::Int(2), &found); in TEST_F() 255 ASSERT_EQ(1u, found.size()); in TEST_F() [all …]
|