Home
last modified time | relevance | path

Searched refs:IsMoreSuitable (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dres_config_impl_test.cpp605 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 Dres_config_impl_test.cpp506 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 Dres_config_impl.cpp212 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 Dhap_manager.cpp144 if (!bestResConfig->IsMoreSuitable(resConfig, currentResConfig)) { in FindQualifierValueByName()
176 if (!bestResConfig->IsMoreSuitable(resConfig, currentResConfig)) { in FindQualifierValueById()
H A Dres_locale.cpp459 …if (LocaleMatcher::IsMoreSuitable(tempCandidate.at(j), tempCandidate.at(j + 1), currentLocale) <= … in FindAndSort()
H A Dlocale_matcher.cpp601 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 Dintl_test_extent.cpp997 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 Di18n_test.cpp1394 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 Dlocale_matcher.h24 static int8_t IsMoreSuitable(const ResLocale *current,
H A Dres_config_impl.h40 …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 Dlocale_matcher.h24 static int8_t IsMoreSuitable(const ResLocale *current,
H A Dres_config_impl.h38 bool IsMoreSuitable(const ResConfigImpl *other, const ResConfigImpl *request) const;
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/
H A Dres_config_impl.cpp518 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 Dres_locale.cpp470 …if (LocaleMatcher::IsMoreSuitable(tempCandidate.at(j), tempCandidate.at(j + 1), currentLocale) <= … in FindAndSort()
H A Dhap_manager.cpp268 if (!bestResConfig->IsMoreSuitable(resConfig, currentResConfig, density)) { in MatchBestResource()
297 if (bestOverlayResConfig->IsMoreSuitable(bestResConfig, currentResConfig, density)) { in GetBestMatchResource()
H A Dlocale_matcher.cpp603 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 Dlocale_matcher.h44 …static int8_t IsMoreSuitable(const LocaleInfo *current, const LocaleInfo *other, const LocaleInfo …
/ohos5.0/base/global/i18n/frameworks/intl/src/
H A Dlocale_matcher.cpp37 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 Di18n_timezone.cpp999 if (LocaleMatcher::IsMoreSuitable(bestMatch, matchLocaleList[i], requestLocale.get()) < 0) { in GetFallBack()
/ohos5.0/base/global/i18n/interfaces/js/kits/src/
H A Di18n_addon.cpp379 if (LocaleMatcher::IsMoreSuitable(bestMatch, candidateLocales[i], requestLocale) < 0) { in GetBestMatchLocale()