Searched refs:matches_locale (Results 1 – 4 of 4) sorted by relevance
/bootable/recovery/tests/unit/ |
D | locale_test.cpp | 22 EXPECT_TRUE(matches_locale("zh-CN", "zh-Hans-CN")); in TEST() 23 EXPECT_TRUE(matches_locale("zh", "zh-Hans-CN")); in TEST() 24 EXPECT_FALSE(matches_locale("zh-HK", "zh-Hans-CN")); in TEST() 25 EXPECT_TRUE(matches_locale("en-GB", "en-GB")); in TEST() 26 EXPECT_TRUE(matches_locale("en", "en-GB")); in TEST() 27 EXPECT_FALSE(matches_locale("en-GB", "en")); in TEST() 28 EXPECT_FALSE(matches_locale("en-GB", "en-US")); in TEST() 29 EXPECT_FALSE(matches_locale("en-US", "")); in TEST() 31 EXPECT_TRUE(matches_locale("", "en-US")); in TEST() 32 EXPECT_TRUE(matches_locale("sr-Latn", "sr-Latn-BA")); in TEST()
|
/bootable/recovery/tests/component/ |
D | resources_test.cpp | 106 if (matches_locale(loc, kLocale.c_str())) { in TEST_P()
|
/bootable/recovery/minui/include/minui/ |
D | minui.h | 176 bool matches_locale(const std::string& prefix, const std::string& locale);
|
/bootable/recovery/minui/ |
D | resources.cpp | 340 bool matches_locale(const std::string& prefix, const std::string& locale) { in matches_locale() function 417 if (y + 1 + h >= height || matches_locale(loc, locale)) { in res_create_localized_alpha_surface()
|