/aosp_15_r20/external/antlr/tool/src/test/java/org/antlr/test/ |
H A D | TestNFAConstruction.java | 47 String expecting = in testA() local 60 String expecting = in testAB() local 78 String expecting = in testAorB() local 98 String expecting = in testRangeOrRange() local 120 String expecting = in testRange() local 134 String expecting = in testCharSetInParser() local 147 String expecting = in testABorCD() local 168 String expecting = in testbA() local 189 String expecting = in testbA_bC() local 217 String expecting = in testAorEpsilon() local [all …]
|
H A D | TestSemanticPredicates.java | 55 String expecting = in testPredsButSyntaxResolves() local 65 String expecting = in testLL_1_Pred() local 77 String expecting = in testLL_1_Pred_forced_k_1() local 88 String expecting = in testLL_2_Pred() local 100 String expecting = // loop back in testPredicatedLoop() local 112 String expecting = in testPredicatedToStayInLoop() local 123 String expecting = in testAndPredicates() local 136 String expecting = in testOrPredicates() local 147 String expecting = in testIgnoresHoistingDepthGreaterThanZero() local 157 String expecting = in testIgnoresPredsHiddenByActions() local [all …]
|
H A D | TestCharDFAConversion.java | 53 String expecting = in testSimpleRangeVersusChar() local 69 String expecting = in testRangeWithDisjointSet() local 87 String expecting = in testDisjointSetCollidingWithTwoRanges() local 103 String expecting = in testDisjointSetCollidingWithTwoRangesCharsFirst() local 122 String expecting = in testDisjointSetCollidingWithTwoRangesAsSeparateAlts() local 142 String expecting = in testKeywordVersusID() local 161 String expecting = in testIdenticalRules() local 185 String expecting = in testAdjacentNotCharLoops() local 200 String expecting = in testNonAdjacentNotCharLoops() local 214 String expecting = in testLoopsWithOptimizedOutExitBranches() local [all …]
|
H A 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 77 String expecting = "100"; in testRangeAndIsolatedElement() local 85 String expecting = "{}"; in testEmptyIntersection() local 93 String expecting = "{}"; in testEmptyIntersectionSingleElements() local [all …]
|
H A D | TestASTConstruction.java | 45 String expecting = in testA() local 55 String expecting = in testEmptyAlt() local 66 String expecting = in testNakeRulePlusInLexer() local 77 String expecting = in testRulePlus() local 88 String expecting = in testNakedRulePlus() local 99 String expecting = in testRuleOptional() local 110 String expecting = in testNakedRuleOptional() local 121 String expecting = in testRuleStar() local 132 String expecting = in testNakedRuleStar() local 142 String expecting = in testCharStar() local [all …]
|
H A D | TestDFAConversion.java | 49 String expecting = in testA() local 59 String expecting = in testAB_or_AC() local 71 String expecting = in testAB_or_AC_k2() local 83 String expecting = in testAB_or_AC_k1() local 130 String expecting = in testRecursionOverflowWithPredOk() local 158 String expecting = in testRecursionOverflowWithPredOk2() local 203 String expecting = in testSynPredResolvesRecursion() local 226 String expecting = in testSynPredMissingInMiddle() local 248 String expecting = in testAutoBacktrackAndPredMissingInMiddle() local 271 String expecting = in testSemPredResolvesRecursion() local [all …]
|
H A D | TestTokenRewriteStream.java | 56 String expecting = "0abc"; in testInsertBeforeIndex0() local 71 String expecting = "abcx"; in testInsertAfterLastIndex() local 88 String expecting = "axbxc"; in test2InsertBeforeAfterMiddleIndex() local 104 String expecting = "xbc"; in testReplaceIndex0() local 120 String expecting = "abx"; in testReplaceLastIndex() local 136 String expecting = "axc"; in testReplaceMiddleIndex() local 158 String expecting = "x = 3 * 0;"; in testToStringStartStop() local 192 String expecting = "x = 3 * 0 + 2 * 0;"; in testToStringStartStop2() local 240 String expecting = "ayc"; in test2ReplaceMiddleIndex() local 258 String expecting = "_ayc"; in test2ReplaceMiddleIndex1InsertBefore() local [all …]
|
H A D | TestAttributes.java | 63 String expecting = action; in testEscapedLessThanInAction() local 76 String expecting = "int $n; \"$in string$\""; in testEscaped$InAction() local 96 String expecting = "i; i.x; u; u.x"; in testArguments() local 119 String expecting = "x, (*a).foo(21,33), 3.2+1, '\\n', \"a,oo\\nick\", {bl, \"fdkj\"eck}"; in testComplicatedArgParsing() local 172 String expecting = "34, '{', \"it's<\", '\"', \"\\\"\", 19"; in testStringArgParsing() local 208 String expecting = "(*a).foo(21,33,\",\")"; in testComplicatedSingleArgParsing() local 233 String expecting = "34<50"; in testArgWithLT() local 259 String expecting = "foo.get(\"ick\");"; in testGenericsAsArgumentDefinition() local 288 String expecting = "foo.get(\"ick\"); x=3;"; in testGenericsAsArgumentDefinition2() local 343 …String expecting = "x, (A1!=null?A1.getText():null)+\"3242\", (*A1).foo(21,33), 3.2+1, '\\n', \"a,… in testComplicatedArgParsingWithTranslation() local [all …]
|
H A D | TestTreeWizard.java | 52 String expecting = "ID"; in testSingleNode() local 60 String expecting = "foo"; in testSingleNodeWithArg() local 68 String expecting = "A"; in testSingleNodeTree() local 76 String expecting = "(A B C D)"; in testSingleLevelTree() local 84 String expecting = "A B C"; in testListTree() local 98 String expecting = "(A (B C) (B D) E)"; in testDoubleLevelTree() local 107 String expecting = "{10=[ID]}"; in testSingleNodeIndex() local 116 String expecting = "{5=[A], 6=[B], 7=[C], 8=[D]}"; in testNoRepeatsIndex() local 125 String expecting = "{5=[A, A], 6=[B, B, B], 7=[C], 8=[D, D]}"; in testRepeatsIndex() local 140 String expecting = "[B]"; in testNoRepeatsVisit() local [all …]
|
H A D | TestTrees.java | 256 String expecting = "(a c)"; in testReplaceWithOneChildren() local 269 String expecting = "(a b x d)"; in testReplaceInMiddle() local 282 String expecting = "(a x c d)"; in testReplaceAtLeft() local 295 String expecting = "(a b c x)"; in testReplaceAtRight() local 311 String expecting = "(a x y c d)"; in testReplaceOneWithTwoAtLeft() local 327 String expecting = "(a b c x y)"; in testReplaceOneWithTwoAtRight() local 343 String expecting = "(a b x y d)"; in testReplaceOneWithTwoInMiddle() local 357 String expecting = "(a x d)"; in testReplaceTwoWithOneAtLeft() local 371 String expecting = "(a b x)"; in testReplaceTwoWithOneAtRight() local 385 String expecting = "(a x)"; in testReplaceAllWithOne() local [all …]
|
H A D | TestTreeIterator.java | 46 String expecting = "A EOF"; in testNode() local 57 String expecting = "nil DOWN A B UP EOF"; in testFlatAB() local 68 String expecting = "A DOWN B UP EOF"; in testAB() local 79 String expecting = "A DOWN B C UP EOF"; in testABC() local 90 String expecting = "A DOWN B DOWN C UP UP EOF"; in testVerticalList() local 101 String expecting = "A DOWN B DOWN C DOWN D E UP F UP G UP EOF"; in testComplex() local 112 String expecting = "A DOWN B DOWN C DOWN D E UP F UP G UP EOF"; in testReset() local
|
H A D | TestFastQueue.java | 45 String expecting = "a b c d e"; in testQueueNoRemove() local 64 String expecting = "a b c d e"; in testQueueThenRemoveAll() local 83 String expecting = "abcde"; in testQueueThenRemoveOneByOne() local 97 String expecting = "queue index 0 > last index -1"; in testGetFromEmptyQueue() local 113 String expecting = "queue index 0 > last index -1"; in testGetFromEmptyQueueAfterSomeAdds() local 128 String expecting = "queue index 0 > last index -1"; in testGetFromEmptyQueueAfterClear() local
|
H A D | TestTemplates.java | 52 String expecting = "x = templateLib.getInstanceOf(\"foo\"," + in testTemplateConstructor() local 90 String expecting = "x = templateLib.getInstanceOf(\"foo\");"; in testTemplateConstructorNoArgs() local 127 String expecting = "x = templateLib.getInstanceOf(\"foo\"," + in testIndirectTemplateConstructor() local 164 String expecting = "x = new StringTemplate(templateLib,(ID1!=null?ID1.getText():null));"; in testStringConstructor() local 199 String expecting = "(x).setAttribute(\"y\", z);"; in testSetAttr() local 235 String expecting = "(foo((ID1!=null?ID1.getText():null)).getST()).setAttribute(\"y\", z);"; in testSetAttrOfExpr() local 293 String expecting = null; in testCannotHaveSpaceBeforeDot() local 321 String expecting = null; in testCannotHaveSpaceAfterDot() local
|
H A D | TestTreeNodeStream.java | 53 String expecting = " 101"; in testSingleNode() local 70 String expecting = " 101 102 103 104"; in test4Nodes() local 93 String expecting = " 101 102 103 104 105"; in testList() local 110 String expecting = " 101 102 103"; in testFlatList() local 125 String expecting = " 101"; in testListWithOneNode() local 139 String expecting = " 101 102"; in testAoverB() local 357 String expecting = " 10 2 100 101 20 2 30 2 40 50 2 60 2 70 3 3 3 80 2 90 3 3 3"; in testDeepTree() local
|
H A D | TestTopologicalSort.java | 54 String expecting = "[H, F, E, D, G, A, B, C]"; in testFairlyLargeGraph() local 68 String expecting = "[D, C, B, A]"; in testCyclicGraph() local 82 String expecting = "[D, C, B, A]"; in testRepeatedEdges() local 96 String expecting = "[MyJava.tokens, Java.g, Java.tokens, Ref.g, Def.g]"; in testSimpleTokenDependence() local 110 String expecting = "[JavaLexer.g, JavaLexer.tokens, JavaParser.g, Ref.g, Def.g]"; in testParserLexerCombo() local
|
H A D | TestSyntaxErrors.java | 48 String expecting = "line 1:1 no viable alternative at input 'e'\n"; in testLL2() local 62 String expecting = "line 1:2 no viable alternative at input 'e'\n"; in testLL3() local 75 String expecting = "line 1:3 no viable alternative at input 'e'\n"; in testLLStar() local 92 String expecting = "line 1:1 no viable alternative at input '('\n"; in testSynPred() local 114 String expecting = "{HARDWARE,SOFTWARE}\n"; in testLL1ErrorInfo() local
|
/aosp_15_r20/external/antlr/runtime/Ruby/lib/antlr3/ |
H A D | error.rb | 218 attr_reader :expecting accessor in ANTLR3.Error.MismatchedToken 220 def initialize( expecting, input ) argument 292 def initialize( expecting, input, inserted ) argument 349 attr_accessor :expecting accessor in ANTLR3.Error.MismatchedSet 350 def initialize( expecting, input ) argument 499 attr_accessor :expecting, :input accessor in ANTLR3.Error.MismatchedTreeNode 500 def initialize( expecting, input ) argument 600 def MismatchedToken( expecting, input = @input ) argument 604 def UnwantedToken( expecting, input = @input ) argument 608 def MissingToken( expecting, inserted, input = @input ) argument [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/serde/src/de/ |
D | impls.rs | 20 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 59 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 455 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 501 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 547 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 624 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 659 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 696 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 793 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() function 858 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method [all …]
|
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/serde-1.0.197/src/de/ |
H A D | impls.rs | 20 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 59 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 455 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 501 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 547 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 624 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 659 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 696 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 793 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() function 858 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/serde_derive/src/ |
D | de.rs | 412 let expecting = format!("unit struct {}", params.type_name()); in deserialize_unit_struct() localVariable 413 let expecting = cattrs.expecting().unwrap_or(&expecting); in deserialize_unit_struct() localVariable 493 let expecting = match form { in deserialize_tuple() localVariable 499 let expecting = cattrs.expecting().unwrap_or(&expecting); in deserialize_tuple() localVariable 594 let expecting = format!("tuple struct {}", params.type_name()); in deserialize_tuple_in_place() localVariable 595 let expecting = cattrs.expecting().unwrap_or(&expecting); in deserialize_tuple_in_place() localVariable 686 let expecting = if deserialized_count == 1 { in deserialize_seq() localVariable 691 let expecting = cattrs.expecting().unwrap_or(&expecting); in deserialize_seq() localVariable 782 let expecting = if deserialized_count == 1 { in deserialize_seq_in_place() localVariable 787 let expecting = cattrs.expecting().unwrap_or(&expecting); in deserialize_seq_in_place() localVariable [all …]
|
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/serde_derive-1.0.197/src/ |
H A D | de.rs | 412 let expecting = format!("unit struct {}", params.type_name()); in deserialize_unit_struct() localVariable 413 let expecting = cattrs.expecting().unwrap_or(&expecting); in deserialize_unit_struct() localVariable 493 let expecting = match form { in deserialize_tuple() localVariable 499 let expecting = cattrs.expecting().unwrap_or(&expecting); in deserialize_tuple() localVariable 594 let expecting = format!("tuple struct {}", params.type_name()); in deserialize_tuple_in_place() localVariable 595 let expecting = cattrs.expecting().unwrap_or(&expecting); in deserialize_tuple_in_place() localVariable 686 let expecting = if deserialized_count == 1 { in deserialize_seq() localVariable 691 let expecting = cattrs.expecting().unwrap_or(&expecting); in deserialize_seq() localVariable 782 let expecting = if deserialized_count == 1 { in deserialize_seq_in_place() localVariable 787 let expecting = cattrs.expecting().unwrap_or(&expecting); in deserialize_seq_in_place() localVariable [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/chrono/src/naive/datetime/ |
D | serde.rs | 35 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 163 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 303 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 430 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 557 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 684 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 811 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 935 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 1056 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method
|
/aosp_15_r20/external/rust/android-crates-io/crates/chrono/src/datetime/ |
D | serde.rs | 57 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 226 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 367 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 495 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 625 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 753 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 889 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 1013 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method 1141 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in expecting() method
|
/aosp_15_r20/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
H A D | UnwantedTokenException.cs | 53 public UnwantedTokenException(int expecting, IIntStream input) in UnwantedTokenException() 57 public UnwantedTokenException(int expecting, IIntStream input, IList<string> tokenNames) in UnwantedTokenException() 61 …public UnwantedTokenException(string message, int expecting, IIntStream input, IList<string> token… in UnwantedTokenException() 65 …public UnwantedTokenException(string message, int expecting, IIntStream input, IList<string> token… in UnwantedTokenException()
|
H A D | MissingTokenException.cs | 59 public MissingTokenException(int expecting, IIntStream input, object inserted) in MissingTokenException() 63 …public MissingTokenException(int expecting, IIntStream input, object inserted, IList<string> token… in MissingTokenException() 68 …public MissingTokenException(string message, int expecting, IIntStream input, object inserted, ILi… in MissingTokenException() 73 …public MissingTokenException(string message, int expecting, IIntStream input, object inserted, ILi… in MissingTokenException()
|