Searched refs:OneLiteral (Results 1 – 12 of 12) sorted by relevance
97 EXPECT_FALSE(Scanner("abc").OneLiteral("ab").Eos().GetResult()); in TEST_F()98 EXPECT_TRUE(Scanner("abc").OneLiteral("abc").Eos().GetResult()); in TEST_F()134 TEST_F(ScannerTest, OneLiteral) { in TEST_F() argument135 EXPECT_FALSE(Scanner("abc").OneLiteral("abC").GetResult()); in TEST_F()136 EXPECT_TRUE(Scanner("abc").OneLiteral("ab").OneLiteral("c").GetResult()); in TEST_F()142 .OneLiteral("'") in TEST_F()144 .OneLiteral("'") in TEST_F()152 .OneLiteral("'") in TEST_F()169 .OneLiteral("'") in TEST_F()171 .OneLiteral("'") in TEST_F()[all …]
85 Scanner& OneLiteral(StringPiece s) { in OneLiteral() function
46 .OneLiteral(":") in ConsumeAttrName()53 .OneLiteral("list") in ConsumeListPrefix()55 .OneLiteral("(") in ConsumeListPrefix()63 .OneLiteral(quote_str.c_str()) in ConsumeQuotedString()67 .OneLiteral(quote_str.c_str()) in ConsumeQuotedString()87 scan.OneLiteral("-"); in ConsumeAttrNumber()280 .OneLiteral(":") in ConsumeInOutName()287 .OneLiteral("Ref") in ConsumeInOutRefOpen()289 .OneLiteral("(") in ConsumeInOutRefOpen()295 return Scanner(*sp).OneLiteral(")").AnySpace().GetResult(sp); in ConsumeInOutRefClose()[all …]
241 scanner.OneLiteral("["); in MakeShapeFromString()244 scanner.OneLiteral("?"); in MakeShapeFromString()260 scanner.OneLiteral(","); in MakeShapeFromString()266 if (!scanner.OneLiteral("]").Eos().GetResult()) { in MakeShapeFromString()
637 scan.OneLiteral(":"); in IsValidDataInputName()639 scan.OneLiteral("0"); // :0 in IsValidDataInputName()651 .OneLiteral("^") in IsValidControlInputName()
70 if (Scanner(remaining).OneLiteral("(").GetResult(&remaining, &match)) { in ParseTransformParameters()79 if (Scanner(remaining).OneLiteral(")").GetResult(&remaining, &match)) { in ParseTransformParameters()97 if (Scanner(remaining).OneLiteral("=").GetResult(&remaining, &match)) { in ParseTransformParameters()107 if (Scanner(remaining).OneLiteral("\"").GetResult(&remaining, &match)) { in ParseTransformParameters()112 Scanner(remaining).OneLiteral("\"").GetResult(&remaining, &match); in ParseTransformParameters()
120 .OneLiteral("grant_type=") in TEST()124 .OneLiteral("&assertion=") in TEST()
395 .OneLiteral(": ") in HeaderCallback()
50 .OneLiteral(":") in FunctionDefTensorDesc()60 .OneLiteral(":") in FunctionDefTensorDesc()
211 scanner.OneLiteral("lla:maerts/"); in ExtractGpuWithStreamAll()215 scanner.OneLiteral(":UPG:ecived"); in ExtractGpuWithStreamAll()244 scanner.OneLiteral(":UPG:ecived"); in ExtractGpuWithoutStream()
217 .OneLiteral("://") in ParseURI()
125 .OneLiteral(":") in ExpandFunctionDefInput()135 .OneLiteral(":") in ExpandFunctionDefInput()