Home
last modified time | relevance | path

Searched refs:checkPSName (Results 1 – 3 of 3) sorted by relevance

/frameworks/minikin/tests/unittest/
DFontFileParserTest.cpp45 using FontFileParser::checkPSName;
99 TEST(FontFileParser, checkPSName) { in TEST() argument
100 EXPECT_TRUE(TestableFontFileParser::checkPSName("Roboto-Regular")); in TEST()
101 EXPECT_TRUE(TestableFontFileParser::checkPSName("NotoColorEmoji")); in TEST()
104 EXPECT_FALSE(TestableFontFileParser::checkPSName("Roboto Regular")); in TEST()
105 EXPECT_FALSE(TestableFontFileParser::checkPSName("Noto Color Emoji")); in TEST()
108 EXPECT_FALSE(TestableFontFileParser::checkPSName("Roboto (Regular)")); in TEST()
109 EXPECT_FALSE(TestableFontFileParser::checkPSName("Noto <Color> {Emoji}")); in TEST()
112 EXPECT_FALSE(TestableFontFileParser::checkPSName("Roboto-Regular\b")); in TEST()
113 EXPECT_FALSE(TestableFontFileParser::checkPSName("NotoColorEmoji\t")); in TEST()
[all …]
/frameworks/minikin/include/minikin/
DFontFileParser.h43 static bool checkPSName(const std::string& psName);
/frameworks/minikin/libs/minikin/
DFontFileParser.cpp146 bool FontFileParser::checkPSName(const std::string& psName) { in checkPSName() function in minikin::FontFileParser
204 if (!checkPSName(out)) { // Contains invalid characters. in getPostScriptName()