Home
last modified time | relevance | path

Searched refs:tabooUtils (Results 1 - 4 of 4) sorted by relevance

/base/global/i18n/frameworks/intl/test/fuzztest/taboo_fuzzer/
H A Dtaboo_fuzzer.cpp29 TabooUtils tabooUtils; in DoSomethingInterestingWithMyAPI() local
30 tabooUtils.ReplaceCountryName(input, input, input); in DoSomethingInterestingWithMyAPI()
31 tabooUtils.ReplaceLanguageName(input, input, input); in DoSomethingInterestingWithMyAPI()
/base/global/i18n/frameworks/intl/src/
H A Dsystem_locale_manager.cpp31 tabooUtils = std::make_unique<TabooUtils>(); in SystemLocaleManager()
61 languageDisplayName = tabooUtils->ReplaceLanguageName(*it, options.localeTag, languageDisplayName); in GetLanguageInfoArray()
65 languageNativeName = tabooUtils->ReplaceLanguageName(*it, *it, languageNativeName); in GetLanguageInfoArray()
111 regionDisplayName = tabooUtils->ReplaceCountryName(*it, options.localeTag, regionDisplayName); in GetCountryInfoArray()
/base/global/i18n/frameworks/intl/include/
H A Dsystem_locale_manager.h121 std::unique_ptr<TabooUtils> tabooUtils; member in OHOS::Global::I18n::SystemLocaleManager
/base/global/i18n/frameworks/intl/test/unittest/
H A Dintl_test_extent.cpp270 TabooUtils *tabooUtils = new TabooUtils(); in HWTEST_F() local
271 std::string res1 = tabooUtils->ReplaceCountryName("CN", "en", "China"); in HWTEST_F()
273 std::string res2 = tabooUtils->ReplaceLanguageName("zh", "en", "chinese"); in HWTEST_F()
275 std::string res3 = tabooUtils->ReplaceCountryName("TW", "zh-Hans", "中国台湾"); in HWTEST_F()
277 delete tabooUtils; in HWTEST_F()

Completed in 5 milliseconds