Home
last modified time | relevance | path

Searched refs:other (Results 1 - 25 of 115) sorted by relevance

12345

/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
H A Dres_config_impl_test.cpp70 ResConfigImpl *other = CreateResConfigImpl(nullptr, nullptr, nullptr); in HWTEST_F() local
72 EXPECT_TRUE(current->Match(other)); in HWTEST_F()
74 delete other; in HWTEST_F()
84 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, "CA"); in HWTEST_F() local
86 EXPECT_FALSE(current->Match(other)); in HWTEST_F()
88 delete other; in HWTEST_F()
98 ResConfigImpl *other = CreateResConfigImpl("tl", nullptr, "PH"); in HWTEST_F() local
100 EXPECT_TRUE(current->Match(other)); in HWTEST_F()
102 delete other; in HWTEST_F()
112 ResConfigImpl *other in HWTEST_F() local
126 ResConfigImpl *other = CreateResConfigImpl("qaa", nullptr, "CA"); HWTEST_F() local
140 ResConfigImpl *other = CreateResConfigImpl("az", nullptr, nullptr); HWTEST_F() local
154 ResConfigImpl *other = CreateResConfigImpl("az", nullptr, "IR"); HWTEST_F() local
168 ResConfigImpl *other = CreateResConfigImpl("ar", nullptr, "EG"); HWTEST_F() local
182 ResConfigImpl *other = CreateResConfigImpl("qaa", "Latn", "FR"); HWTEST_F() local
196 ResConfigImpl *other = CreateResConfigImpl("qaa", nullptr, "FR"); HWTEST_F() local
210 ResConfigImpl *other = CreateResConfigImpl("az", nullptr, nullptr); HWTEST_F() local
224 ResConfigImpl *other = CreateResConfigImpl("az", nullptr, nullptr); HWTEST_F() local
238 ResConfigImpl *other = CreateResConfigImpl("qaa", nullptr, "FR"); HWTEST_F() local
252 ResConfigImpl *other = CreateResConfigImpl("he", nullptr, nullptr); HWTEST_F() local
267 ResConfigImpl *other = CreateResConfigImpl("ji", nullptr, nullptr); HWTEST_F() local
282 ResConfigImpl *other = CreateResConfigImpl("jw", nullptr, nullptr); HWTEST_F() local
297 ResConfigImpl *other = CreateResConfigImpl("in", nullptr, nullptr); HWTEST_F() local
312 ResConfigImpl *other = CreateResConfigImpl("en", "Latn", nullptr); HWTEST_F() local
326 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
342 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
358 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
373 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
388 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
404 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
420 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
435 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
450 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
468 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
485 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
505 ResConfigImpl *other = CreateResConfigImpl("fr", nullptr, "CA"); HWTEST_F() local
522 ResConfigImpl *other = CreateResConfigImpl(nullptr, nullptr, nullptr); HWTEST_F() local
539 ResConfigImpl *other = CreateResConfigImpl(nullptr, nullptr, nullptr); HWTEST_F() local
556 ResConfigImpl *other = CreateResConfigImpl("fil", nullptr, "US"); HWTEST_F() local
573 ResConfigImpl *other = CreateResConfigImpl("tl", nullptr, "PH"); HWTEST_F() local
590 ResConfigImpl *other = CreateResConfigImpl("es", nullptr, "419"); HWTEST_F() local
607 ResConfigImpl *other = CreateResConfigImpl("es", nullptr, "419"); HWTEST_F() local
624 ResConfigImpl *other = CreateResConfigImpl("es", nullptr, nullptr); HWTEST_F() local
641 ResConfigImpl *other = CreateResConfigImpl("es", nullptr, "ES"); HWTEST_F() local
658 ResConfigImpl *other = CreateResConfigImpl("es", nullptr, "ES"); HWTEST_F() local
675 ResConfigImpl *other = CreateResConfigImpl("es", nullptr, "ES"); HWTEST_F() local
692 ResConfigImpl *other = CreateResConfigImpl("es", nullptr, nullptr); HWTEST_F() local
709 ResConfigImpl *other = CreateResConfigImpl("es", nullptr, "BO"); HWTEST_F() local
726 ResConfigImpl *other = CreateResConfigImpl("es", nullptr, "GQ"); HWTEST_F() local
743 ResConfigImpl *other = CreateResConfigImpl("es", nullptr, "419"); HWTEST_F() local
760 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
777 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, "001"); HWTEST_F() local
794 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, "001"); HWTEST_F() local
811 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
828 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, "GB"); HWTEST_F() local
845 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, "AU"); HWTEST_F() local
862 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, "CA"); HWTEST_F() local
879 ResConfigImpl *other = CreateResConfigImpl("pt", nullptr, nullptr); HWTEST_F() local
896 ResConfigImpl *other = CreateResConfigImpl("pt", nullptr, "BR"); HWTEST_F() local
913 ResConfigImpl *other = CreateResConfigImpl("zh", "Hant", "TW"); HWTEST_F() local
930 ResConfigImpl *other = CreateResConfigImpl("zh", "Hant", "HK"); HWTEST_F() local
947 ResConfigImpl *other = CreateResConfigImpl("ar", nullptr, nullptr); HWTEST_F() local
964 ResConfigImpl *other = CreateResConfigImpl("ar", nullptr, "015"); HWTEST_F() local
981 ResConfigImpl *other = CreateResConfigImpl("ar", nullptr, "BH"); HWTEST_F() local
998 ResConfigImpl *other = CreateResConfigImpl("ar", nullptr, "015"); HWTEST_F() local
1015 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, "001"); HWTEST_F() local
1032 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, "GB"); HWTEST_F() local
1049 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, "001"); HWTEST_F() local
1066 ResConfigImpl *other = CreateResConfigImpl(nullptr, nullptr, nullptr); HWTEST_F() local
1083 ResConfigImpl *other = CreateResConfigImpl(nullptr, nullptr, nullptr); HWTEST_F() local
1100 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, "PR"); HWTEST_F() local
1117 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, "GB"); HWTEST_F() local
1134 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, "CA"); HWTEST_F() local
1151 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, "CA"); HWTEST_F() local
1168 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, "GB"); HWTEST_F() local
1185 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1204 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1226 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1251 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1274 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1300 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1326 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1352 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1370 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1388 ResConfigImpl *other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
[all...]
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dres_config_impl_test.cpp71 auto other = CreateResConfigImpl(nullptr, nullptr, nullptr); in HWTEST_F() local
73 EXPECT_TRUE(current->Match(other)); in HWTEST_F()
83 auto other = CreateResConfigImpl("en", nullptr, "CA"); in HWTEST_F() local
85 EXPECT_FALSE(current->Match(other)); in HWTEST_F()
90 EXPECT_TRUE(current->Match(other)); in HWTEST_F()
100 auto other = CreateResConfigImpl("tl", nullptr, "PH"); in HWTEST_F() local
102 EXPECT_TRUE(current->Match(other)); in HWTEST_F()
107 EXPECT_FALSE(current->Match(other)); in HWTEST_F()
117 auto other = CreateResConfigImpl("qaa", nullptr, nullptr); in HWTEST_F() local
119 EXPECT_TRUE(current->Match(other)); in HWTEST_F()
129 auto other = CreateResConfigImpl("qaa", nullptr, "CA"); HWTEST_F() local
141 auto other = CreateResConfigImpl("az", nullptr, nullptr); HWTEST_F() local
153 auto other = CreateResConfigImpl("az", nullptr, "IR"); HWTEST_F() local
165 auto other = CreateResConfigImpl("ar", nullptr, "EG"); HWTEST_F() local
177 auto other = CreateResConfigImpl("qaa", "Latn", "FR"); HWTEST_F() local
194 auto other = CreateResConfigImpl("qaa", nullptr, "FR"); HWTEST_F() local
211 auto other = CreateResConfigImpl("az", nullptr, nullptr); HWTEST_F() local
232 auto other = CreateResConfigImpl("az", nullptr, nullptr); HWTEST_F() local
244 auto other = CreateResConfigImpl("qaa", nullptr, "FR"); HWTEST_F() local
256 auto other = CreateResConfigImpl("he", nullptr, nullptr); HWTEST_F() local
269 auto other = CreateResConfigImpl("ji", nullptr, nullptr); HWTEST_F() local
282 auto other = CreateResConfigImpl("jw", nullptr, nullptr); HWTEST_F() local
295 auto other = CreateResConfigImpl("in", nullptr, nullptr); HWTEST_F() local
308 auto other = CreateResConfigImpl("en", "Latn", nullptr); HWTEST_F() local
320 auto other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
334 auto other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
348 auto other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
361 auto other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
374 auto other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
388 auto other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
402 auto other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
415 auto other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
428 auto other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
444 auto other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
459 auto other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
475 auto other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
490 auto other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
504 auto other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
519 auto other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
533 auto other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
548 auto other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
562 auto other = CreateResConfigImpl("en", nullptr, "CA"); HWTEST_F() local
587 auto other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
604 auto other = CreateResConfigImpl("fr", nullptr, "CA"); HWTEST_F() local
618 auto other = CreateResConfigImpl(nullptr, nullptr, nullptr); HWTEST_F() local
638 auto other = CreateResConfigImpl(nullptr, nullptr, nullptr); HWTEST_F() local
652 auto other = CreateResConfigImpl("fil", nullptr, "US"); HWTEST_F() local
672 auto other = CreateResConfigImpl("tl", nullptr, "PH"); HWTEST_F() local
686 auto other = CreateResConfigImpl("es", nullptr, "419"); HWTEST_F() local
700 auto other = CreateResConfigImpl("es", nullptr, "419"); HWTEST_F() local
714 auto other = CreateResConfigImpl("es", nullptr, nullptr); HWTEST_F() local
728 auto other = CreateResConfigImpl("es", nullptr, "ES"); HWTEST_F() local
742 auto other = CreateResConfigImpl("es", nullptr, "ES"); HWTEST_F() local
756 auto other = CreateResConfigImpl("es", nullptr, "ES"); HWTEST_F() local
776 auto other = CreateResConfigImpl("es", nullptr, nullptr); HWTEST_F() local
790 auto other = CreateResConfigImpl("es", nullptr, "BO"); HWTEST_F() local
804 auto other = CreateResConfigImpl("es", nullptr, "GQ"); HWTEST_F() local
818 auto other = CreateResConfigImpl("es", nullptr, "419"); HWTEST_F() local
832 auto other = CreateResConfigImpl("en", nullptr, nullptr); HWTEST_F() local
846 auto other = CreateResConfigImpl("en", nullptr, "001"); HWTEST_F() local
860 auto other = CreateResConfigImpl("en", nullptr, "001"); HWTEST_F() local
874 auto other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
888 auto other = CreateResConfigImpl("en", nullptr, "GB"); HWTEST_F() local
902 auto other = CreateResConfigImpl("en", nullptr, "AU"); HWTEST_F() local
916 auto other = CreateResConfigImpl("en", nullptr, "CA"); HWTEST_F() local
930 auto other = CreateResConfigImpl("pt", nullptr, nullptr); HWTEST_F() local
944 auto other = CreateResConfigImpl("pt", nullptr, "BR"); HWTEST_F() local
958 auto other = CreateResConfigImpl("zh", "Hant", "TW"); HWTEST_F() local
978 auto other = CreateResConfigImpl("zh", "Hant", "HK"); HWTEST_F() local
992 auto other = CreateResConfigImpl("ar", nullptr, nullptr); HWTEST_F() local
1006 auto other = CreateResConfigImpl("ar", nullptr, "015"); HWTEST_F() local
1020 auto other = CreateResConfigImpl("ar", nullptr, "BH"); HWTEST_F() local
1034 auto other = CreateResConfigImpl("ar", nullptr, "015"); HWTEST_F() local
1048 auto other = CreateResConfigImpl("en", nullptr, "001"); HWTEST_F() local
1062 auto other = CreateResConfigImpl("en", nullptr, "GB"); HWTEST_F() local
1076 auto other = CreateResConfigImpl("en", nullptr, "001"); HWTEST_F() local
1090 auto other = CreateResConfigImpl(nullptr, nullptr, nullptr); HWTEST_F() local
1104 auto other = CreateResConfigImpl(nullptr, nullptr, nullptr); HWTEST_F() local
1118 auto other = CreateResConfigImpl("en", nullptr, "PR"); HWTEST_F() local
1132 auto other = CreateResConfigImpl("en", nullptr, "GB"); HWTEST_F() local
1146 auto other = CreateResConfigImpl("en", nullptr, "CA"); HWTEST_F() local
1166 auto other = CreateResConfigImpl("en", nullptr, "CA"); HWTEST_F() local
1180 auto other = CreateResConfigImpl("en", nullptr, "GB"); HWTEST_F() local
1194 auto other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1210 auto other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1229 auto other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1251 auto other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1271 auto other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1294 auto other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1317 auto other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1340 auto other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1355 auto other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1370 auto other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1385 auto other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1401 auto other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1418 auto other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1434 auto other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1450 auto other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1467 auto other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1483 auto other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1503 auto other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1523 auto other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1543 auto other = CreateResConfigImpl("en", nullptr, "US"); HWTEST_F() local
1563 auto other = CreateResConfigImpl("en", nullptr, "CA"); HWTEST_F() local
[all...]
/base/msdp/device_status/interfaces/innerkits/interaction/include/
H A Ddrag_data.h43 bool operator == (const ShadowInfo &other) const in operator ==()
45 if (pixelMap == nullptr && other.pixelMap == nullptr) { in operator ==()
46 return x == other.x && y == other.y; in operator ==()
48 if (pixelMap == nullptr || other.pixelMap == nullptr) { in operator ==()
51 return pixelMap->IsSameImage(*(other.pixelMap)) && x == other.x && y == other.y; in operator ==()
54 bool operator != (const ShadowInfo &other) const in operator !=()
56 return !(*this == other); in operator !=()
[all...]
/base/update/updateservice/interfaces/inner_api/feature/update/model/upgrade_info/
H A Dupgrade_info.h34 bool operator<(const UpgradeInfo &other) const in operator <()
36 if (upgradeApp != other.upgradeApp) { in operator <()
37 return upgradeApp < other.upgradeApp; in operator <()
40 if (businessType != other.businessType) { in operator <()
41 return businessType < other.businessType; in operator <()
44 if (upgradeDevId != other.upgradeDevId) { in operator <()
45 return upgradeDevId < other.upgradeDevId; in operator <()
48 if (controlDevId != other.controlDevId) { in operator <()
49 return controlDevId < other.controlDevId; in operator <()
52 if (processId != other in operator <()
[all...]
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dres_config_impl.cpp117 bool ResConfigImpl::CopyLocale(ResConfig &other) in CopyLocale() argument
120 if (this->GetLocaleInfo() == nullptr && other.GetLocaleInfo() != nullptr) { in CopyLocale()
123 if (this->GetLocaleInfo() != nullptr && other.GetLocaleInfo() == nullptr) { in CopyLocale()
130 if (this->GetResLocale() != nullptr && other.GetLocaleInfo() != nullptr) { in CopyLocale()
135 other.GetLocaleInfo()->GetLanguage(), in CopyLocale()
136 other.GetLocaleInfo()->GetScript(), other.GetLocaleInfo()->GetRegion()); in CopyLocale()
146 RState rs = temp->CopyFromLocaleInfo(other.GetLocaleInfo()); in CopyLocale()
151 LocaleInfo *tempLocale = new(std::nothrow) LocaleInfo(*other.GetLocaleInfo()); in CopyLocale()
164 bool ResConfigImpl::Copy(ResConfig &other) in Copy() argument
212 IsMoreSuitable(const ResConfigImpl *other, const ResConfigImpl *request) const IsMoreSuitable() argument
[all...]
H A Dlocale_matcher.cpp239 const ResLocale *other, in CompareRegionWhenQaag()
248 if ((other != nullptr) && (Utils::EncodeLocale(other->GetLanguage(), nullptr, other->GetRegion()) == in CompareRegionWhenQaag()
262 * @param other
266 bool CompareLanguage(const ResLocale *current, const ResLocale *other) in CompareLanguage() argument
271 other); in CompareLanguage()
296 bool CompareScript(const ResLocale *current, const ResLocale *other) in CompareScript() argument
306 if ((other != nullptr) && (other in CompareScript()
238 CompareRegionWhenQaag(const ResLocale *current, const ResLocale *other, const ResLocale *request) CompareRegionWhenQaag() argument
335 AlphabeticallyCompare(const ResLocale *current, uint64_t currentEncodedLocale, const ResLocale *other, uint64_t otherEncodedLocale) AlphabeticallyCompare() argument
370 CompareWhenRegionIsNull(uint16_t currentEncodedRegion, uint16_t otherEncodedRegion, const ResLocale *current, const ResLocale *other, const ResLocale *request) CompareWhenRegionIsNull() argument
423 CompareDefaultRegion(const ResLocale *current, const ResLocale *other, const ResLocale *request) CompareDefaultRegion() argument
455 CompareRegion(const ResLocale *current, const ResLocale *other, const ResLocale *request) CompareRegion() argument
505 Match(const ResLocale *current, const ResLocale *other) Match() argument
541 CompareLanguageIgnoreOldNewCode(const ResLocale *current, const ResLocale *other, const ResLocale *request) CompareLanguageIgnoreOldNewCode() argument
572 CompareRegionWhenLangIsNotEqual(const ResLocale *current, const ResLocale *other, const ResLocale *request) CompareRegionWhenLangIsNotEqual() argument
601 IsMoreSuitable(const ResLocale *current, const ResLocale *other, const ResLocale *request) IsMoreSuitable() argument
702 IsMoreSpecificThan(const ResLocale *current, const ResLocale *other) IsMoreSpecificThan() argument
[all...]
/base/security/appverify/interfaces/innerkits/appverify/src/util/
H A Ddigest_parameter.cpp35 DigestParameter::DigestParameter(const DigestParameter& other) in DigestParameter() argument
37 digestOutputSizeBytes = other.digestOutputSizeBytes; in DigestParameter()
38 md = other.md; in DigestParameter()
40 EVP_MD_CTX_copy(ptrCtx, other.ptrCtx); in DigestParameter()
43 DigestParameter& DigestParameter::operator = (const DigestParameter& other) in operator =() argument
50 digestOutputSizeBytes = other.digestOutputSizeBytes; in operator =()
51 md = other.md; in operator =()
53 EVP_MD_CTX_copy(ptrCtx, other.ptrCtx); in operator =()
/base/update/updateservice/services/startup/model/include/
H A Dschedule_task.h39 bool operator<(const ScheduleTask &other) const in operator <()
41 if (minDelayTime != other.minDelayTime) { in operator <()
43 return minDelayTime < other.minDelayTime; in operator <()
47 return maxDelayTime < other.maxDelayTime; in operator <()
50 bool operator==(const ScheduleTask &other) const in operator ==()
52 return priority == other.priority && minDelayTime == other.minDelayTime && in operator ==()
53 maxDelayTime == other.maxDelayTime && netType == other.netType && in operator ==()
54 batteryLevel == other in operator ==()
[all...]
/base/global/resource_management/frameworks/resmgr/src/
H A Dlocale_matcher.cpp242 const ResLocale *other, in CompareRegionWhenQaag()
251 if ((other != nullptr) && (Utils::EncodeLocale(other->GetLanguage(), nullptr, other->GetRegion()) == in CompareRegionWhenQaag()
265 * @param other
269 bool CompareLanguage(const ResLocale *current, const ResLocale *other) in CompareLanguage() argument
274 other); in CompareLanguage()
298 bool CompareScript(const ResLocale *current, const ResLocale *other) in CompareScript() argument
308 if ((other != nullptr) && (other in CompareScript()
241 CompareRegionWhenQaag(const ResLocale *current, const ResLocale *other, const ResLocale *request) CompareRegionWhenQaag() argument
337 AlphabeticallyCompare(const ResLocale *current, uint64_t currentEncodedLocale, const ResLocale *other, uint64_t otherEncodedLocale) AlphabeticallyCompare() argument
372 CompareWhenRegionIsNull(uint16_t currentEncodedRegion, uint16_t otherEncodedRegion, const ResLocale *current, const ResLocale *other, const ResLocale *request) CompareWhenRegionIsNull() argument
425 CompareDefaultRegion(const ResLocale *current, const ResLocale *other, const ResLocale *request) CompareDefaultRegion() argument
457 CompareRegion(const ResLocale *current, const ResLocale *other, const ResLocale *request) CompareRegion() argument
507 Match(const ResLocale *current, const ResLocale *other) Match() argument
543 CompareLanguageIgnoreOldNewCode(const ResLocale *current, const ResLocale *other, const ResLocale *request) CompareLanguageIgnoreOldNewCode() argument
574 CompareRegionWhenLangIsNotEqual(const ResLocale *current, const ResLocale *other, const ResLocale *request) CompareRegionWhenLangIsNotEqual() argument
603 IsMoreSuitable(const ResLocale *current, const ResLocale *other, const ResLocale *request) IsMoreSuitable() argument
711 IsMoreSpecificThan(const ResLocale *current, const ResLocale *other) IsMoreSpecificThan() argument
[all...]
H A Dres_config_impl.cpp340 bool ResConfigImpl::CopyPreferredLocale(ResConfig &other) in CopyPreferredLocale() argument
342 return CopyLocale(&this->preferredLocaleInfo_, &this->resPreferredLocale_, other.GetPreferredLocaleInfo()); in CopyPreferredLocale()
346 bool ResConfigImpl::CopyLocale(ResConfig &other) in CopyLocale() argument
349 return CopyLocale(&this->localeInfo_, &this->resLocale_, other.GetLocaleInfo()); in CopyLocale()
363 bool ResConfigImpl::CopyLocaleAndPreferredLocale(ResConfig &other) in CopyLocaleAndPreferredLocale() argument
365 if (!this->CopyLocale(other)) { in CopyLocaleAndPreferredLocale()
369 if (!this->CopyPreferredLocale(other)) { in CopyLocaleAndPreferredLocale()
376 bool ResConfigImpl::Copy(ResConfig &other, bool isRead) in Copy() argument
378 if (!this->CopyLocaleAndPreferredLocale(other)) { in Copy()
381 if (this->GetDeviceType() != other in Copy()
414 Match(const std::shared_ptr<ResConfigImpl> other, bool isCheckDarkAdaptation) const Match() argument
518 IsMoreSuitable(const std::shared_ptr<ResConfigImpl> other, const std::shared_ptr<ResConfigImpl> request, uint32_t density) const IsMoreSuitable() argument
687 IsMoreSpecificThan(const std::shared_ptr<ResConfigImpl> other, uint32_t density) const IsMoreSpecificThan() argument
[all...]
/base/global/i18n/frameworks/intl/src/
H A Dlocale_matcher.cpp44 int8_t LocaleMatcher::IsMoreSuitable(const LocaleInfo *current, const LocaleInfo *other, const LocaleInfo *request) in IsMoreSuitable() argument
48 if (current != nullptr && other == nullptr) { in IsMoreSuitable()
49 // -1 means other is more suitable in IsMoreSuitable()
52 if (current == nullptr && other != nullptr) { in IsMoreSuitable()
58 if (current == nullptr && other == nullptr) { in IsMoreSuitable()
61 bool isLangEqual = CompareLanguage(current, other); in IsMoreSuitable()
63 // current or other language is null, not null language is better in IsMoreSuitable()
64 bool result = CompareRegionWhenLangIsNotEqual(current, other, request); in IsMoreSuitable()
70 LocaleUtil::EncodeRegionByLocaleInfo(other); in IsMoreSuitable()
73 return CompareLanguageIgnoreOldNewCode(current, other, reques in IsMoreSuitable()
90 CompareLanguage(const LocaleInfo *current, const LocaleInfo *other) CompareLanguage() argument
118 CompareRegionWhenLangIsNotEqual(const LocaleInfo *current, const LocaleInfo *other, const LocaleInfo *request) CompareRegionWhenLangIsNotEqual() argument
147 CompareRegionWhenQaag(const LocaleInfo *current, const LocaleInfo *other, const LocaleInfo *request) CompareRegionWhenQaag() argument
232 CompareRegion(const LocaleInfo *current, const LocaleInfo *other, const LocaleInfo *request) CompareRegion() argument
276 CompareWhenRegionIsNull(uint16_t currentEncodedRegion, uint16_t otherEncodedRegion, const LocaleInfo *current, const LocaleInfo *other, const LocaleInfo *request) CompareWhenRegionIsNull() argument
332 AlphabeticallyCompare(const LocaleInfo *current, uint64_t currentEncodedLocale, const LocaleInfo *other, uint64_t otherEncodedLocale) AlphabeticallyCompare() argument
415 CompareDefaultRegion(const LocaleInfo *current, const LocaleInfo *other, const LocaleInfo *request) CompareDefaultRegion() argument
453 CompareLanguageIgnoreOldNewCode(const LocaleInfo *current, const LocaleInfo *other, const LocaleInfo *request) CompareLanguageIgnoreOldNewCode() argument
468 Match(const LocaleInfo *current, const LocaleInfo *other) Match() argument
481 CompareScript(const LocaleInfo *current, const LocaleInfo *other) CompareScript() argument
[all...]
/base/msdp/device_status/intention/common/channel/include/
H A Dchannel.h51 Sender(const Sender &other) in Sender() argument
52 : channel_(other.channel_) in Sender()
55 Sender(Sender &&other) in Sender() argument
56 : channel_(other.channel_) in Sender()
58 other.channel_ = nullptr; in Sender()
61 Sender& operator=(const Sender &other) in operator =() argument
63 channel_ = other.channel_; in operator =()
67 Sender& operator=(Sender &&other) in operator =() argument
69 channel_ = other.channel_; in operator =()
70 other in operator =()
97 Receiver(const Receiver &other) Receiver() argument
101 Receiver(Receiver &&other) Receiver() argument
107 operator =(const Receiver &other) operator =() argument
113 operator =(Receiver &&other) operator =() argument
[all...]
/base/global/i18n/interfaces/native/inner_api/i18n/include/
H A Dlocale_matcher.h37 * @brief compare current and other locale which is more matching with request.
40 * @param other Represents other resource locale.
44 static int8_t IsMoreSuitable(const LocaleInfo *current, const LocaleInfo *other, const LocaleInfo *request);
46 static bool Match(const LocaleInfo *current, const LocaleInfo *other);
66 * @param other locale to compare.
69 static bool CompareLanguage(const LocaleInfo *current, const LocaleInfo *other);
70 static bool CompareRegionWhenLangIsNotEqual(const LocaleInfo *current, const LocaleInfo *other,
72 static int8_t CompareRegionWhenQaag(const LocaleInfo *current, const LocaleInfo *other, const LocaleInfo *request);
105 static int8_t CompareRegion(const LocaleInfo *current, const LocaleInfo *other, cons
[all...]
/base/security/appverify/interfaces/innerkits/appverify/src/common/
H A Dhap_byte_buffer.cpp36 HapByteBuffer::HapByteBuffer(const HapByteBuffer& other) : buffer(nullptr), position(0), limit(0), capacity(0) in HapByteBuffer() argument
38 Init(other.GetCapacity()); in HapByteBuffer()
40 if (memcpy_s(buffer.get(), capacity, other.GetBufferPtr(), other.GetCapacity()) != EOK) { in HapByteBuffer()
44 position = other.GetPosition(); in HapByteBuffer()
45 limit = other.GetLimit(); in HapByteBuffer()
67 HapByteBuffer& HapByteBuffer::operator=(const HapByteBuffer& other) in operator =() argument
69 if (&other == this) { in operator =()
74 Init(other.GetCapacity()); in operator =()
75 if (buffer != nullptr && other in operator =()
288 IsEqual(const HapByteBuffer& other) IsEqual() argument
308 IsEqual(const std::string& other) IsEqual() argument
[all...]
/base/update/packaging_tools/
H A Dblocks_manager.py44 def __eq__(self, other):
45 return self.range_data == other.range_data
47 def __ne__(self, other):
48 return self.range_data != other.range_data
101 def get_union_with_other(self, other):
105 range_a = self.get_subtract_with_other(other)
106 range_b = other.get_subtract_with_other(self)
107 range_c = self.get_intersect_with_other(other)
118 def get_intersect_with_other(self, other):
123 other
[all...]
/base/global/resource_management_lite/frameworks/resmgr_lite/include/
H A Dres_config_impl.h34 * @param other the other resConfig
36 * @return true if this resConfig more match request resConfig than other resConfig, else false
38 bool IsMoreSuitable(const ResConfigImpl *other, const ResConfigImpl *request) const;
85 * Whether this resConfig match other resConfig
86 * @param other the other resConfig
87 * @return true if this resConfig match other resConfig, else false
89 bool Match(const ResConfigImpl *other) const;
92 * Copy other resConfi
[all...]
/base/startup/appspawn/modules/ace_adapter/
H A Dcommand_lexer.h30 CommandLexer(const CommandLexer &other) = delete; member in OHOS::AppSpawn::CommandLexer
31 CommandLexer(CommandLexer &&other) = delete; member in OHOS::AppSpawn::CommandLexer
32 CommandLexer &operator=(const CommandLexer &other) = delete; member in OHOS::AppSpawn::CommandLexer
33 CommandLexer &operator=(CommandLexer &&other) = delete; member in OHOS::AppSpawn::CommandLexer
/base/telephony/core_service/frameworks/native/src/
H A Dcell_information.cpp157 bool GsmCellInformation::operator==(const GsmCellInformation &other) const in operator ==()
159 return mcc_ == other.mcc_ && mnc_ == other.mnc_ && in operator ==()
160 arfcn_ == other.arfcn_ && cellId_ == other.cellId_ && in operator ==()
161 bsic_ == other.bsic_ && lac_ == other.lac_ && in operator ==()
162 signalLevel_ == other.signalLevel_ && in operator ==()
163 signalIntensity_ == other.signalIntensity_ && in operator ==()
164 isCamped_ == other in operator ==()
[all...]
H A Dnetwork_state.cpp142 bool NetworkState::operator==(const NetworkState &other) const in operator ==()
144 return isEmergency_ == other.isEmergency_ && csRoaming_ == other.csRoaming_ && psRoaming_ == other.psRoaming_ && in operator ==()
145 psRegStatus_ == other.psRegStatus_ && csRegStatus_ == other.csRegStatus_ && in operator ==()
146 psRadioTech_ == other.psRadioTech_ && csRadioTech_ == other.csRadioTech_ && in operator ==()
147 cfgTech_ == other.cfgTech_ && nrState_ == other in operator ==()
[all...]
/base/customization/enterprise_device_management/common/native/include/
H A Dusb_device_id.h35 bool operator<(const UsbDeviceId &other) const in operator <()
37 return (GetVendorId() == other.GetVendorId()) ? in operator <()
38 (GetProductId() < other.GetProductId()) : (GetVendorId() < other.GetVendorId()); in operator <()
/base/useriam/fingerprint_auth/common/utils/
H A Diam_ptr.h27 static inline std::shared_ptr<T> SptrToStdSharedPtr(sptr<T> &other) in SptrToStdSharedPtr() argument
29 return std::shared_ptr<T>(other.GetRefPtr(), [other](T *) mutable { other = nullptr; }); in SptrToStdSharedPtr()
/base/useriam/face_auth/common/utils/
H A Diam_ptr.h27 static inline std::shared_ptr<T> SptrToStdSharedPtr(sptr<T> &other) in SptrToStdSharedPtr() argument
29 return std::shared_ptr<T>(other.GetRefPtr(), [other](T *) mutable { other = nullptr; }); in SptrToStdSharedPtr()
/base/useriam/pin_auth/common/utils/
H A Diam_ptr.h27 static inline std::shared_ptr<T> SptrToStdSharedPtr(sptr<T> &other) in SptrToStdSharedPtr() argument
29 return std::shared_ptr<T>(other.GetRefPtr(), [other](T *) mutable { other = nullptr; }); in SptrToStdSharedPtr()
/base/useriam/user_auth_framework/common/utils/
H A Diam_ptr.h27 static inline std::shared_ptr<T> SptrToStdSharedPtr(sptr<T> &other) in SptrToStdSharedPtr() argument
29 return std::shared_ptr<T>(other.GetRefPtr(), [other](T *) mutable { other = nullptr; }); in SptrToStdSharedPtr()
/base/usb/usb_manager/interfaces/innerkits/native/include/
H A Dusb_interface_type.h103 bool operator<(const UsbDeviceType &other) const in operator <()
105 if (baseClass != other.baseClass) { in operator <()
106 return baseClass < other.baseClass; in operator <()
107 } else if (subClass != other.subClass) { in operator <()
108 return subClass < other.subClass; in operator <()
110 return protocol < other.protocol; in operator <()
113 bool operator == (const UsbDeviceType &other) const in operator ==()
115 return (baseClass == other.baseClass) && (subClass == other.subClass) && (protocol == other in operator ==()
[all...]

Completed in 12 milliseconds

12345