Home
last modified time | relevance | path

Searched refs:cmp (Results 1 - 25 of 39) sorted by relevance

12

/foundation/communication/wifi/wifi/frameworks/native/src/
H A Dwifi_p2p_msg.cpp274 bool WifiP2pDevice::operator==(const WifiP2pDevice &cmp) const in operator ==()
276 return mDeviceAddress == cmp.GetDeviceAddress(); in operator ==()
279 bool WifiP2pDevice::operator!=(const WifiP2pDevice &cmp) const in operator !=()
281 return !operator==(cmp); in operator !=()
724 bool WifiP2pServiceRequest::operator==(const WifiP2pServiceRequest &cmp) const in operator ==()
726 return mProtocolType == cmp.GetProtocolType() && mQuery == cmp.GetQuery(); in operator ==()
803 bool WifiP2pServiceResponse::operator==(const WifiP2pServiceResponse &cmp) const in operator ==()
805 return mProtocolType == cmp.GetProtocolType() && mServiceStatus == cmp in operator ==()
[all...]
/foundation/communication/bluetooth_service/test/unittest/gatt/
H A Dgatt_descriptor_test.cpp88 bool cmp; in HWTEST_F() local
90 cmp = true; in HWTEST_F()
92 cmp = false; in HWTEST_F()
94 EXPECT_EQ(true, cmp); in HWTEST_F()
H A Dgatt_service_test.cpp92 bool cmp; in HWTEST_F() local
94 cmp = true; in HWTEST_F()
96 cmp = false; in HWTEST_F()
98 EXPECT_EQ(true, cmp); in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/test/
H A Dsingle_store_impl_get_top_test.cpp226 auto cmp = [](const Key &entry, const Key &sentry) { return entry.Data() < sentry.Data(); }; in HWTEST_F() local
227 std::map<Key, Value, decltype(cmp)> dictionary(cmp); in HWTEST_F()
266 auto cmp = [](const Key &entry, const Key &sentry) { return entry.Data() < sentry.Data(); }; in HWTEST_F() local
267 std::map<Key, Value, decltype(cmp)> dictionary(cmp); in HWTEST_F()
H A Dsingle_store_impl_test.cpp611 auto cmp = [](const Key &entry, const Key &sentry) { return entry.Data() < sentry.Data(); }; in HWTEST_F() local
612 std::map<Key, Value, decltype(cmp)> dictionary(cmp); in HWTEST_F()
648 auto cmp = [](const Key &entry, const Key &sentry) { return entry.Data() < sentry.Data(); }; in HWTEST_F() local
649 std::map<Key, Value, decltype(cmp)> dictionary(cmp); in HWTEST_F()
687 auto cmp = [](const Key &entry, const Key &sentry) { return entry.Data() < sentry.Data(); }; in HWTEST_F() local
688 std::map<Key, Value, decltype(cmp)> dictionary(cmp); in HWTEST_F()
1041 auto cmp in HWTEST_F() local
1096 auto cmp = [](const Key &entry, const Key &sentry) { return entry.Data() < sentry.Data(); }; HWTEST_F() local
1309 auto cmp = [](const Key &entry, const Key &sentry) { return entry.Data() < sentry.Data(); }; HWTEST_F() local
[all...]
/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/
H A Dconfig.rs17 use std::cmp;
111 self.min = (cmp::min(self.max, min), Duration::from_secs(duration)); in min_speed()
131 self.max = cmp::max(self.min.0, max); in max_speed()
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/
H A Dlist.c121 void *ListForEachData(const List *list, const ListCmpFunc cmp, void *parameter) in ListForEachData() argument
124 ASSERT(cmp); in ListForEachData()
131 if (cmp(node->data, parameter)) { in ListForEachData()
/foundation/arkui/ace_engine/test/unittest/core/pattern/waterflow/
H A Dwater_flow_scroller_test_ng.cpp700 auto cmp = GetChildFocusHub(frameNode_, 6); in HWTEST_F() local
701 EXPECT_EQ(AceType::RawPtr(next), AceType::RawPtr(cmp)); in HWTEST_F()
703 cmp = GetChildFocusHub(frameNode_, 4); in HWTEST_F()
705 EXPECT_EQ(AceType::RawPtr(next), AceType::RawPtr(cmp)); in HWTEST_F()
718 cmp = GetChildFocusHub(frameNode_, 11); in HWTEST_F()
719 EXPECT_EQ(AceType::RawPtr(next), AceType::RawPtr(cmp)); in HWTEST_F()
724 cmp = GetChildFocusHub(frameNode_, 28); in HWTEST_F()
725 EXPECT_EQ(AceType::RawPtr(next), AceType::RawPtr(cmp)); in HWTEST_F()
731 cmp = GetChildFocusHub(frameNode_, 18); in HWTEST_F()
732 EXPECT_EQ(AceType::RawPtr(next), AceType::RawPtr(cmp)); in HWTEST_F()
[all...]
/foundation/resourceschedule/ffrt/src/sync/
H A Dio_poller.h40 bool CasStrong(std::atomic<int> &a, int cmp, int exc);
H A Dio_poller.cpp92 bool IOPoller::CasStrong(std::atomic<int>& a, int cmp, int exc) in CasStrong() argument
94 return a.compare_exchange_strong(cmp, exc); in CasStrong()
/foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/include/
H A Dbundle_active_form_record.h80 * function: cmp, compare two BundleActiveFormRecord.
84 static bool cmp(const BundleActiveFormRecord& formRecordA, const BundleActiveFormRecord& formRecordB);
H A Dbundle_active_module_record.h32 static bool cmp(const BundleActiveModuleRecord& moduleRecordA, const BundleActiveModuleRecord& moduleRecordB);
/foundation/communication/wifi/wifi/interfaces/inner_api/
H A Dwifi_p2p_msg.h218 bool operator==(const WifiP2pDevice &cmp) const;
219 bool operator!=(const WifiP2pDevice &cmp) const;
462 bool operator==(const WifiP2pServiceRequest &cmp) const;
494 bool operator==(const WifiP2pServiceResponse &cmp) const;
523 bool operator==(const WifiP2pServiceInfo &cmp) const;
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/include/
H A Dlist.h99 * @param cmp Compare function.
105 void *ListForEachData(const List *list, const ListCmpFunc cmp, void *parameter);
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/
H A Dskiplist.h93 cmp - SkipList compare function
99 FILLP_INT SkiplistInit(struct SkipList *list, funcSkiplistCompair cmp);
/foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/src/
H A Dbundle_active_form_record.cpp85 bool BundleActiveFormRecord::cmp(const BundleActiveFormRecord& formRecordA, in cmp() function in OHOS::DeviceUsageStats::BundleActiveFormRecord
H A Dbundle_active_module_record.cpp130 bool BundleActiveModuleRecord::cmp(const BundleActiveModuleRecord& moduleRecordA, in cmp() function in OHOS::DeviceUsageStats::BundleActiveModuleRecord
/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/irregular/
H A Dgrid_irregular_layout_test.cpp94 std::vector<float> cmp = { 200.0f, 200.0f, 200.0f }; in HWTEST_F() local
96 EXPECT_EQ(algorithm->crossLens_, cmp); in HWTEST_F()
141 std::vector<float> cmp = { 302.5f, 302.5f }; in HWTEST_F() local
142 EXPECT_EQ(algorithm->crossLens_, cmp); in HWTEST_F()
319 std::vector<float> cmp = { 200.0f, 200.0f, 200.0f }; in HWTEST_F() local
321 EXPECT_EQ(algorithm->crossLens_, cmp); in HWTEST_F()
528 const decltype(GridLayoutInfo::gridMatrix_) cmp = { in HWTEST_F()
533 EXPECT_EQ(info.gridMatrix_, cmp); in HWTEST_F()
1056 decltype(info.gridMatrix_) cmp = { in HWTEST_F()
1063 info.gridMatrix_ = cmp; in HWTEST_F()
1783 const decltype(GridLayoutInfo::lineHeightMap_) cmp = { { 0, ITEM_HEIGHT }, { 1, ITEM_HEIGHT }, { 2, ITEM_HEIGHT }, global() member
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rscolorextract_fuzzer/
H A Drscolorextract_fuzzer.cpp90 RSColorExtract::cmp(a, c); in DoSomethingInterestingWithMyAPI()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/
H A Dcloud_sync_utils.h54 static bool EqualInMsLevel(const Timestamp cmp, const Timestamp beCmp);
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_color_extract.cpp163 bool RSColorExtract::cmp(std::pair<uint32_t, uint32_t> &a, std::pair<uint32_t, uint32_t> &b) in cmp() function in OHOS::Rosen::RSColorExtract
302 sort(featureColors_.begin(), featureColors_.end(), cmp); in GetNFeatureColors()
/foundation/graphic/graphic_2d/rosen/modules/effect/color_picker/src/
H A Dcolor_extract.cpp195 bool ColorExtract::cmp(std::pair<uint32_t, uint32_t>&a, std::pair<uint32_t, uint32_t>&b) {return a.second > b.second;} in cmp() function in OHOS::Rosen::ColorExtract
322 sort(featureColors_.begin(), featureColors_.end(), cmp); in GetNFeatureColors()
/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Ddp_subscribe_info_test.cpp212 SubscribeCompare cmp; in HWTEST_F() local
213 cmp(subscribeInfo, subscribeInfo_2); in HWTEST_F()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/
H A Dskiplist.c50 cmp - SkipList compare function
56 FILLP_INT SkiplistInit(struct SkipList *list, funcSkiplistCompair cmp) in SkiplistInit() argument
73 list->funcCmp = cmp; in SkiplistInit()
/foundation/resourceschedule/device_usage_statistics/test/unittest/
H A Ddevice_usage_statistics_test.cpp457 EXPECT_TRUE(bundleActiveFormRecord->cmp(bundleActiveFormRecordA, bundleActiveFormRecordB)); in HWTEST_F()
510 EXPECT_TRUE(bundleActiveModuleRecord->cmp(bundleActiveModuleRecordA, bundleActiveModuleRecordB)); in HWTEST_F()

Completed in 16 milliseconds

12