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 …]
87 Scanner& OneLiteral(StringPiece s) { in OneLiteral() function
241 .OneLiteral("://") in ParseURI()
415 .OneLiteral("://") in ParseURI()
48 .OneLiteral(":") in ConsumeAttrName()55 .OneLiteral("list") in ConsumeListPrefix()57 .OneLiteral("(") in ConsumeListPrefix()65 .OneLiteral(quote_str.c_str()) in ConsumeQuotedString()69 .OneLiteral(quote_str.c_str()) in ConsumeQuotedString()89 scan.OneLiteral("-"); in ConsumeAttrNumber()284 .OneLiteral(":") in ConsumeInOutName()291 .OneLiteral("Ref") in ConsumeInOutRefOpen()293 .OneLiteral("(") in ConsumeInOutRefOpen()299 return Scanner(*sp).OneLiteral(")").AnySpace().GetResult(sp); in ConsumeInOutRefClose()[all …]
239 scanner.OneLiteral("["); in MakeShapeFromString()242 scanner.OneLiteral("?"); in MakeShapeFromString()258 scanner.OneLiteral(","); in MakeShapeFromString()264 if (!scanner.OneLiteral("]").Eos().GetResult()) { in MakeShapeFromString()
768 scan.OneLiteral(":"); in IsValidDataInputName()770 scan.OneLiteral("0"); // :0 in IsValidDataInputName()785 scan.OneLiteral("^") in IsValidControlInputName()
71 if (Scanner(remaining).OneLiteral("(").GetResult(&remaining, &match)) { in ParseTransformParameters()80 if (Scanner(remaining).OneLiteral(")").GetResult(&remaining, &match)) { in ParseTransformParameters()98 if (Scanner(remaining).OneLiteral("=").GetResult(&remaining, &match)) { in ParseTransformParameters()108 if (Scanner(remaining).OneLiteral("\"").GetResult(&remaining, &match)) { in ParseTransformParameters()113 Scanner(remaining).OneLiteral("\"").GetResult(&remaining, &match); in ParseTransformParameters()
124 .OneLiteral("grant_type=") in TEST()128 .OneLiteral("&assertion=") in TEST()
410 .OneLiteral(": ") in HeaderCallback()
50 .OneLiteral(":") in FunctionDefTensorDesc()60 .OneLiteral(":") in FunctionDefTensorDesc()
209 scanner.OneLiteral("lla:maerts/"); in ExtractGpuWithStreamAll()213 scanner.OneLiteral(":UPG:ecived"); in ExtractGpuWithStreamAll()242 scanner.OneLiteral(":UPG:ecived"); in ExtractGpuWithoutStream()