• Home
  • Raw
  • Download

Lines Matching refs:parsePattern

962     P.parsePattern("N/A", "CHECK", SM, Req);  in PatternTester()
984 bool parsePattern(StringRef Pattern) { in parsePattern() function in __anon2d17432e0111::PatternTester
986 return P.parsePattern(PatBufferRef, "CHECK", SM, Req); in parsePattern()
1038 EXPECT_FALSE(Tester.parsePattern("[[#%u, VAR_UNSIGNED:]]")); in TEST_F()
1039 EXPECT_FALSE(Tester.parsePattern("[[#%x, VAR_LOWER_HEX:]]")); in TEST_F()
1043 EXPECT_FALSE(Tester.parsePattern("[[#%.8X, PADDED_ADDR:]]")); in TEST_F()
1044 EXPECT_FALSE(Tester.parsePattern("[[#%.8, PADDED_NUM:]]")); in TEST_F()
1065 ASSERT_FALSE(Tester.parsePattern("[[#SAME_LINE_VAR:]]")); in TEST_F()
1072 ASSERT_FALSE(Tester.parsePattern("[[#SAME_LINE_EXPR_VAR:@LINE+1]]")); in TEST_F()
1080 EXPECT_TRUE(Tester.parsePattern("[[UNDEF:.*]]")); in TEST_F()
1283 EXPECT_TRUE(Tester.parsePattern("[[ BAR]]")); in TEST_F()
1286 EXPECT_TRUE(Tester.parsePattern("[[42INVALID]]")); in TEST_F()
1289 EXPECT_TRUE(Tester.parsePattern("[[@PAT:]]")); in TEST_F()
1290 EXPECT_TRUE(Tester.parsePattern("[[PAT+2:]]")); in TEST_F()
1293 EXPECT_TRUE(Tester.parsePattern("[[FOO:]]")); in TEST_F()
1296 EXPECT_FALSE(Tester.parsePattern("[[BAR]]")); in TEST_F()
1299 EXPECT_FALSE(Tester.parsePattern("[[PAT:[0-9]+]]")); in TEST_F()
1302 EXPECT_TRUE(Tester.parsePattern("[[#42INVALID]]")); in TEST_F()
1305 EXPECT_FALSE(Tester.parsePattern("[[#FOO]]")); in TEST_F()
1308 EXPECT_FALSE(Tester.parsePattern("[[@LINE+2]]")); in TEST_F()
1311 EXPECT_TRUE(Tester.parsePattern("[[@LINE+0x3]]")); in TEST_F()
1318 ASSERT_FALSE(Tester.parsePattern("[[#%u, -1]]")); in TEST_F()
1325 ASSERT_FALSE(Tester.parsePattern("[[#]]")); in TEST_F()
1331 ASSERT_FALSE(Tester.parsePattern("[[#NUMVAR:]]")); in TEST_F()
1336 Tester.parsePattern("[[#%u,NUMVAR_UNSIGNED:]]"); in TEST_F()
1340 Tester.parsePattern("[[#%x,NUMVAR_LOWER_HEX:]]"); in TEST_F()
1345 Tester.parsePattern("[[#%X,NUMVAR_UPPER_HEX:]]"); in TEST_F()
1353 Tester.parsePattern("[[#NUMVAR_UNSIGNED-5]]"); in TEST_F()
1358 Tester.parsePattern("[[#NUMVAR_LOWER_HEX+1]]"); in TEST_F()
1363 Tester.parsePattern("[[#NUMVAR_UPPER_HEX+1]]"); in TEST_F()
1370 ASSERT_FALSE(Tester.parsePattern("100")); in TEST_F()
1375 ASSERT_FALSE(Tester.parsePattern("[[#NUMVAR]]")); in TEST_F()
1380 ASSERT_FALSE(Tester.parsePattern("[[#NUMVAR]] [[#NUMVAR+2]]")); in TEST_F()
1388 ASSERT_FALSE(Tester.parsePattern("[[#@LINE]]")); in TEST_F()
1394 ASSERT_FALSE(Tester.parsePattern("[[#UNKNOWN]]")); in TEST_F()
1399 EXPECT_FALSE(Tester.parsePattern("[[#@LINE]]")); in TEST_F()
1408 ASSERT_FALSE(Tester.parsePattern("[[#NUMVAR:]]")); in TEST_F()
1414 ASSERT_FALSE(Tester.parsePattern("[[#NUMVAR + (2 + 2)]]")); in TEST_F()
1418 ASSERT_FALSE(Tester.parsePattern("[[#NUMVAR + (2)]]")); in TEST_F()
1421 ASSERT_FALSE(Tester.parsePattern("[[#NUMVAR+(2)]]")); in TEST_F()
1424 ASSERT_FALSE(Tester.parsePattern("[[#NUMVAR+(NUMVAR)]]")); in TEST_F()
1429 ASSERT_FALSE(Tester.parsePattern("[[#NUMVAR+(2+(2))]]")); in TEST_F()
1432 ASSERT_FALSE(Tester.parsePattern("[[#NUMVAR+(2+(NUMVAR))]]")); in TEST_F()
1435 ASSERT_FALSE(Tester.parsePattern("[[#NUMVAR+((((NUMVAR))))]]")); in TEST_F()
1438 ASSERT_FALSE(Tester.parsePattern("[[#NUMVAR+((((NUMVAR)))-1)-1]]")); in TEST_F()
1443 ASSERT_FALSE(Tester.parsePattern("[[#(NUMVAR)]]")); in TEST_F()
1446 ASSERT_FALSE(Tester.parsePattern("[[#(NUMVAR+2)]]")); in TEST_F()
1454 ASSERT_FALSE(Tester.parsePattern("[[#NUMVAR:]]")); in TEST_F()
1461 ASSERT_FALSE(Tester.parsePattern("[[#add(NUMVAR,13)]]")); in TEST_F()
1464 ASSERT_FALSE(Tester.parsePattern("[[#div(NUMVAR,3)]]")); in TEST_F()
1467 ASSERT_FALSE(Tester.parsePattern("[[#max(NUMVAR,5)]]")); in TEST_F()
1470 ASSERT_FALSE(Tester.parsePattern("[[#max(NUMVAR,99)]]")); in TEST_F()
1473 ASSERT_FALSE(Tester.parsePattern("[[#min(NUMVAR,5)]]")); in TEST_F()
1476 ASSERT_FALSE(Tester.parsePattern("[[#min(NUMVAR,99)]]")); in TEST_F()
1479 ASSERT_FALSE(Tester.parsePattern("[[#mul(NUMVAR,3)]]")); in TEST_F()
1482 ASSERT_FALSE(Tester.parsePattern("[[#sub(NUMVAR,7)]]")); in TEST_F()
1487 ASSERT_FALSE(Tester.parsePattern("[[#add(min(7,2),max(4,10))]]")); in TEST_F()
1492 ASSERT_FALSE(Tester.parsePattern("[[#add(add,add)+min (add,3)+add]]")); in TEST_F()
1593 ASSERT_FALSE(P.parsePattern("[[@LINE]]", "CHECK", SM, Req)); in TEST_F()
1706 ASSERT_FALSE(Tester.parsePattern("[[STRVAR:[a-z]+]] [[#NUMVAR:@LINE]]")); in TEST_F()