/foundation/communication/wifi/wifi/frameworks/native/src/ |
H A D | wifi_p2p_msg.cpp | 274 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 D | gatt_descriptor_test.cpp | 88 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 D | gatt_service_test.cpp | 92 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 D | single_store_impl_get_top_test.cpp | 226 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 D | single_store_impl_test.cpp | 611 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 D | config.rs | 17 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 D | list.c | 121 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 D | water_flow_scroller_test_ng.cpp | 700 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 D | io_poller.h | 40 bool CasStrong(std::atomic<int> &a, int cmp, int exc);
|
H A D | io_poller.cpp | 92 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 D | bundle_active_form_record.h | 80 * function: cmp, compare two BundleActiveFormRecord. 84 static bool cmp(const BundleActiveFormRecord& formRecordA, const BundleActiveFormRecord& formRecordB);
|
H A D | bundle_active_module_record.h | 32 static bool cmp(const BundleActiveModuleRecord& moduleRecordA, const BundleActiveModuleRecord& moduleRecordB);
|
/foundation/communication/wifi/wifi/interfaces/inner_api/ |
H A D | wifi_p2p_msg.h | 218 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 D | list.h | 99 * @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 D | skiplist.h | 93 cmp - SkipList compare function 99 FILLP_INT SkiplistInit(struct SkipList *list, funcSkiplistCompair cmp);
|
/foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/src/ |
H A D | bundle_active_form_record.cpp | 85 bool BundleActiveFormRecord::cmp(const BundleActiveFormRecord& formRecordA, in cmp() function in OHOS::DeviceUsageStats::BundleActiveFormRecord
|
H A D | bundle_active_module_record.cpp | 130 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 D | grid_irregular_layout_test.cpp | 94 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 D | rscolorextract_fuzzer.cpp | 90 RSColorExtract::cmp(a, c);
in DoSomethingInterestingWithMyAPI()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/ |
H A D | cloud_sync_utils.h | 54 static bool EqualInMsLevel(const Timestamp cmp, const Timestamp beCmp);
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_color_extract.cpp | 163 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 D | color_extract.cpp | 195 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 D | dp_subscribe_info_test.cpp | 212 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 D | skiplist.c | 50 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 D | device_usage_statistics_test.cpp | 457 EXPECT_TRUE(bundleActiveFormRecord->cmp(bundleActiveFormRecordA, bundleActiveFormRecordB)); in HWTEST_F() 510 EXPECT_TRUE(bundleActiveModuleRecord->cmp(bundleActiveModuleRecordA, bundleActiveModuleRecordB)); in HWTEST_F()
|