/foundation/ability/idl_tool/idl_tool_2/util/ |
H A D | autoptr.h | 26 AutoPtr(T *other); 28 AutoPtr(const AutoPtr<T> &other); 30 AutoPtr(AutoPtr<T> &&other); 34 AutoPtr &operator=(T *other); 36 AutoPtr &operator=(const AutoPtr<T> &other); 38 AutoPtr &operator=(AutoPtr<T> &&other); 40 void MoveTo(T **other); 52 inline bool operator==(T *other) const; 54 inline bool operator==(const AutoPtr<T> &other) const; 56 inline bool operator!=(T *other) cons 81 AutoPtr(T *other) AutoPtr() argument 89 AutoPtr(const AutoPtr<T> &other) AutoPtr() argument 97 AutoPtr(AutoPtr<T> &&other) AutoPtr() argument 111 operator =(T *other) operator =() argument 127 operator =(const AutoPtr<T> &other) operator =() argument 143 operator =(AutoPtr<T> &&other) operator =() argument 154 MoveTo(T **other) MoveTo() argument [all...] |
/foundation/ability/idl_tool/util/ |
H A D | autoptr.h | 28 AutoPtr(T* other); 30 AutoPtr(const AutoPtr<T>& other); 32 AutoPtr(AutoPtr<T>&& other); 36 AutoPtr& operator=(T* other); 38 AutoPtr& operator=(const AutoPtr<T>& other); 40 AutoPtr& operator=(AutoPtr<T>&& other); 42 void MoveTo(T** other); 54 inline bool operator==(T* other) const; 56 inline bool operator==(const AutoPtr<T>& other) const; 58 inline bool operator!=(T* other) cons 83 AutoPtr(T* other) AutoPtr() argument 92 AutoPtr(const AutoPtr<T>& other) AutoPtr() argument 101 AutoPtr(AutoPtr<T>&& other) AutoPtr() argument 116 operator =(T* other) operator =() argument 131 operator =(const AutoPtr<T>& other) operator =() argument 146 operator =(AutoPtr<T>&& other) operator =() argument 157 MoveTo(T** other) MoveTo() argument [all...] |
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/ |
H A D | text_style.cpp | 69 bool TextShadow::operator==(const TextShadow& other) const in operator ==() 71 return color == other.color && in operator ==() 72 offset == other.offset && in operator ==() 73 blurSigma == other.blurSigma; in operator ==() 76 bool TextShadow::operator!=(const TextShadow& other) const in operator !=() 78 return !(*this == other); in operator !=() 89 bool TextStyle::operator==(TextStyle const& other) const in operator ==() 91 return color == other.color && in operator ==() 92 decoration == other.decoration && in operator ==() 93 decorationColor == other in operator ==() [all...] |
/foundation/distributeddatamgr/preferences/frameworks/native/mock/c_utils/utils/base/include/ |
H A D | refbase.h | 107 RefBase(const RefBase &other); 109 RefBase &operator=(const RefBase &other); 111 RefBase(RefBase &&other) noexcept; 113 RefBase &operator=(RefBase &&other) noexcept; 167 sptr(T *other); 169 sptr(const sptr<T> &other); 171 sptr(sptr<T> &&other); 173 sptr<T> &operator=(sptr<T> &&other); 175 template<typename O> sptr(const sptr<O> &other); 184 inline void ForceSetRefPtr(T *other); 241 ForceSetRefPtr(T *other) ForceSetRefPtr() argument 251 sptr(T *other) sptr() argument 256 sptr(const sptr<T> &other) sptr() argument 264 sptr(sptr<T> &&other) sptr() argument 270 operator =(sptr<T> &&other) operator =() argument 280 sptr(const sptr<O> &other) sptr() argument 287 operator =(T *other) operator =() argument 301 operator =(const sptr<T> &other) operator =() argument 316 operator =(const wptr<T> &other) operator =() argument 327 operator =(const sptr<O> &other) operator =() argument 464 wptr(T *other) wptr() argument 476 wptr(const wptr<T> &other) wptr() argument 484 wptr(const sptr<T> &other) wptr() argument 494 wptr(const wptr<O> &other) wptr() argument 502 wptr(const sptr<O> &other) wptr() argument 512 operator =(T *other) operator =() argument 530 operator =(O *other) operator =() argument 549 operator =(const wptr<T> &other) operator =() argument 563 operator =(const sptr<T> &other) operator =() argument 581 operator =(const wptr<O> &other) operator =() argument 595 operator =(const sptr<O> &other) operator =() argument [all...] |
/foundation/graphic/graphic_2d/rosen/modules/platform/utils/ |
H A D | refbase.h | 409 RefBase(RefBase &&other) noexcept; 415 * object of the argument `other`, then `other` will unbind the RefCounter 418 RefBase &operator=(RefBase &&other) noexcept; 622 * @note Null sptr will be created if `other` is a `nullptr`. 623 * @param other Object to be managed by wptr. 625 sptr(T *other); 630 * @param other Input sptr object. 632 sptr(const sptr<T> &other); 637 * @note `other` wil 844 ForceSetRefPtr(T *other) ForceSetRefPtr() argument 856 sptr(T *other) sptr() argument 865 sptr(const sptr<T> &other) sptr() argument 874 sptr(sptr<T> &&other) sptr() argument 881 operator =(sptr<T> &&other) operator =() argument 893 sptr(const sptr<O> &other) sptr() argument 901 operator =(T *other) operator =() argument 916 operator =(const sptr<T> &other) operator =() argument 932 operator =(const wptr<T> &other) operator =() argument 948 operator =(const sptr<O> &other) operator =() argument 1295 wptr(T *other) wptr() argument 1308 wptr(const wptr<T> &other) wptr() argument 1317 wptr(const sptr<T> &other) wptr() argument 1329 wptr(const wptr<O> &other) wptr() argument 1339 wptr(const sptr<O> &other) wptr() argument 1350 operator =(T *other) operator =() argument 1370 operator =(O *other) operator =() argument 1390 operator =(const wptr<T> &other) operator =() argument 1405 operator =(const sptr<T> &other) operator =() argument 1425 operator =(const wptr<O> &other) operator =() argument 1441 operator =(const sptr<O> &other) operator =() argument [all...] |
/foundation/CastEngine/castengine_wifi_display/services/utils/ |
H A D | data_buffer.cpp | 32 DataBuffer::DataBuffer(const DataBuffer &other) noexcept 34 if (other.data_ && other.size_) { 35 capacity_ = other.size_; 37 memcpy_s(data_, capacity_ + 1, other.data_, other.size_); 38 size_ = other.size_; 42 DataBuffer &DataBuffer::operator=(const DataBuffer &other) noexcept 44 if (this != &other) { 45 if (other [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | navigation_options.h | 30 bool operator== (const NavigationBackgroundOptions& other) const in operator ==() 32 return color == other.color && blurStyle == other.blurStyle; in operator ==() 35 bool operator!= (const NavigationBackgroundOptions& other) const in operator !=() 37 return !(*this == other); in operator !=() 46 bool operator== (const NavigationBarOptions& other) const in operator ==() 48 return barStyle == other.barStyle && paddingStart == other.paddingStart in operator ==() 49 && paddingEnd == other.paddingEnd; in operator ==() 52 bool operator!= (const NavigationBarOptions& other) cons [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | start_options.cpp | 24 StartOptions::StartOptions(const StartOptions &other) in StartOptions() argument 26 windowMode_ = other.windowMode_; in StartOptions() 27 displayId_ = other.displayId_; in StartOptions() 28 withAnimation_ = other.withAnimation_; in StartOptions() 29 windowLeft_ = other.windowLeft_; in StartOptions() 30 windowTop_ = other.windowTop_; in StartOptions() 31 windowWidth_ = other.windowWidth_; in StartOptions() 32 windowHeight_ = other.windowHeight_; in StartOptions() 33 windowLeftUsed_ = other.windowLeftUsed_; in StartOptions() 34 windowTopUsed_ = other in StartOptions() 42 operator =(const StartOptions &other) operator =() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | gradient_property.h | 84 bool operator==(const LinearGradientInfo& other) const in operator ==() 87 NearEqual(x1, other.x1) && NearEqual(x2, other.x2) && NearEqual(y1, other.y1) && NearEqual(y2, other.y2)); in operator ==() 97 bool operator==(const RadialGradientInfo& other) const in operator ==() 99 return (NearEqual(r, other.r) && NearEqual(cx, other.cx) && NearEqual(cy, other.cy) && in operator ==() 100 NearEqual(fx, other in operator ==() [all...] |
/foundation/arkui/ace_engine/frameworks/base/memory/ |
H A D | referenced.h | 139 ACE_REMOVE(explicit) RefPtr(const RefPtr& other) : RefPtr(other.rawPtr_) {} in RefPtr() argument 140 ACE_REMOVE(explicit) RefPtr(RefPtr&& other) : rawPtr_(other.rawPtr_) in RefPtr() argument 142 other.rawPtr_ = nullptr; in RefPtr() 144 // Construct instance by other 'RefPtr' that inherited from type 'T'. 146 ACE_REMOVE(explicit) RefPtr(const RefPtr<O>& other) : RefPtr(other.rawPtr_) {} in RefPtr() argument 148 ACE_REMOVE(explicit) RefPtr(RefPtr<O>&& other) : rawPtr_(other argument 162 Swap(RefPtr& other) Swap() argument 166 Swap(RefPtr&& other) Swap() argument 197 operator =(const RefPtr& other) operator =() argument 204 operator =(RefPtr&& other) operator =() argument 219 operator =(const RefPtr<O>& other) operator =() argument 225 operator =(RefPtr<O>&& other) operator =() argument 318 WeakPtr(const WeakPtr& other) WeakPtr() argument 319 WeakPtr(WeakPtr&& other) WeakPtr() argument 326 WeakPtr(const WeakPtr<O>& other) WeakPtr() argument 328 WeakPtr(WeakPtr<O>&& other) WeakPtr() argument 336 WeakPtr(const RefPtr<O>& other) WeakPtr() argument 337 WeakPtr(const RefPtr<T>& other) WeakPtr() argument 349 Swap(WeakPtr& other) Swap() argument 354 Swap(WeakPtr&& other) Swap() argument 374 operator =(const WeakPtr& other) operator =() argument 381 operator =(WeakPtr&& other) operator =() argument 396 operator =(const WeakPtr<O>& other) operator =() argument 402 operator =(WeakPtr<O>&& other) operator =() argument 408 operator =(const RefPtr<O>& other) operator =() argument [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | big_integer.cpp | 33 BigInteger::BigInteger(const BigInteger& other) in BigInteger() argument 35 operator=(other); in BigInteger() 38 BigInteger::BigInteger(BigInteger&& other) in BigInteger() argument 40 operator=(std::move(other)); in BigInteger() 43 BigInteger& BigInteger::operator=(const BigInteger& other) in operator =() argument 45 if (this == &other) { in operator =() 48 sign_ = other.sign_; in operator =() 49 value_ = other.value_; in operator =() 53 BigInteger& BigInteger::operator=(BigInteger&& other) in operator =() argument 55 if (this == &other) { in operator =() 64 operator ==(const BigInteger& other) operator ==() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/symbol/ |
H A D | symbol_effect_options.cpp | 25 bool SymbolEffectOptions::operator==(const SymbolEffectOptions& other) const in operator ==() 27 return effectType_ == other.effectType_ && scopeType_ == other.scopeType_ && in operator ==() 28 commonSubType_ == other.commonSubType_ && fillStyle_ == other.fillStyle_ && in operator ==() 29 repeatCount_ == other.repeatCount_ && isActive_ == other.isActive_ && isTxtActive_ == other.isTxtActive_ && in operator ==() 30 triggerNum_ == other.triggerNum_; in operator ==() 33 bool SymbolEffectOptions::operator!=(const SymbolEffectOptions& other) cons [all...] |
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/ |
H A D | rect.h | 79 * @param other Indicates the rectangle to copy. 83 CommonRect(const CommonRect<T>& other) = default; member in OHOS::CommonRect 88 * @param other Indicates the rectangle to copy. 92 CommonRect(CommonRect<T>&& other) = default; member in OHOS::CommonRect 407 * @param other Indicates the rectangle to be used for check. 412 bool IsExtends(const CommonRect<T>& other) const in IsExtends() 414 if (left_ == other.left_ && right_ == other.right_) { in IsExtends() 415 return (top_ == other.bottom_ + 1) || (bottom_ == other in IsExtends() 463 operator =(const CommonRect<T>& other) operator =() argument 470 operator =(const CommonRect<T>&& other) operator =() argument [all...] |
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | ace_viewport_config.h | 29 bool operator==(const AceViewportConfig &other) const in operator ==() 31 return config_.Width() == other.config_.Width() && in operator ==() 32 config_.Height() == other.config_.Height() && in operator ==() 33 config_.Left() == other.config_.Left() && in operator ==() 34 config_.Top() == other.config_.Top() && in operator ==() 35 config_.Density() == other.config_.Density() && in operator ==() 36 config_.Orientation() == other.config_.Orientation() && in operator ==() 37 reason_ == other.reason_ && in operator ==() 38 rsTransaction_ == other.rsTransaction_; in operator ==() 41 bool operator!=(const AceViewportConfig &other) cons [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/utils/ |
H A D | ref_count.cpp | 31 RefCount::RefCount(const RefCount &other) in RefCount() argument 33 if (this == &other) { in RefCount() 36 ref_ = other.ref_; in RefCount() 39 RefCount::RefCount(RefCount &&other) noexcept 41 if (this == &other) { 44 ref_ = std::move(other.ref_); 47 RefCount &RefCount::operator=(const RefCount &other) in operator =() argument 49 if (this == &other) { in operator =() 52 ref_ = other.ref_; in operator =() 56 RefCount &RefCount::operator=(RefCount &&other) noexcep [all...] |
/foundation/ability/ability_base/interfaces/kits/native/want/src/ |
H A D | extra_params.cpp | 29 * @param other indicates object instance. 31 ExtraParams::ExtraParams(const ExtraParams &other) in ExtraParams() argument 33 devType_ = other.devType_; in ExtraParams() 34 targetBundleName_ = other.targetBundleName_; in ExtraParams() 35 description_ = other.description_; in ExtraParams() 36 jsonParams_ = other.jsonParams_; in ExtraParams() 40 * @param other Indicates object instance. 42 ExtraParams &ExtraParams::operator=(const ExtraParams &other) in operator =() argument 44 if (this != &other) { in operator =() 45 devType_ = other in operator =() [all...] |
H A D | operation.cpp | 26 Operation::Operation(const Operation &other) : flags_(0), uri_(other.uri_.ToString()) in Operation() argument 28 flags_ = other.flags_; in Operation() 29 action_ = other.action_; in Operation() 30 deviceId_ = other.deviceId_; in Operation() 31 entities_ = other.entities_; in Operation() 32 bundleName_ = other.bundleName_; in Operation() 33 abilityName_ = other.abilityName_; in Operation() 34 moduleName_ = other.moduleName_; in Operation() 193 bool Operation::operator==(const Operation &other) cons 231 operator =(const Operation &other) operator =() argument [all...] |
/foundation/communication/netstack/frameworks/native/tls_socket/src/ |
H A D | tls_configuration.cpp | 27 TLSConfiguration::TLSConfiguration(const TLSConfiguration &other) in TLSConfiguration() argument 29 privateKey_ = other.privateKey_; in TLSConfiguration() 30 localCertificate_ = other.localCertificate_; in TLSConfiguration() 31 caCertificate_ = other.caCertificate_; in TLSConfiguration() 32 minProtocol_ = other.minProtocol_; in TLSConfiguration() 33 maxProtocol_ = other.maxProtocol_; in TLSConfiguration() 34 cipherSuite_ = other.cipherSuite_; in TLSConfiguration() 35 tlsVerifyMode_ = other.tlsVerifyMode_; in TLSConfiguration() 36 whetherToSkip_ = other.whetherToSkip_; in TLSConfiguration() 44 TLSConfiguration &TLSConfiguration::operator=(const TLSConfiguration &other) in operator =() argument [all...] |
/foundation/ability/dmsfwk/services/dtbschedmgr/src/distributedWant/ |
H A D | distributed_operation.cpp | 26 DistributedOperation::DistributedOperation(const DistributedOperation& other) : flags_(0), uri_(other.uri_.ToString()) in DistributedOperation() argument 28 flags_ = other.flags_; in DistributedOperation() 29 action_ = other.action_; in DistributedOperation() 30 deviceId_ = other.deviceId_; in DistributedOperation() 31 entities_ = other.entities_; in DistributedOperation() 32 bundleName_ = other.bundleName_; in DistributedOperation() 33 abilityName_ = other.abilityName_; in DistributedOperation() 34 moduleName_ = other.moduleName_; in DistributedOperation() 128 bool DistributedOperation::operator==(const DistributedOperation& other) cons 166 operator =(const DistributedOperation& other) operator =() argument [all...] |
/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | transform_util.h | 33 bool operator==(const TranslateOperation& other) const in operator ==() 35 return dx == other.dx && dy == other.dy && dz == other.dz; in operator ==() 47 bool operator==(const ScaleOperation& other) const in operator ==() 49 return NearEqual(scaleX, other.scaleX, epsilon) && NearEqual(scaleY, other.scaleY, epsilon) && in operator ==() 50 NearEqual(scaleZ, other.scaleZ, epsilon); in operator ==() 62 bool operator==(const SkewOperation& other) const in operator ==() 64 return NearEqual(skewX, other in operator ==() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/ |
H A D | rs_vector2.h | 41 T Dot(const Vector2<T>& other) const; 42 T Cross(const Vector2<T>& other) const; 44 Vector2 operator-(const Vector2<T>& other) const; 45 Vector2 operator+(const Vector2<T>& other) const; 48 Vector2 operator*(const Vector2<T>& other) const; 49 Vector2& operator*=(const Vector2<T>& other); 50 Vector2& operator+=(const Vector2<T>& other); 51 Vector2& operator-=(const Vector2<T>& other); 52 Vector2& operator=(const Vector2& other); 55 bool operator==(const Vector2& other) cons 178 operator *=(const Vector2<T>& other) operator *=() argument 187 operator +=(const Vector2<T>& other) operator +=() argument 195 operator -=(const Vector2<T>& other) operator -=() argument 203 operator =(const Vector2<T>& other) operator =() argument 240 IsNearEqual(const Vector2& other, T threshold) const IsNearEqual() argument [all...] |
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include/ |
H A D | dm_device_info.h | 284 bool operator==(const PeerTargetId &other) const
in operator ==() 286 return (deviceId == other.deviceId) && (brMac == other.brMac) &&
in operator ==() 287 (bleMac == other.bleMac) && (wifiIp == other.wifiIp) && (wifiPort == other.wifiPort);
in operator ==() 290 bool operator<(const PeerTargetId &other) const
in operator <() 292 return (deviceId < other.deviceId) ||
in operator <() 293 (deviceId == other.deviceId && brMac < other in operator <() [all...] |
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/include/utils/ |
H A D | dh_context.h | 46 bool operator == (const DeviceIdEntry &other) const in operator ==() 48 return (networkId == other.networkId) && in operator ==() 49 (uuid == other.uuid) && in operator ==() 50 (deviceId == other.deviceId) && in operator ==() 51 (udid == other.udid) && in operator ==() 52 (udidHash == other.udidHash); in operator ==() 55 bool operator < (const DeviceIdEntry &other) const in operator <() 57 return (networkId.compare(other.networkId) < 0) || in operator <() 58 ((networkId.compare(other.networkId) == 0) && (uuid.compare(other in operator <() [all...] |
/foundation/arkui/ace_engine/frameworks/base/geometry/ng/ |
H A D | vector.h | 26 bool operator==(const VectorF& other) const in operator ==() 28 return NearEqual(x, other.x) && NearEqual(y, other.y); in operator ==() 44 bool operator==(const Vector3F& other) const in operator ==() 46 return NearEqual(x, other.x) && NearEqual(y, other.y) && NearEqual(z, other.z); in operator ==() 71 bool operator==(const Vector4F& other) const in operator ==() 73 return NearEqual(x, other.x) && NearEqual(y, other in operator ==() [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/utils/ |
H A D | region_test.cpp | 120 Region other; in HWTEST_F() local 121 EXPECT_FALSE(region->IsIntersects(other)); in HWTEST_F() 136 Region other; in HWTEST_F() local 137 other.SetRect(rectI); in HWTEST_F() 138 EXPECT_TRUE(region->IsIntersects(other)); in HWTEST_F() 151 Region other; in HWTEST_F() local 152 EXPECT_FALSE(region->Op(other, RegionOp::DIFFERENCE)); in HWTEST_F() 168 Region other; in HWTEST_F() local 169 other.SetRect(otherRectI); in HWTEST_F() 170 EXPECT_TRUE(region->Op(other, RegionO in HWTEST_F() 186 Region other; HWTEST_F() local 204 Region other; HWTEST_F() local 222 Region other; HWTEST_F() local 240 Region other; HWTEST_F() local 258 Region other; HWTEST_F() local [all...] |