/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/ |
D | locale_info_test.cpp | 241 EXPECT_TRUE(std::strcmp("Qaag", currentLocaleInfo->GetScript()) == 0); 295 EXPECT_TRUE(std::strcmp("Hant", localeInfo->GetScript()) == 0); 315 EXPECT_TRUE(std::strcmp("Hant", localeInfo->GetScript()) == 0); 396 EXPECT_TRUE(localeInfo->GetScript() == nullptr); 417 EXPECT_TRUE(std::strcmp("Hant", localeInfo->GetScript()) == 0); 468 EXPECT_TRUE(localeInfo->GetScript() == nullptr); 489 EXPECT_TRUE(localeInfo->GetScript() == nullptr); 525 EXPECT_TRUE(std::strcmp("Latn", localeInfo->GetScript()) == 0); 576 EXPECT_TRUE(localeInfo->GetScript() == nullptr);
|
D | hap_parser_test.cpp | 99 EXPECT_EQ(std::string("Hans"), config->GetLocaleInfo()->GetScript());
|
/base/global/resource_management/frameworks/resmgr/src/ |
D | locale_matcher.cpp | 242 if ((request != nullptr) && (Utils::EncodeLocale(request->GetLanguage(), request->GetScript(), in CompareRegionWhenQaag() 299 if ((current != nullptr) && (current->GetScript() == nullptr)) { in CompareScript() 305 if ((other != nullptr) && (other->GetScript() == nullptr)) { in CompareScript() 313 if (Utils::EncodeLocale(current->GetLanguage(), current->GetScript(), nullptr) == in CompareScript() 315 if (Utils::EncodeLocale(other->GetLanguage(), other->GetScript(), nullptr) == in CompareScript() 387 (request == nullptr) ? nullptr : request->GetScript()); in CompareWhenRegionIsNull() 431 (request == nullptr) ? nullptr : request->GetScript(), in CompareDefaultRegion() 434 …(request == nullptr) ? nullptr : request->GetScript(), (other == nullptr) ? nullptr : other->GetRe… in CompareDefaultRegion() 494 FindDefaultRegionEncode(request->GetLanguage(), request->GetScript()); in CompareRegion() 522 if (!Utils::IsStrEmpty(localeInfo->GetScript())) { in Normalize()
|
D | res_locale.cpp | 149 return this->Init(other->GetLanguage(), Utils::StrLen(other->GetLanguage()), other->GetScript(), in Copy() 150 Utils::StrLen(other->GetScript()), other->GetRegion(), Utils::StrLen(other->GetRegion())); in Copy() 163 const char *ResLocale::GetScript() const in GetScript() function in OHOS::Global::Resource::ResLocale 380 .setRegion(resLocale->GetRegion()).setScript(resLocale->GetScript()).build(errCode); in BuildFromString()
|
D | res_config_impl.cpp | 92 .setRegion(resLocale->GetRegion()).setScript(resLocale->GetScript()).build(errCode); in SetLocaleInfo() 223 this->GetResLocale()->GetScript(), this->GetResLocale()->GetRegion()); in CopyLocale()
|
/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
D | locale_matcher.cpp | 242 if ((request != nullptr) && (Utils::EncodeLocale(request->GetLanguage(), request->GetScript(), in CompareRegionWhenQaag() 300 if ((current != nullptr) && (current->GetScript() == nullptr)) { in CompareScript() 306 if ((other != nullptr) && (other->GetScript() == nullptr)) { in CompareScript() 314 if (Utils::EncodeLocale(current->GetLanguage(), current->GetScript(), nullptr) == in CompareScript() 316 if (Utils::EncodeLocale(other->GetLanguage(), other->GetScript(), nullptr) == in CompareScript() 388 (request == nullptr) ? nullptr : request->GetScript()); in CompareWhenRegionIsNull() 432 (request == nullptr) ? nullptr : request->GetScript(), in CompareDefaultRegion() 435 …(request == nullptr) ? nullptr : request->GetScript(), (other == nullptr) ? nullptr : other->GetRe… in CompareDefaultRegion() 495 FindDefaultRegionEncode(request->GetLanguage(), request->GetScript()); in CompareRegion() 523 if (!Utils::IsStrEmpty(localeInfo->GetScript())) { in Normalize()
|
D | res_config_impl.cpp | 35 …return this->SetLocaleInfo(localeInfo.GetLanguage(), localeInfo.GetScript(), localeInfo.GetRegion(… in SetLocaleInfo() 63 resLocale->GetScript(), resLocale->GetRegion()); in SetLocaleInfo() 133 this->GetResLocale()->GetScript(), this->GetResLocale()->GetRegion()); in CopyLocale() 136 other.GetLocaleInfo()->GetScript(), other.GetLocaleInfo()->GetRegion()); in CopyLocale()
|
D | res_locale.cpp | 134 return this->Init(other->GetLanguage(), Utils::StrLen(other->GetLanguage()), other->GetScript(), in CopyFromLocaleInfo() 135 Utils::StrLen(other->GetScript()), other->GetRegion(), Utils::StrLen(other->GetRegion())); in CopyFromLocaleInfo() 143 return this->Init(other->GetLanguage(), Utils::StrLen(other->GetLanguage()), other->GetScript(), in Copy() 144 Utils::StrLen(other->GetScript()), other->GetRegion(), Utils::StrLen(other->GetRegion())); in Copy() 157 const char *ResLocale::GetScript() const in GetScript() function in OHOS::Global::Resource::ResLocale 338 localeInfo.GetScript(), localeInfo.GetRegion()); in UpdateDefault() 370 resLocale->GetScript(), resLocale->GetRegion()); in BuildFromString()
|
/base/global/i18n/frameworks/intl/test/fuzztest/localeinfo_fuzzer/ |
D | localeinfo_fuzzer.cpp | 33 locale->GetScript(); in DoSomethingInterestingWithMyAPI()
|
/base/global/resource_management_lite/frameworks/resmgr_lite/include/ |
D | res_locale.h | 44 const char *GetScript() const;
|
/base/global/i18n_lite/interfaces/kits/i18n/include/ |
D | locale_info.h | 146 const char *GetScript() const;
|
/base/global/resource_management/frameworks/resmgr/include/ |
D | res_locale.h | 48 const char *GetScript() const;
|
/base/global/i18n/frameworks/intl/include/ |
D | locale_info.h | 35 std::string GetScript() const;
|
/base/global/i18n/frameworks/intl/src/ |
D | preferred_language.cpp | 197 std::string resourceScript = maximizedResourceLocale.GetScript(); in IsMatched() 210 std::string preferredScript = maximizedResourceLocale.GetScript(); in IsMatched()
|
D | i18n_timezone.cpp | 262 std::string script = localeinfo.GetScript(); in ComputeLocale() 276 std::string script = localeinfo.GetScript(); in ComputeLocale()
|
D | locale_info.cpp | 198 std::string LocaleInfo::GetScript() const in GetScript() function in OHOS::Global::I18n::LocaleInfo
|
D | locale_config.cpp | 749 std::string script = localeinfo.GetScript(); in ComputeLocale() 763 std::string script = localeinfo.GetScript(); in ComputeLocale() 831 std::string scripts = locale.GetScript(); in GetDsiplayLanguageWithDialect()
|
/base/global/resource_management_lite/frameworks/resmgr_lite/src/utils/ |
D | utils.cpp | 143 return Utils::EncodeScript(locale->GetScript()); in EncodeScriptByResLocale()
|
/base/global/i18n/interfaces/js/kits/include/ |
D | intl_addon.h | 71 static napi_value GetScript(napi_env env, napi_callback_info info);
|
/base/global/resource_management/frameworks/resmgr/src/utils/ |
D | utils.cpp | 220 return Utils::EncodeScript(locale->GetScript()); in EncodeScriptByResLocale()
|
/base/global/i18n_lite/frameworks/i18n/src/ |
D | locale_info.cpp | 182 const char *LocaleInfo::GetScript() const in GetScript() function in LocaleInfo
|
D | data_resource.cpp | 504 const char *script = src.GetScript(); in GetFallbackMask()
|
/base/global/i18n/frameworks/intl/test/unittest/ |
D | intl_test.cpp | 114 EXPECT_EQ(loc->GetScript(), "Jpan"); 145 EXPECT_EQ(loc->GetScript(), script); 1740 res = locale->GetScript();
|
/base/global/i18n/interfaces/js/kits/src/ |
D | intl_addon.cpp | 53 DECLARE_NAPI_GETTER("script", GetScript), in InitLocale() 681 napi_value IntlAddon::GetScript(napi_env env, napi_callback_info info) in GetScript() function in OHOS::Global::I18n::IntlAddon 695 std::string value = obj->locale_->GetScript(); in GetScript()
|
/base/global/i18n_lite/frameworks/i18n/test/unittest/lite/common/ |
D | i18n_test.cpp | 152 const char *script = locale.GetScript();
|