Home
last modified time | relevance | path

Searched refs:lhs (Results 1 – 25 of 31) sorted by relevance

12

/foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine/
Dtypography_types.h89 TextAlign operator |(TextAlign lhs, TextAlign rhs);
90 TextAlign operator &(TextAlign lhs, TextAlign rhs);
91 TextAlign operator ^(TextAlign lhs, TextAlign rhs);
92 TextAlign operator ~(TextAlign lhs);
93 void operator &=(TextAlign &lhs, const TextAlign &rhs);
94 void operator |=(TextAlign &lhs, const TextAlign &rhs);
95 void operator ^=(TextAlign &lhs, const TextAlign &rhs);
116 TextDecoration operator &(TextDecoration const &lhs, TextDecoration const &rhs);
117 TextDecoration operator |(TextDecoration const &lhs, TextDecoration const &rhs);
118 TextDecoration operator ^(TextDecoration const &lhs, TextDecoration const &rhs);
[all …]
/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/
Duid_range.h32 friend bool operator<(const UidRange &lhs, const UidRange &rhs)
34 return lhs.begin_ != rhs.begin_ ? (lhs.begin_ < rhs.begin_) : (lhs.end_ < rhs.end_);
37 friend bool operator==(const UidRange &lhs, const UidRange &rhs)
39 return (lhs.begin_ == rhs.begin_ && lhs.end_ == rhs.end_);
42 friend bool operator!=(const UidRange &lhs, const UidRange &rhs)
44 return !(lhs == rhs);
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
Drs_filter.cpp58 std::shared_ptr<RSFilter> operator+(const std::shared_ptr<RSFilter>& lhs, const std::shared_ptr<RSF… in operator +() argument
60 if (lhs == nullptr) { in operator +()
64 return lhs; in operator +()
66 return lhs->Add(rhs); in operator +()
69 std::shared_ptr<RSFilter> operator-(const std::shared_ptr<RSFilter>& lhs, const std::shared_ptr<RSF… in operator -() argument
72 return lhs; in operator -()
74 if (lhs == nullptr) { in operator -()
77 return lhs->Sub(rhs); in operator -()
80 std::shared_ptr<RSFilter> operator*(const std::shared_ptr<RSFilter>& lhs, float rhs) in operator *() argument
82 if (lhs == nullptr) { in operator *()
[all …]
/foundation/arkui/ace_engine/frameworks/base/utils/
Dlinear_map.h41 …vec, vec + length, key, [](LinearMapNode<T> lhs, const char* key) { return strcmp(lhs.key, key) < … in BinarySearchFindIndex()
53 …:lower_bound(vec, vec + length, key, [](LinearEnumMapNode<K, V> lhs, K key) { return lhs.key < key… in BinarySearchFindIndex()
/foundation/multimedia/image_framework/plugins/manager/src/framework/
Dimpl_class_mgr.cpp297 uint32_t ImplClassMgr::ComparePriority(const AttrData &lhs, const AttrData &rhs, PriorityType type) in ComparePriority() argument
299 if (lhs.GetType() != rhs.GetType()) { in ComparePriority()
300 … HiLog::Error(LABEL, "compare between different types, %{public}d and %{public}d.", lhs.GetType(), in ComparePriority()
305 switch (lhs.GetType()) { in ComparePriority()
310 return CompareBoolPriority(lhs, rhs, type); in ComparePriority()
315 return CompareUint32Priority(lhs, rhs, type); in ComparePriority()
319 return CompareStringPriority(lhs, rhs, type); in ComparePriority()
322 HiLog::Error(LABEL, "invalid data type: %{public}d.", lhs.GetType()); in ComparePriority()
329 uint32_t ImplClassMgr::CompareBoolPriority(const AttrData &lhs, const AttrData &rhs, PriorityType t… in CompareBoolPriority() argument
334 if ((lhs.GetValue(lhsValue) != SUCCESS) || (rhs.GetValue(rhsValue) != SUCCESS)) { in CompareBoolPriority()
[all …]
Dimpl_class_mgr.h52 uint32_t ComparePriority(const AttrData &lhs, const AttrData &rhs, PriorityType type);
53 uint32_t CompareBoolPriority(const AttrData &lhs, const AttrData &rhs, PriorityType type);
54 uint32_t CompareUint32Priority(const AttrData &lhs, const AttrData &rhs, PriorityType type);
55 uint32_t CompareStringPriority(const AttrData &lhs, const AttrData &rhs, PriorityType type);
/foundation/multimedia/image_framework/plugins/manager/include/utils/
Dpointer_key_map.h25 bool operator()(K *lhs, K *rhs) const in operator()
27 if (lhs == nullptr || rhs == nullptr) { in operator()
31 return *lhs < *rhs; in operator()
/foundation/filemanagement/storage_service/services/storage_daemon/include/file_sharing/
Dacl.h120 friend inline bool operator<(const AclXattrEntry &lhs, const ACL_TAG &rhs)
122 return lhs.tag < rhs;
124 friend inline bool operator<(const ACL_TAG &lhs, const AclXattrEntry &rhs)
126 return lhs < rhs.tag;
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
Drs_occlusion_region_helper.h74 inline OuterLooper(const RectsPtr &lhs, const RectsPtr &rhs) : lhs_(lhs), rhs_(rhs) in OuterLooper() argument
98 inline InnerLooper(const RectsPtr &lhs, const RectsPtr &rhs) in InnerLooper() argument
99 : lhs_(lhs), rhs_(rhs) {} in InnerLooper()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/
Drs_filter.h76 friend RSB_EXPORT std::shared_ptr<RSFilter> operator+(const std::shared_ptr<RSFilter>& lhs,
78 friend RSB_EXPORT std::shared_ptr<RSFilter> operator-(const std::shared_ptr<RSFilter>& lhs,
80 …friend RSB_EXPORT std::shared_ptr<RSFilter> operator*(const std::shared_ptr<RSFilter>& lhs, float …
/foundation/communication/dsoftbus/core/connection/wifi_direct/
Dwifi_direct_command_manager.c80 static void CopyConnectInfo(struct WifiDirectConnectInfo *lhs, struct WifiDirectConnectInfo *rhs) in CopyConnectInfo() argument
82 *lhs = *rhs; in CopyConnectInfo()
84 lhs->negoChannel = rhs->negoChannel->duplicate(rhs->negoChannel); in CopyConnectInfo()
/foundation/communication/netmanager_ext/services/mdnsmanager/include/
Dmdns_manager.h56 bool operator()(const sptr<IRemoteBroker> &lhs, const sptr<IRemoteBroker> &rhs) const in operator()
58 return lhs->AsObject().GetRefPtr() < rhs->AsObject().GetRefPtr(); in operator()
/foundation/ability/ability_runtime/test/unittest/ams_service_app_spawn_msg_wrapper_test/
Dams_service_app_spawn_msg_wrapper_test.cpp332 int32_t lhs = sizeof(AppSpawnMsg); variable
333 EXPECT_EQ(lhs, appSpawnMsgWrapper->GetMsgLength());
354 int32_t lhs = 0; variable
355 EXPECT_EQ(lhs, appSpawnMsgWrapper->GetMsgLength());
/foundation/multimedia/histreamer/engine/pipeline/filters/demux/
Dtype_finder.cpp257 …[&uriSuffix](const std::shared_ptr<Plugin::PluginInfo>& lhs, const std::shared_ptr<Plugin::PluginI… in SortPlugins() argument
258 if (IsPluginSupportedExtension(*lhs, uriSuffix)) { in SortPlugins()
259 return (lhs->rank >= rhs->rank) || !IsPluginSupportedExtension(*rhs, uriSuffix); in SortPlugins()
261 return (lhs->rank >= rhs->rank) && !IsPluginSupportedExtension(*rhs, uriSuffix); in SortPlugins()
/foundation/ability/idl_tool/util/
Dstring.h137 bool operator()(const String& lhs, const String& rhs) const in operator()
139 return lhs.Equals(rhs); in operator()
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/src/
Dhdi_layer.cpp22 bool Compare(const T& lhs, const T& rhs) in Compare() argument
24 return lhs == rhs; in Compare()
34 bool IsNeedSetInfoToDevice(const std::vector<T>& lhs, const std::vector<T>& rhs) in IsNeedSetInfoToDevice() argument
36 if (lhs.size() != rhs.size()) { in IsNeedSetInfoToDevice()
40 for (decltype(lhs.size()) i = 0; i < lhs.size(); i++) { in IsNeedSetInfoToDevice()
41 if (!Compare(lhs[i], rhs[i])) { in IsNeedSetInfoToDevice()
/foundation/communication/ipc/ipc/native/src/c_wrapper/source/
Dc_remote_object.cpp149 bool RemoteObjectLessThan(const CRemoteObject *lhs, const CRemoteObject *rhs) in RemoteObjectLessThan() argument
151 if (!IsValidRemoteObject(lhs, __func__) || !IsValidRemoteObject(rhs, __func__)) { in RemoteObjectLessThan()
154 return lhs->remote_.GetRefPtr() < rhs->remote_.GetRefPtr(); in RemoteObjectLessThan()
/foundation/communication/ipc/ipc/native/src/c_wrapper/include/
Dc_remote_object.h49 bool RemoteObjectLessThan(const CRemoteObject *lhs, const CRemoteObject *rhs);
/foundation/ability/form_fwk/test/unittest/form_mgr_proxy_test/
Dform_mgr_proxy_test.cpp39 bool operator==(const FormInfo& lhs, const FormInfo& rhs) in operator ==() argument
41 if (lhs.bundleName != rhs.bundleName) { in operator ==()
44 if (lhs.moduleName != rhs.moduleName) { in operator ==()
47 if (lhs.name != rhs.name) { in operator ==()
/foundation/distributeddatamgr/pasteboard/framework/innerkits/src/
Dpasteboard_web_controller.cpp30 bool operator()(const uint32_t& lhs, const uint32_t& rhs) const in operator ()()
32 return lhs > rhs; in operator ()()
/foundation/communication/netmanager_ext/test/mdnsmanager/unittest/mdns_manager_test/
Dmdns_manager_test.cpp290 auto lhs = Split(testStr, 'c'); variable
296 EXPECT_EQ(lhs, rhs);
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/common/
Drs_occlusion_region.cpp288 RectsPtr lhs(r1.CBegin(), r1.Size()); in RegionOpAccelate() local
291 OuterLooper outer(lhs, rhs); in RegionOpAccelate()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/
Dsta_interface_test.cpp37 bool operator == (const WifiDeviceConfig &lhs, const WifiDeviceConfig &rhs) in operator ==() argument
39 return lhs.networkId == rhs.networkId; in operator ==()
/foundation/multimedia/histreamer/engine/include/plugin/common/
Dany.h639 inline void swap(OHOS::Media::Plugin::Any& lhs, OHOS::Media::Plugin::Any& rhs) noexcept in swap() argument
641 lhs.Swap(rhs); in swap()
/foundation/resourceschedule/memmgr/services/memmgrservice/src/purgeable_mem_manager/
Dpurgeable_mem_manager.cpp492 … [this](const auto &lhs, const auto &rhs) { return AshmReclaimPriorityCompare(lhs, rhs); }); in PurgAshmIdOneByOne() argument

12