Home
last modified time | relevance | path

Searched refs:GetLocale (Results 1 – 25 of 30) sorted by relevance

12

/ohos5.0/base/global/i18n_lite/interfaces/kits/js/builtin/src/
H A Dlocale_module.cpp60 JSI::SetModuleAPI(exports, "getLocale", LocaleModule::GetLocale); in InitLocaleModule()
63 JSIValue LocaleModule::GetLocale(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in GetLocale() function in OHOS::ACELite::LocaleModule
/ohos5.0/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dres_config_impl_test.cpp88 locale = GetLocale("en", nullptr, "CA");
105 locale = GetLocale("en", nullptr, "CA");
182 locale = GetLocale("qaa", "Latn", "FR");
199 locale = GetLocale("qaa", nullptr, "FR");
216 locale = GetLocale("az", nullptr, nullptr);
220 locale = GetLocale("qaa", "Latn", "CA");
571 locale = GetLocale("fr", nullptr, "CA");
575 locale = GetLocale("en", nullptr, "CA");
761 locale = GetLocale("es", nullptr, "ES");
963 locale = GetLocale("zh", "Hant", "US");
[all …]
H A Dtest_common.h49 Locale GetLocale(const char *language, const char *script, const char *region);
H A Dtest_common.cpp82 Locale GetLocale(const char *language, const char *script, const char *region) in GetLocale() function
H A Dresource_manager_test.cpp250 Locale locale = GetLocale("en", nullptr, nullptr);
256 locale = GetLocale(nullptr, nullptr, nullptr);
355 Locale locale = GetLocale("zh", "Hans", "CN");
/ohos5.0/base/global/i18n_lite/interfaces/kits/js/builtin/include/
H A Dlocale_module.h27 static JSIValue GetLocale(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum);
/ohos5.0/base/global/i18n/frameworks/intl/test/fuzztest/localeinfo_fuzzer/
H A Dlocaleinfo_fuzzer.cpp45 locale->GetLocale(); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/global/i18n/frameworks/intl/test/fuzztest/datetimerule_fuzzer/
H A Ddatetimerule_fuzzer.cpp51 dateTimeRule->GetLocale(); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/global/i18n/frameworks/intl/src/
H A Drelative_time_format.cpp75 locale = localeInfo->GetLocale(); in RelativeTimeFormat()
90 locale = localeInfo->GetLocale(); in RelativeTimeFormat()
H A Dplural_rules.cpp120 locale = localeInfo->GetLocale(); in InitPluralRules()
H A Dnumber_format.cpp108 locale = localeInfo->GetLocale(); in NumberFormat()
125 locale = localeInfo->GetLocale(); in NumberFormat()
H A Dcollator.cpp90 locale = localeInfo->GetLocale(); in Collator()
H A Dlocale_info.cpp250 Locale LocaleInfo::GetLocale() const in GetLocale() function in OHOS::Global::I18n::LocaleInfo
/ohos5.0/base/location/services/location_geocode/geocode/include/
H A Dgeo_convert_request.h41 std::string GetLocale();
/ohos5.0/base/global/i18n/frameworks/intl/include/
H A Dlocale_info.h47 icu::Locale GetLocale() const;
/ohos5.0/base/global/i18n_lite/frameworks/i18n/include/
H A Ddate_time_format_impl.h61 LocaleInfo GetLocale();
/ohos5.0/base/global/resource_management/interfaces/js/innerkits/core/include/
H A Dresource_manager_napi_utils.h87 static std::string GetLocale(std::unique_ptr<ResConfig> &cfg);
/ohos5.0/base/global/i18n/frameworks/intl/entity_recognition/date_time_recognition/include/
H A Ddate_time_rule.h48 std::string GetLocale();
/ohos5.0/base/global/i18n/frameworks/intl/entity_recognition/date_time_recognition/src/
H A Ddate_rule_init.cpp28 this->locale = dateTimeRule->GetLocale(); in DateRuleInit()
H A Ddate_time_rule.cpp65 std::string DateTimeRule::GetLocale() in GetLocale() function in OHOS::Global::I18n::DateTimeRule
/ohos5.0/base/global/resource_management/interfaces/cj/src/
H A Dresource_manager_impl.cpp272 std::string locale = GetLocale(cfg); in GetConfiguration()
399 std::string ResourceManagerImpl::GetLocale(std::unique_ptr<Global::Resource::ResConfig> &cfg) in GetLocale() function in OHOS::Resource::ResourceManagerImpl
H A Dresource_manager_impl.h114 std::string GetLocale(std::unique_ptr<Global::Resource::ResConfig> &cfg);
/ohos5.0/base/location/services/location_geocode/geocode/source/
H A Dgeo_convert_request.cpp41 std::string GeoConvertRequest::GetLocale() in GetLocale() function in OHOS::Location::GeoConvertRequest
/ohos5.0/base/global/resource_management/interfaces/js/innerkits/core/src/
H A Dresource_manager_napi_utils.cpp478 std::string ResourceManagerNapiUtils::GetLocale(std::unique_ptr<ResConfig> &cfg) in GetLocale() function in OHOS::Global::Resource::ResourceManagerNapiUtils
531 …status = napi_create_string_utf8(env, ResourceManagerNapiUtils::GetLocale(cfg).c_str(), NAPI_AUTO_… in CreateConfig()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_layout_manager.cpp226 panda::StringRef::NewFromUtf8(vm, textStyle.GetLocale().c_str()) }; in CreateJSTextStyleResult()

12