Searched refs:resLocale (Results 1 – 6 of 6) sorted by relevance
/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
D | res_locale.cpp | 195 ResLocale *resLocale = new(std::nothrow) ResLocale; in CreateResLocale() local 196 if (resLocale == nullptr) { in CreateResLocale() 200 rState = resLocale->Init(r.tempLanguage, r.languageTagLen, r.tempScript, r.scriptTagLen, in CreateResLocale() 203 return resLocale; in CreateResLocale() 205 delete resLocale; in CreateResLocale() 315 ResLocale *resLocale = new(std::nothrow) ResLocale; in BuildFromParts() local 316 if (resLocale == nullptr) { in BuildFromParts() 320 …rState = resLocale->Init(tempLanguage, languageTagLen, tempScript, scriptTagLen, tempRegion, regio… in BuildFromParts() 322 return resLocale; in BuildFromParts() 324 delete resLocale; in BuildFromParts() [all …]
|
D | res_config_impl.cpp | 50 ResLocale *resLocale = in SetLocaleInfo() local 55 if (LocaleMatcher::Normalize(resLocale)) { in SetLocaleInfo() 58 delete resLocale; in SetLocaleInfo() 62 LocaleInfo *tempLocale = new(std::nothrow) LocaleInfo(resLocale->GetLanguage(), in SetLocaleInfo() 63 resLocale->GetScript(), resLocale->GetRegion()); in SetLocaleInfo() 66 delete resLocale; in SetLocaleInfo() 71 resLocale_ = resLocale; in SetLocaleInfo()
|
/base/global/resource_management/frameworks/resmgr/src/ |
D | res_locale.cpp | 201 ResLocale *resLocale = new(std::nothrow) ResLocale; in CreateResLocale() local 202 if (resLocale == nullptr) { in CreateResLocale() 206 rState = resLocale->Init(r.tempLanguage, r.languageTagLen, r.tempScript, r.scriptTagLen, in CreateResLocale() 209 return resLocale; in CreateResLocale() 211 delete resLocale; in CreateResLocale() 315 ResLocale *resLocale = new(std::nothrow) ResLocale; in BuildFromParts() local 316 if (resLocale == nullptr) { in BuildFromParts() 320 …rState = resLocale->Init(tempLanguage, languageTagLen, tempScript, scriptTagLen, tempRegion, regio… in BuildFromParts() 322 return resLocale; in BuildFromParts() 324 delete resLocale; in BuildFromParts() [all …]
|
D | res_config_impl.cpp | 78 ResLocale *resLocale = in SetLocaleInfo() local 83 if (LocaleMatcher::Normalize(resLocale)) { in SetLocaleInfo() 86 delete resLocale; in SetLocaleInfo() 91 Locale temp = icu::LocaleBuilder().setLanguage(resLocale->GetLanguage()) in SetLocaleInfo() 92 .setRegion(resLocale->GetRegion()).setScript(resLocale->GetScript()).build(errCode); in SetLocaleInfo() 96 delete resLocale; in SetLocaleInfo() 101 resLocale_ = resLocale; in SetLocaleInfo()
|
/base/global/resource_management_lite/frameworks/resmgr_lite/include/ |
D | locale_matcher.h | 65 static bool Normalize(ResLocale *resLocale);
|
/base/global/resource_management/frameworks/resmgr/include/ |
D | locale_matcher.h | 65 static bool Normalize(ResLocale *resLocale);
|