/external/antlr/tool/src/test/java/org/antlr/test/ |
D | TestNFAConstruction.java | 47 String expecting = in testA() local 53 checkRule(g, "a", expecting); in testA() 60 String expecting = in testAB() local 67 checkRule(g, "a", expecting); in testAB() 78 String expecting = in testAorB() local 90 checkRule(g, "a", expecting); in testAorB() 98 String expecting = in testRangeOrRange() local 112 checkRule(g, "A", expecting); in testRangeOrRange() 120 String expecting = in testRange() local 126 checkRule(g, "A", expecting); in testRange() [all …]
|
D | TestCharDFAConversion.java | 53 String expecting = in testSimpleRangeVersusChar() local 58 checkDecision(g, 1, expecting, null); in testSimpleRangeVersusChar() 69 String expecting = in testRangeWithDisjointSet() local 75 checkDecision(g, 1, expecting, null); in testRangeWithDisjointSet() 87 String expecting = in testDisjointSetCollidingWithTwoRanges() local 92 checkDecision(g, 1, expecting, null); in testDisjointSetCollidingWithTwoRanges() 103 String expecting = in testDisjointSetCollidingWithTwoRangesCharsFirst() local 108 checkDecision(g, 1, expecting, null); in testDisjointSetCollidingWithTwoRangesCharsFirst() 122 String expecting = in testDisjointSetCollidingWithTwoRangesAsSeparateAlts() local 134 checkDecision(g, 1, expecting, null); in testDisjointSetCollidingWithTwoRangesAsSeparateAlts() [all …]
|
D | TestASTConstruction.java | 45 String expecting = in testA() local 48 assertEquals(expecting, found); in testA() 55 String expecting = in testEmptyAlt() local 58 assertEquals(expecting, found); in testEmptyAlt() 66 String expecting = in testNakeRulePlusInLexer() local 69 assertEquals(expecting, found); in testNakeRulePlusInLexer() 77 String expecting = in testRulePlus() local 80 assertEquals(expecting, found); in testRulePlus() 88 String expecting = in testNakedRulePlus() local 91 assertEquals(expecting, found); in testNakedRulePlus() [all …]
|
D | TestIntervalSet.java | 44 String expecting = "99"; in testSingleElement() local 45 assertEquals(s.toString(), expecting); in testSingleElement() local 53 String expecting = "{1, 122, 65520}"; in testIsolatedElements() local 54 assertEquals(s.toString(), expecting); in testIsolatedElements() local 62 String expecting = "{1, 48..57, 97..122}"; in testMixedRangesAndElements() local 63 assertEquals(s.toString(), expecting); in testMixedRangesAndElements() local 69 String expecting = "13..15"; in testSimpleAnd() local 71 assertEquals(result, expecting); in testSimpleAnd() 77 String expecting = "100"; in testRangeAndIsolatedElement() local 79 assertEquals(result, expecting); in testRangeAndIsolatedElement() [all …]
|
D | TestDFAConversion.java | 49 String expecting = in testA() local 52 checkDecision(g, 1, expecting, null, null, null, null, 0); in testA() 59 String expecting = in testAB_or_AC() local 63 checkDecision(g, 1, expecting, null, null, null, null, 0); in testAB_or_AC() 71 String expecting = in testAB_or_AC_k2() local 75 checkDecision(g, 1, expecting, null, null, null, null, 0); in testAB_or_AC_k2() 83 String expecting = in testAB_or_AC_k1() local 90 checkDecision(g, 1, expecting, unreachableAlts, in testAB_or_AC_k1() 130 String expecting = in testRecursionOverflowWithPredOk() local 148 checkDecision(g, 1, expecting, unreachableAlts, in testRecursionOverflowWithPredOk() [all …]
|
D | TestSemanticPredicates.java | 55 String expecting = in testPredsButSyntaxResolves() local 58 checkDecision(g, 1, expecting, null, null, null, null, null, 0, false); in testPredsButSyntaxResolves() 65 String expecting = in testLL_1_Pred() local 69 checkDecision(g, 1, expecting, null, null, null, null, null, 0, false); in testLL_1_Pred() 77 String expecting = in testLL_1_Pred_forced_k_1() local 81 checkDecision(g, 1, expecting, null, null, null, null, null, 0, false); in testLL_1_Pred_forced_k_1() 88 String expecting = in testLL_2_Pred() local 93 checkDecision(g, 1, expecting, null, null, null, null, null, 0, false); in testLL_2_Pred() 100 String expecting = // loop back in testPredicatedLoop() local 105 checkDecision(g, 1, expecting, null, null, null, null, null, 0, false); in testPredicatedLoop() [all …]
|
D | TestTokenRewriteStream.java | 56 String expecting = "0abc"; in testInsertBeforeIndex0() local 57 assertEquals(expecting, result); in testInsertBeforeIndex0() 71 String expecting = "abcx"; in testInsertAfterLastIndex() local 72 assertEquals(expecting, result); in testInsertAfterLastIndex() 88 String expecting = "axbxc"; in test2InsertBeforeAfterMiddleIndex() local 89 assertEquals(expecting, result); in test2InsertBeforeAfterMiddleIndex() 104 String expecting = "xbc"; in testReplaceIndex0() local 105 assertEquals(expecting, result); in testReplaceIndex0() 120 String expecting = "abx"; in testReplaceLastIndex() local 121 assertEquals(expecting, result); in testReplaceLastIndex() [all …]
|
D | TestSyntacticPredicateEvaluation.java | 57 String expecting = in testTwoPredsWithNakedAlt() local 62 assertEquals(expecting, found); in testTwoPredsWithNakedAlt() 66 expecting = in testTwoPredsWithNakedAlt() 70 assertEquals(expecting, found); in testTwoPredsWithNakedAlt() 74 expecting = in testTwoPredsWithNakedAlt() 81 assertEquals(expecting, found); in testTwoPredsWithNakedAlt() 106 String expecting = in testTwoPredsWithNakedAltNotLast() local 111 assertEquals(expecting, found); in testTwoPredsWithNakedAltNotLast() 115 expecting = in testTwoPredsWithNakedAltNotLast() 119 assertEquals(expecting, found); in testTwoPredsWithNakedAltNotLast() [all …]
|
D | TestTreeIterator.java | 46 String expecting = "A EOF"; in testNode() local 48 assertEquals(expecting, found); in testNode() 57 String expecting = "nil DOWN A B UP EOF"; in testFlatAB() local 59 assertEquals(expecting, found); in testFlatAB() 68 String expecting = "A DOWN B UP EOF"; in testAB() local 70 assertEquals(expecting, found); in testAB() 79 String expecting = "A DOWN B C UP EOF"; in testABC() local 81 assertEquals(expecting, found); in testABC() 90 String expecting = "A DOWN B DOWN C UP UP EOF"; in testVerticalList() local 92 assertEquals(expecting, found); in testVerticalList() [all …]
|
D | TestTreeWizard.java | 52 String expecting = "ID"; in testSingleNode() local 53 assertEquals(expecting, found); in testSingleNode() 60 String expecting = "foo"; in testSingleNodeWithArg() local 61 assertEquals(expecting, found); in testSingleNodeWithArg() 68 String expecting = "A"; in testSingleNodeTree() local 69 assertEquals(expecting, found); in testSingleNodeTree() 76 String expecting = "(A B C D)"; in testSingleLevelTree() local 77 assertEquals(expecting, found); in testSingleLevelTree() 84 String expecting = "A B C"; in testListTree() local 85 assertEquals(expecting, found); in testListTree() [all …]
|
D | TestAttributes.java | 63 String expecting = action; in testEscapedLessThanInAction() local 71 assertEquals(expecting, found); in testEscapedLessThanInAction() 76 String expecting = "int $n; \"$in string$\""; in testEscaped$InAction() local 91 String found = translator.translate(); assertEquals(expecting, found); in testEscaped$InAction() 96 String expecting = "i; i.x; u; u.x"; in testArguments() local 111 String found = translator.translate(); assertEquals(expecting, found); in testArguments() 119 String expecting = "x, (*a).foo(21,33), 3.2+1, '\\n', \"a,oo\\nick\", {bl, \"fdkj\"eck}"; in testComplicatedArgParsing() local 137 assertEquals(expecting, rawTranslation); in testComplicatedArgParsing() 172 String expecting = "34, '{', \"it's<\", '\"', \"\\\"\", 19"; in testStringArgParsing() local 190 assertEquals(expecting, rawTranslation); in testStringArgParsing() [all …]
|
D | TestJavaCodeGeneration.java | 51 boolean expecting = true; // should be ok in testDupVarDefForPinchedState() 52 assertEquals(expecting, found); in testDupVarDefForPinchedState() 64 boolean expecting = true; // should be ok in testLabeledNotSetsInLexer() 65 assertEquals(expecting, found); in testLabeledNotSetsInLexer() 111 boolean expecting = true; // should be ok in testSynpredWithPlusLoop() 112 assertEquals(expecting, found); in testSynpredWithPlusLoop() 126 boolean expecting = true; // should be ok in testDoubleQuoteEscape() 127 assertEquals(expecting, found); in testDoubleQuoteEscape() 139 boolean expecting = true; // should be ok in testBlankRuleGetsNoException() 140 assertEquals(expecting, found); in testBlankRuleGetsNoException()
|
D | TestSyntaxErrors.java | 48 String expecting = "line 1:1 no viable alternative at input 'e'\n"; in testLL2() local 50 assertEquals(expecting, result); in testLL2() 62 String expecting = "line 1:2 no viable alternative at input 'e'\n"; in testLL3() local 64 assertEquals(expecting, result); in testLL3() 75 String expecting = "line 1:3 no viable alternative at input 'e'\n"; in testLLStar() local 77 assertEquals(expecting, result); in testLLStar() 92 String expecting = "line 1:1 no viable alternative at input '('\n"; in testSynPred() local 94 assertEquals(expecting, result); in testSynPred() 114 String expecting = "{HARDWARE,SOFTWARE}\n"; in testLL1ErrorInfo() local 115 assertEquals(expecting, result); in testLL1ErrorInfo()
|
D | TestFastQueue.java | 45 String expecting = "a b c d e"; in testQueueNoRemove() local 47 assertEquals(expecting, found); in testQueueNoRemove() 64 String expecting = "a b c d e"; in testQueueThenRemoveAll() local 66 assertEquals(expecting, found); in testQueueThenRemoveAll() 83 String expecting = "abcde"; in testQueueThenRemoveOneByOne() local 85 assertEquals(expecting, found); in testQueueThenRemoveOneByOne() 97 String expecting = "queue index 0 > last index -1"; in testGetFromEmptyQueue() local 99 assertEquals(expecting, found); in testGetFromEmptyQueue() 113 String expecting = "queue index 0 > last index -1"; in testGetFromEmptyQueueAfterSomeAdds() local 115 assertEquals(expecting, found); in testGetFromEmptyQueueAfterSomeAdds() [all …]
|
/external/antlr/runtime/Python3/tests/ |
D | t048rewrite.py | 29 expecting = "0abc" 30 self.assertEqual(result, expecting) 38 expecting = "abcx" 39 self.assertEqual(result, expecting) 48 expecting = "axbxc" 49 self.assertEqual(result, expecting) 57 expecting = "xbc" 58 self.assertEqual(result, expecting) 66 expecting = "abx" 67 self.assertEqual(result, expecting) [all …]
|
/external/antlr/runtime/Python/tests/ |
D | t048rewrite.py | 29 expecting = "0abc" 30 self.failUnlessEqual(result, expecting) 38 expecting = "abcx" 39 self.failUnlessEqual(result, expecting) 48 expecting = "axbxc" 49 self.failUnlessEqual(result, expecting) 57 expecting = "xbc" 58 self.failUnlessEqual(result, expecting) 66 expecting = "abx" 67 self.failUnlessEqual(result, expecting) [all …]
|
/external/libxml2/result/HTML/ |
D | wired.html.err | 1 ./test/HTML/wired.html:6: HTML parser error : htmlParseEntityRef: expecting ';' 4 ./test/HTML/wired.html:6: HTML parser error : htmlParseEntityRef: expecting ';' 7 ./test/HTML/wired.html:6: HTML parser error : htmlParseEntityRef: expecting ';' 10 ./test/HTML/wired.html:6: HTML parser error : htmlParseEntityRef: expecting ';' 13 ./test/HTML/wired.html:6: HTML parser error : htmlParseEntityRef: expecting ';' 16 ./test/HTML/wired.html:6: HTML parser error : htmlParseEntityRef: expecting ';' 19 ./test/HTML/wired.html:52: HTML parser error : htmlParseEntityRef: expecting ';' 22 ./test/HTML/wired.html:52: HTML parser error : htmlParseEntityRef: expecting ';' 25 ./test/HTML/wired.html:52: HTML parser error : htmlParseEntityRef: expecting ';' 28 ./test/HTML/wired.html:52: HTML parser error : htmlParseEntityRef: expecting ';' [all …]
|
/external/antlr/runtime/Python/unittests/ |
D | testtree.py | 28 expecting = "101" 30 self.failUnlessEqual(expecting, found) 32 expecting = "101" 34 self.failUnlessEqual(expecting, found) 77 expecting = "101 102 103 104" 79 self.failUnlessEqual(expecting, found) 81 expecting = "101 2 102 2 103 3 104 3" 83 self.failUnlessEqual(expecting, found) 100 expecting = "101 102 103 104 105" 102 self.failUnlessEqual(expecting, found) [all …]
|
D | testtreewizard.py | 287 expecting = "ID" 288 self.failUnlessEqual(expecting, found) 295 expecting = "foo" 296 self.failUnlessEqual(expecting, found) 303 expecting = "A" 304 self.failUnlessEqual(expecting, found) 311 expecting = "(A B C D)" 312 self.failUnlessEqual(expecting, found) 319 expecting = "A B C" 320 self.failUnlessEqual(expecting, found) [all …]
|
/external/antlr/runtime/Python3/unittests/ |
D | testtree.py | 27 expecting = "101" 29 self.assertEqual(expecting, found) 31 expecting = "101" 33 self.assertEqual(expecting, found) 74 expecting = "101 102 103 104" 76 self.assertEqual(expecting, found) 78 expecting = "101 2 102 2 103 3 104 3" 80 self.assertEqual(expecting, found) 97 expecting = "101 102 103 104 105" 99 self.assertEqual(expecting, found) [all …]
|
D | testtreewizard.py | 286 expecting = "ID" 287 self.assertEqual(expecting, found) 294 expecting = "foo" 295 self.assertEqual(expecting, found) 302 expecting = "A" 303 self.assertEqual(expecting, found) 310 expecting = "(A B C D)" 311 self.assertEqual(expecting, found) 318 expecting = "A B C" 319 self.assertEqual(expecting, found) [all …]
|
/external/antlr/runtime/Ruby/lib/antlr3/ |
D | error.rb | 220 def initialize( expecting, input ) argument 221 @expecting = expecting 292 def initialize( expecting, input, inserted ) argument 293 super( expecting, input ) 350 def initialize( expecting, input ) argument 352 @expecting = expecting 500 def initialize( expecting, input ) argument 501 @expecting = expecting 600 def MismatchedToken( expecting, input = @input ) argument 601 MismatchedToken.new( expecting, input ) [all …]
|
/external/antlr/runtime/Python3/antlr3/ |
D | exceptions.py | 199 def __init__(self, expecting, input): argument 201 self.expecting = expecting 206 self.getUnexpectedType(), self.expecting 219 exp = ", expected {}".format(self.expecting) 220 if self.expecting == INVALID_TOKEN_TYPE: 236 def __init__(self, expecting, input, inserted): argument 237 super().__init__(expecting, input) 243 return self.expecting 278 def __init__(self, expecting, input): argument 281 self.expecting = expecting [all …]
|
/external/antlr/runtime/Python/antlr3/ |
D | exceptions.py | 199 def __init__(self, expecting, input): argument 201 self.expecting = expecting 207 self.getUnexpectedType(), self.expecting 220 exp = ", expected %s" % self.expecting 221 if self.expecting == INVALID_TOKEN_TYPE: 237 def __init__(self, expecting, input, inserted): argument 238 MismatchedTokenException.__init__(self, expecting, input) 244 return self.expecting 279 def __init__(self, expecting, input): argument 282 self.expecting = expecting [all …]
|
/external/clang/test/SemaOpenCL/ |
D | invalid-pipe-builtin-cl2.0.cl | 13 …); // expected-error {{invalid argument type to function 'read_pipe' (expecting 'reserve_id_t' h… 14 …); // expected-error {{invalid argument type to function 'read_pipe' (expecting 'unsigned int' h… 15 …read_pipe(p, tmp); // expected-error {{invalid argument type to function 'read_pipe' (expecting … 16 write_pipe(p, ptr); // expected-error {{invalid pipe access modifier (expecting write_only)}} 17 …write_pipe(p, rid, tmp, ptr); // expected-error {{invalid pipe access modifier (expecting write… 21 … expected-error{{invalid argument type to function 'reserve_read_pipe' (expecting 'unsigned int' h… 23 …rve_write_pipe(p, tmp); // expected-error{{invalid pipe access modifier (expecting write_only)}} 28 …error{{invalid argument type to function 'work_group_commit_read_pipe' (expecting 'reserve_id_t' h… 29 …mit_write_pipe(p, tmp); // expected-error{{invalid pipe access modifier (expecting write_only)}} 42 …; // expected-error {{invalid argument type to function 'write_pipe' (expecting 'reserve_id_t' h… [all …]
|