Home
last modified time | relevance | path

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

/base/global/i18n/interfaces/js/kits/src/
Dintl_addon.cpp345 locale_ = std::make_unique<LocaleInfo>(localeTag, map); in InitLocaleContext()
347 return locale_ != nullptr; in InitLocaleContext()
666 if (status != napi_ok || !obj || !obj->locale_) { in GetLanguage()
670 std::string value = obj->locale_->GetLanguage(); in GetLanguage()
691 if (status != napi_ok || !obj || !obj->locale_) { in GetScript()
695 std::string value = obj->locale_->GetScript(); in GetScript()
716 if (status != napi_ok || !obj || !obj->locale_) { in GetRegion()
720 std::string value = obj->locale_->GetRegion(); in GetRegion()
741 if (status != napi_ok || !obj || !obj->locale_) { in GetBaseName()
745 std::string value = obj->locale_->GetBaseName(); in GetBaseName()
[all …]
/base/global/i18n/interfaces/js/kits/include/
Dintl_addon.h119 std::unique_ptr<LocaleInfo> locale_ = nullptr; variable