Home
last modified time | relevance | path

Searched refs:matches_locale (Results 1 – 4 of 4) sorted by relevance

/bootable/recovery/tests/unit/
Dlocale_test.cpp22 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/
Dresources_test.cpp106 if (matches_locale(loc, kLocale.c_str())) { in TEST_P()
/bootable/recovery/minui/include/minui/
Dminui.h176 bool matches_locale(const std::string& prefix, const std::string& locale);
/bootable/recovery/minui/
Dresources.cpp340 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()