Searched refs:isValidVarNameStart (Results 1 – 5 of 5) sorted by relevance
861 EXPECT_TRUE(Pattern::isValidVarNameStart('a')); in TEST_F()862 EXPECT_TRUE(Pattern::isValidVarNameStart('G')); in TEST_F()863 EXPECT_TRUE(Pattern::isValidVarNameStart('_')); in TEST_F()864 EXPECT_FALSE(Pattern::isValidVarNameStart('2')); in TEST_F()865 EXPECT_FALSE(Pattern::isValidVarNameStart('$')); in TEST_F()866 EXPECT_FALSE(Pattern::isValidVarNameStart('@')); in TEST_F()867 EXPECT_FALSE(Pattern::isValidVarNameStart('+')); in TEST_F()868 EXPECT_FALSE(Pattern::isValidVarNameStart('-')); in TEST_F()869 EXPECT_FALSE(Pattern::isValidVarNameStart(':')); in TEST_F()
440 static bool isValidVarNameStart(char C);
69 bool Pattern::isValidVarNameStart(char C) { return C == '_' || isalpha(C); } in isValidVarNameStart() function in Pattern85 if (!ParsedOneChar && !isValidVarNameStart(Str[I])) in parseVariable()
655 static bool isValidVarNameStart(char C);
419 bool Pattern::isValidVarNameStart(char C) { return C == '_' || isAlpha(C); } in isValidVarNameStart() function in Pattern433 if (!isValidVarNameStart(Str[I++])) in parseVariable()