Searched refs:isEqualScript (Results 1 – 4 of 4) sorted by relevance
100 return !isUnsupported() && isEqualScript(other) && mLanguage == other.mLanguage &&121 bool isEqualScript(const Locale& other) const;
453 bool Locale::isEqualScript(const Locale& other) const { in isEqualScript() function in minikin::Locale488 if (isEqualScript(supported[i]) || in calcScoreFor()544 if (myLocale.isEqualScript(otherLocale)) { in atLeastOneScriptMatch()
629 if (fontLocaleList[i].isEqualScript(locale)) { in filterFamilyByLocale()
223 EXPECT_TRUE(createLocale("en").isEqualScript(createLocale("en"))); in TEST()224 EXPECT_TRUE(createLocale("en-Latn").isEqualScript(createLocale("en"))); in TEST()225 EXPECT_TRUE(createLocale("jp-Latn").isEqualScript(createLocale("en-Latn"))); in TEST()226 EXPECT_TRUE(createLocale("en-Jpan").isEqualScript(createLocale("en-Jpan"))); in TEST()228 EXPECT_FALSE(createLocale("en-Jpan").isEqualScript(createLocale("en-Hira"))); in TEST()229 EXPECT_FALSE(createLocale("en-Jpan").isEqualScript(createLocale("en-Hani"))); in TEST()