/ohos5.0/base/global/resource_management/frameworks/resmgr/test/unittest/common/ |
H A D | res_config_impl_test.cpp | 605 EXPECT_TRUE(current->IsMoreSuitable(other, request)); 606 EXPECT_TRUE(other->IsMoreSuitable(current, request)); 619 EXPECT_TRUE(current->IsMoreSuitable(other, request)); 620 EXPECT_TRUE(other->IsMoreSuitable(current, request)); 625 EXPECT_TRUE(current->IsMoreSuitable(other, request)); 626 EXPECT_TRUE(other->IsMoreSuitable(current, request)); 639 EXPECT_TRUE(current->IsMoreSuitable(other, request)); 653 EXPECT_TRUE(current->IsMoreSuitable(other, request)); 660 EXPECT_TRUE(other->IsMoreSuitable(current, request)); 673 EXPECT_TRUE(current->IsMoreSuitable(other, request)); [all …]
|
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/ |
H A D | res_config_impl_test.cpp | 506 EXPECT_TRUE(current->IsMoreSuitable(other, request)); 507 EXPECT_TRUE(other->IsMoreSuitable(current, request)); 523 EXPECT_TRUE(current->IsMoreSuitable(other, request)); 524 EXPECT_TRUE(other->IsMoreSuitable(current, request)); 540 EXPECT_TRUE(current->IsMoreSuitable(other, request)); 557 EXPECT_TRUE(current->IsMoreSuitable(other, request)); 574 EXPECT_TRUE(current->IsMoreSuitable(other, request)); 591 EXPECT_TRUE(current->IsMoreSuitable(other, request)); 592 EXPECT_TRUE(other->IsMoreSuitable(current, request)); 608 EXPECT_TRUE(current->IsMoreSuitable(other, request)); [all …]
|
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
H A D | res_config_impl.cpp | 212 bool ResConfigImpl::IsMoreSuitable(const ResConfigImpl *other, in IsMoreSuitable() function in OHOS::Global::Resource::ResConfigImpl 217 LocaleMatcher::IsMoreSuitable(this->GetResLocale(), other->GetResLocale(), in IsMoreSuitable()
|
H A D | hap_manager.cpp | 144 if (!bestResConfig->IsMoreSuitable(resConfig, currentResConfig)) { in FindQualifierValueByName() 176 if (!bestResConfig->IsMoreSuitable(resConfig, currentResConfig)) { in FindQualifierValueById()
|
H A D | res_locale.cpp | 459 …if (LocaleMatcher::IsMoreSuitable(tempCandidate.at(j), tempCandidate.at(j + 1), currentLocale) <= … in FindAndSort()
|
H A D | locale_matcher.cpp | 601 int8_t LocaleMatcher::IsMoreSuitable(const ResLocale *current, in IsMoreSuitable() function in OHOS::Global::Resource::LocaleMatcher
|
/ohos5.0/base/global/i18n/frameworks/intl/test/unittest/ |
H A D | intl_test_extent.cpp | 997 LocaleMatcher::IsMoreSuitable(nullptr, other, nullptr); 998 LocaleMatcher::IsMoreSuitable(nullptr, nullptr, nullptr); 1004 LocaleMatcher::IsMoreSuitable(currentTL, other, request); 1005 LocaleMatcher::IsMoreSuitable(other, currentTL, request); 1008 LocaleMatcher::IsMoreSuitable(currentJI, otherYI, request); 1009 LocaleMatcher::IsMoreSuitable(otherYI, currentJI, request); 1016 LocaleMatcher::IsMoreSuitable(currentIN, otherID, request); 1017 LocaleMatcher::IsMoreSuitable(otherID, currentIN, request); 1018 LocaleMatcher::IsMoreSuitable(nullptr, currentIN, request); 1019 LocaleMatcher::IsMoreSuitable(currentIN, nullptr, request); [all …]
|
H A D | i18n_test.cpp | 1394 int8_t res = LocaleMatcher::IsMoreSuitable(current, other, request); 1399 res = LocaleMatcher::IsMoreSuitable(current, other, request); 1404 res = LocaleMatcher::IsMoreSuitable(current, other, request); 1408 res = LocaleMatcher::IsMoreSuitable(current, other, request); 1417 res = LocaleMatcher::IsMoreSuitable(current, other, request); 1422 res = LocaleMatcher::IsMoreSuitable(current, other, request);
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/include/ |
H A D | locale_matcher.h | 24 static int8_t IsMoreSuitable(const ResLocale *current,
|
H A D | res_config_impl.h | 40 …bool IsMoreSuitable(const std::shared_ptr<ResConfigImpl> other, const std::shared_ptr<ResConfigImp…
|
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/include/ |
H A D | locale_matcher.h | 24 static int8_t IsMoreSuitable(const ResLocale *current,
|
H A D | res_config_impl.h | 38 bool IsMoreSuitable(const ResConfigImpl *other, const ResConfigImpl *request) const;
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/ |
H A D | res_config_impl.cpp | 518 bool ResConfigImpl::IsMoreSuitable(const std::shared_ptr<ResConfigImpl> other, in IsMoreSuitable() function in OHOS::Global::Resource::ResConfigImpl 528 …int8_t preferredResult = LocaleMatcher::IsMoreSuitable(this->GetResLocale(), other->GetResLocale(), in IsMoreSuitable() 535 int8_t result = LocaleMatcher::IsMoreSuitable(this->GetResLocale(), other->GetResLocale(), in IsMoreSuitable()
|
H A D | res_locale.cpp | 470 …if (LocaleMatcher::IsMoreSuitable(tempCandidate.at(j), tempCandidate.at(j + 1), currentLocale) <= … in FindAndSort()
|
H A D | hap_manager.cpp | 268 if (!bestResConfig->IsMoreSuitable(resConfig, currentResConfig, density)) { in MatchBestResource() 297 if (bestOverlayResConfig->IsMoreSuitable(bestResConfig, currentResConfig, density)) { in GetBestMatchResource()
|
H A D | locale_matcher.cpp | 603 int8_t LocaleMatcher::IsMoreSuitable(const ResLocale *current, in IsMoreSuitable() function in OHOS::Global::Resource::LocaleMatcher
|
/ohos5.0/base/global/i18n/interfaces/native/inner_api/i18n/include/ |
H A D | locale_matcher.h | 44 …static int8_t IsMoreSuitable(const LocaleInfo *current, const LocaleInfo *other, const LocaleInfo …
|
/ohos5.0/base/global/i18n/frameworks/intl/src/ |
H A D | locale_matcher.cpp | 37 if (IsMoreSuitable(bestMatch, candidateLocales[i], requestLocale) < 0) { in GetBestMatchedLocale() 44 int8_t LocaleMatcher::IsMoreSuitable(const LocaleInfo *current, const LocaleInfo *other, const Loca… in IsMoreSuitable() function in OHOS::Global::I18n::LocaleMatcher
|
H A D | i18n_timezone.cpp | 999 if (LocaleMatcher::IsMoreSuitable(bestMatch, matchLocaleList[i], requestLocale.get()) < 0) { in GetFallBack()
|
/ohos5.0/base/global/i18n/interfaces/js/kits/src/ |
H A D | i18n_addon.cpp | 379 if (LocaleMatcher::IsMoreSuitable(bestMatch, candidateLocales[i], requestLocale) < 0) { in GetBestMatchLocale()
|