Home
last modified time | relevance | path

Searched refs:localDigitTag (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/global/i18n/frameworks/intl/include/
H A Dlocale_config.h243 static std::string UpdateNumberSystemOfLocale(const std::string &localDigitTag, bool flag);
251 static std::string AddLocalDigitToLocale(const std::string &localDigitTag);
259 static std::string RemoveLocalDigitFromLocale(const std::string &localDigitTag);
/ohos5.0/base/global/i18n/frameworks/intl/src/
H A Dlocale_config.cpp1292 std::string LocaleConfig::UpdateNumberSystemOfLocale(const std::string &localDigitTag, bool flag) in UpdateNumberSystemOfLocale() argument
1296 return AddLocalDigitToLocale(localDigitTag); in UpdateNumberSystemOfLocale()
1299 return RemoveLocalDigitFromLocale(localDigitTag); in UpdateNumberSystemOfLocale()
1302 std::string LocaleConfig::AddLocalDigitToLocale(const std::string &localDigitTag) in AddLocalDigitToLocale() argument
1307 localeTag += "-u" + std::string(NUMBER_SYSTEM_KEY) + localDigitTag; in AddLocalDigitToLocale()
1312 localeTag += std::string(NUMBER_SYSTEM_KEY) + localDigitTag; in AddLocalDigitToLocale()
1318 localeTag.replace(localeTag.find(oldNumberSystem), oldNumberSystem.length(), localDigitTag); in AddLocalDigitToLocale()
1322 std::string LocaleConfig::RemoveLocalDigitFromLocale(const std::string &localDigitTag) in RemoveLocalDigitFromLocale() argument
1326 std::string numberSystemTag = NUMBER_SYSTEM_KEY + localDigitTag; in RemoveLocalDigitFromLocale()