Home
last modified time | relevance | path

Searched refs:rhs (Results 1 – 25 of 312) sorted by relevance

12345678910>>...13

/frameworks/native/libs/ui/include_vndk/ui/
DRegion.h43 Region(const Region& rhs);
44 explicit Region(const Rect& rhs);
49 Region& operator = (const Region& rhs);
68 Region& orSelf(const Rect& rhs);
69 Region& xorSelf(const Rect& rhs);
70 Region& andSelf(const Rect& rhs);
71 Region& subtractSelf(const Rect& rhs);
74 Region& orSelf(const Region& rhs);
75 Region& xorSelf(const Region& rhs);
76 Region& andSelf(const Region& rhs);
[all …]
DPoint.h40 inline bool operator == (const Point& rhs) const {
41 return (x == rhs.x) && (y == rhs.y);
43 inline bool operator != (const Point& rhs) const {
44 return !operator == (rhs);
53 bool operator < (const Point& rhs) const {
54 return y<rhs.y || (y==rhs.y && x<rhs.x);
63 inline Point& operator += (const Point& rhs) {
64 x += rhs.x;
65 y += rhs.y;
68 inline Point& operator -= (const Point& rhs) {
[all …]
/frameworks/native/include/ui/
DRegion.h43 Region(const Region& rhs);
44 explicit Region(const Rect& rhs);
49 Region& operator = (const Region& rhs);
68 Region& orSelf(const Rect& rhs);
69 Region& xorSelf(const Rect& rhs);
70 Region& andSelf(const Rect& rhs);
71 Region& subtractSelf(const Rect& rhs);
74 Region& orSelf(const Region& rhs);
75 Region& xorSelf(const Region& rhs);
76 Region& andSelf(const Region& rhs);
[all …]
DPoint.h40 inline bool operator == (const Point& rhs) const {
41 return (x == rhs.x) && (y == rhs.y);
43 inline bool operator != (const Point& rhs) const {
44 return !operator == (rhs);
53 bool operator < (const Point& rhs) const {
54 return y<rhs.y || (y==rhs.y && x<rhs.x);
63 inline Point& operator += (const Point& rhs) {
64 x += rhs.x;
65 y += rhs.y;
68 inline Point& operator -= (const Point& rhs) {
[all …]
/frameworks/native/libs/ui/include/ui/
DRegion.h43 Region(const Region& rhs);
44 explicit Region(const Rect& rhs);
49 Region& operator = (const Region& rhs);
68 Region& orSelf(const Rect& rhs);
69 Region& xorSelf(const Rect& rhs);
70 Region& andSelf(const Rect& rhs);
71 Region& subtractSelf(const Rect& rhs);
74 Region& orSelf(const Region& rhs);
75 Region& xorSelf(const Region& rhs);
76 Region& andSelf(const Region& rhs);
[all …]
DPoint.h40 inline bool operator == (const Point& rhs) const {
41 return (x == rhs.x) && (y == rhs.y);
43 inline bool operator != (const Point& rhs) const {
44 return !operator == (rhs);
53 bool operator < (const Point& rhs) const {
54 return y<rhs.y || (y==rhs.y && x<rhs.x);
63 inline Point& operator += (const Point& rhs) {
64 x += rhs.x;
65 y += rhs.y;
68 inline Point& operator -= (const Point& rhs) {
[all …]
/frameworks/base/tools/aapt2/util/
DMaybe.h44 Maybe(const Maybe& rhs);
47 Maybe(const Maybe<U>& rhs); // NOLINT(google-explicit-constructor)
49 Maybe(Maybe&& rhs) noexcept;
52 Maybe(Maybe<U>&& rhs); // NOLINT(google-explicit-constructor)
54 Maybe& operator=(const Maybe& rhs);
57 Maybe& operator=(const Maybe<U>& rhs);
59 Maybe& operator=(Maybe&& rhs) noexcept;
62 Maybe& operator=(Maybe<U>&& rhs);
99 Maybe& copy(const Maybe<U>& rhs);
102 Maybe& move(Maybe<U>&& rhs);
[all …]
DMaybe_test.cpp33 Fake(const Fake& rhs) { in Fake()
35 if (rhs.data) { in Fake()
37 *data = *rhs.data; in Fake()
40 << (const void*)&rhs << "}" << std::endl; in Fake()
43 Fake(Fake&& rhs) { in Fake()
44 data = rhs.data; in Fake()
45 rhs.data = nullptr; in Fake()
47 << (const void*)&rhs << "}" << std::endl; in Fake()
50 Fake& operator=(const Fake& rhs) { in operator =()
54 if (rhs.data) { in operator =()
[all …]
/frameworks/av/media/libstagefright/renderfright/include/renderengine/
DLayerSettings.h158 static inline bool operator==(const Buffer& lhs, const Buffer& rhs) {
159 return lhs.buffer == rhs.buffer && lhs.fence == rhs.fence &&
160 lhs.textureName == rhs.textureName &&
161 lhs.useTextureFiltering == rhs.useTextureFiltering &&
162 lhs.textureTransform == rhs.textureTransform &&
163 lhs.usePremultipliedAlpha == rhs.usePremultipliedAlpha &&
164 lhs.isOpaque == rhs.isOpaque && lhs.isY410BT2020 == rhs.isY410BT2020 &&
165 lhs.maxMasteringLuminance == rhs.maxMasteringLuminance &&
166 lhs.maxContentLuminance == rhs.maxContentLuminance;
169 static inline bool operator==(const Geometry& lhs, const Geometry& rhs) {
[all …]
/frameworks/native/services/inputflinger/
DInputListener.cpp43 bool NotifyConfigurationChangedArgs::operator==(const NotifyConfigurationChangedArgs& rhs) const { in operator ==()
44 return id == rhs.id && eventTime == rhs.eventTime; in operator ==()
84 bool NotifyKeyArgs::operator==(const NotifyKeyArgs& rhs) const { in operator ==()
85 return id == rhs.id && eventTime == rhs.eventTime && readTime == rhs.readTime && in operator ==()
86 deviceId == rhs.deviceId && source == rhs.source && displayId == rhs.displayId && in operator ==()
87 policyFlags == rhs.policyFlags && action == rhs.action && flags == rhs.flags && in operator ==()
88 keyCode == rhs.keyCode && scanCode == rhs.scanCode && metaState == rhs.metaState && in operator ==()
89 downTime == rhs.downTime; in operator ==()
159 static inline bool isCursorPositionEqual(float lhs, float rhs) { in isCursorPositionEqual() argument
160 return (isnan(lhs) && isnan(rhs)) || lhs == rhs; in isCursorPositionEqual()
[all …]
/frameworks/native/libs/renderengine/include/renderengine/
DLayerSettings.h178 static inline bool operator==(const Buffer& lhs, const Buffer& rhs) {
179 return lhs.buffer == rhs.buffer && lhs.fence == rhs.fence &&
180 lhs.textureName == rhs.textureName &&
181 lhs.useTextureFiltering == rhs.useTextureFiltering &&
182 lhs.textureTransform == rhs.textureTransform &&
183 lhs.usePremultipliedAlpha == rhs.usePremultipliedAlpha &&
184 lhs.isOpaque == rhs.isOpaque && lhs.isY410BT2020 == rhs.isY410BT2020 &&
185 lhs.maxLuminanceNits == rhs.maxLuminanceNits;
188 static inline bool operator==(const Geometry& lhs, const Geometry& rhs) {
189 return lhs.boundaries == rhs.boundaries && lhs.positionTransform == rhs.positionTransform &&
[all …]
/frameworks/base/tools/aapt2/
DResource.h112 ResourceNameRef(const ResourceName& rhs); // NOLINT(google-explicit-constructor)
114 ResourceNameRef& operator=(const ResourceNameRef& rhs) = default;
115 ResourceNameRef& operator=(ResourceNameRef&& rhs) = default;
116 ResourceNameRef& operator=(const ResourceName& rhs);
142 ResourceId(const ResourceId& rhs) = default;
251 inline bool operator<(const ResourceId& lhs, const ResourceId& rhs) {
252 return lhs.id < rhs.id;
255 inline bool operator>(const ResourceId& lhs, const ResourceId& rhs) {
256 return lhs.id > rhs.id;
259 inline bool operator==(const ResourceId& lhs, const ResourceId& rhs) {
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DClientCompositionRequestCache.cpp34 const renderengine::LayerSettings& rhs) { in equalIgnoringSource() argument
35 return lhs.geometry == rhs.geometry && lhs.alpha == rhs.alpha && in equalIgnoringSource()
36 lhs.sourceDataspace == rhs.sourceDataspace && in equalIgnoringSource()
37 lhs.colorTransform == rhs.colorTransform && in equalIgnoringSource()
38 lhs.disableBlending == rhs.disableBlending && lhs.shadow == rhs.shadow && in equalIgnoringSource()
39 lhs.backgroundBlurRadius == rhs.backgroundBlurRadius && in equalIgnoringSource()
40 lhs.stretchEffect == rhs.stretchEffect; in equalIgnoringSource()
43 inline bool equalIgnoringBuffer(const renderengine::Buffer& lhs, const renderengine::Buffer& rhs) { in equalIgnoringBuffer() argument
44 return lhs.textureName == rhs.textureName && in equalIgnoringBuffer()
45 lhs.useTextureFiltering == rhs.useTextureFiltering && in equalIgnoringBuffer()
[all …]
/frameworks/base/tools/aapt2/jni/
DScopedUtfChars.h35 ScopedUtfChars(ScopedUtfChars&& rhs) : in ScopedUtfChars() argument
36 env_(rhs.env_), string_(rhs.string_), utf_chars_(rhs.utf_chars_) { in ScopedUtfChars()
37 rhs.env_ = nullptr; in ScopedUtfChars()
38 rhs.string_ = nullptr; in ScopedUtfChars()
39 rhs.utf_chars_ = nullptr; in ScopedUtfChars()
48 ScopedUtfChars& operator=(ScopedUtfChars&& rhs) {
49 if (this != &rhs) {
54 env_ = rhs.env_;
55 string_ = rhs.string_;
56 utf_chars_ = rhs.utf_chars_;
[all …]
/frameworks/native/libs/binder/ndk/include_cpp/android/
Dbinder_auto_utils.h118 bool operator!=(const SpAIBinder& rhs) const { return get() != rhs.get(); }
119 bool operator<(const SpAIBinder& rhs) const { return get() < rhs.get(); }
120 bool operator<=(const SpAIBinder& rhs) const { return get() <= rhs.get(); }
121 bool operator==(const SpAIBinder& rhs) const { return get() == rhs.get(); }
122 bool operator>(const SpAIBinder& rhs) const { return get() > rhs.get(); }
123 bool operator>=(const SpAIBinder& rhs) const { return get() >= rhs.get(); }
212 bool operator!=(const ScopedAParcel& rhs) const { return get() != rhs.get(); }
213 bool operator<(const ScopedAParcel& rhs) const { return get() < rhs.get(); }
214 bool operator<=(const ScopedAParcel& rhs) const { return get() <= rhs.get(); }
215 bool operator==(const ScopedAParcel& rhs) const { return get() == rhs.get(); }
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DStringPiece.h59 BasicStringPiece<TChar>& operator=(const BasicStringPiece<TChar>& rhs);
72 bool contains(const BasicStringPiece<TChar>& rhs) const;
73 int compare(const BasicStringPiece<TChar>& rhs) const;
74 bool operator<(const BasicStringPiece<TChar>& rhs) const;
75 bool operator>(const BasicStringPiece<TChar>& rhs) const;
76 bool operator==(const BasicStringPiece<TChar>& rhs) const;
77 bool operator!=(const BasicStringPiece<TChar>& rhs) const;
122 const BasicStringPiece<TChar>& rhs) {
123 data_ = rhs.data_;
124 length_ = rhs.length_;
[all …]
/frameworks/native/services/inputflinger/dispatcher/
DInputEventTimeline.cpp56 bool ConnectionTimeline::operator==(const ConnectionTimeline& rhs) const { in operator ==()
57 return deliveryTime == rhs.deliveryTime && consumeTime == rhs.consumeTime && in operator ==()
58 finishTime == rhs.finishTime && graphicsTimeline == rhs.graphicsTimeline && in operator ==()
59 mHasDispatchTimeline == rhs.mHasDispatchTimeline && in operator ==()
60 mHasGraphicsTimeline == rhs.mHasGraphicsTimeline; in operator ==()
63 bool ConnectionTimeline::operator!=(const ConnectionTimeline& rhs) const { in operator !=()
64 return !operator==(rhs); in operator !=()
70 bool InputEventTimeline::operator==(const InputEventTimeline& rhs) const { in operator ==()
71 if (connectionTimelines.size() != rhs.connectionTimelines.size()) { in operator ==()
75 auto it = rhs.connectionTimelines.find(connectionToken); in operator ==()
[all …]
/frameworks/native/services/sensorservice/
Dmat.h35 typename TypeTraits<TYPE>::ParameterType rhs) { in doAssign() argument
38 lhs[i][j] = (i==j) ? rhs : 0; in doAssign()
45 const mat<TYPE, C, D>& rhs) in doMul() argument
52 v += lhs[k][r] * rhs[c][k]; in doMul()
63 const vec<TYPE, D>& rhs) in doMul() argument
69 v += lhs[k][r] * rhs[k]; in doMul()
79 const mat<TYPE, C, 1>& rhs) in doMul() argument
84 res[c][r] = lhs[r] * rhs[c][0]; in doMul()
92 const mat<TYPE, C, R>& rhs, in doMul() argument
98 res[c][r] = rhs[c][r] * v; in doMul()
[all …]
Dvec.h50 vec<TYPE, SIZE>& lhs, const VEC<TYPE, S>& rhs) { in doAssign() argument
54 lhs[i] = rhs[i]; in doAssign()
69 const VRHS<TYPE, SIZE>& rhs) { in doAdd() argument
72 r[i] = lhs[i] + rhs[i]; in doAdd()
84 const VRHS<TYPE, SIZE>& rhs) { in doSub() argument
87 r[i] = lhs[i] - rhs[i]; in doSub()
98 typename TypeTraits<TYPE>::ParameterType rhs) { in doMulScalar() argument
101 r[i] = lhs[i] * rhs; in doMulScalar()
112 const VEC<TYPE, SIZE>& rhs) { in doScalarMul() argument
115 r[i] = lhs * rhs[i]; in doScalarMul()
[all …]
/frameworks/native/libs/ui/
DRegion.cpp73 Region::Region(const Region& rhs) in Region() argument
76 mStorage.insert(mStorage.begin(), rhs.mStorage.begin(), rhs.mStorage.end()); in Region()
78 validate(rhs, "rhs copy-ctor"); in Region()
82 Region::Region(const Rect& rhs) { in Region() argument
83 mStorage.push_back(rhs); in Region()
221 Region& Region::operator = (const Region& rhs) in operator =() argument
225 validate(rhs, "rhs.operator="); in operator =()
227 if (this == &rhs) { in operator =()
233 mStorage.insert(mStorage.begin(), rhs.mStorage.begin(), rhs.mStorage.end()); in operator =()
339 Region& Region::orSelf(const Region& rhs) { in orSelf() argument
[all …]
/frameworks/native/libs/ui/include_private/ui/
DRegionHelper.h51 inline region(const region& rhs) in region()
52 : rects(rhs.rects), count(rhs.count), dx(rhs.dx), dy(rhs.dy) {} in region()
66 inline region_operator(uint32_t op, const region& lhs, const region& rhs) in region_operator() argument
67 : op_mask(op), spanner(lhs, rhs) {} in region_operator()
72 SpannerInner spannerInner(spanner.lhs, spanner.rhs); in operator()
148 region rhs; variable
151 inline Spanner(const region& _lhs, const region& _rhs) : lhs(_lhs), rhs(_rhs) { in Spanner()
156 if (rhs.count) { in Spanner()
157 SpannerBase::rhs_head = rhs.rects->top + rhs.dy; in Spanner()
158 SpannerBase::rhs_tail = rhs.rects->bottom + rhs.dy; in Spanner()
[all …]
/frameworks/base/tools/split-select/
DSplitDescription.h34 int compare(const SplitDescription& rhs) const;
35 inline bool operator<(const SplitDescription& rhs) const;
36 inline bool operator==(const SplitDescription& rhs) const;
37 inline bool operator!=(const SplitDescription& rhs) const;
50 bool SplitDescription::operator<(const SplitDescription& rhs) const {
51 return compare(rhs) < 0;
54 bool SplitDescription::operator==(const SplitDescription& rhs) const {
55 return compare(rhs) == 0;
58 bool SplitDescription::operator!=(const SplitDescription& rhs) const {
59 return compare(rhs) != 0;
/frameworks/native/libs/binder/include/binder/
DParcelFileDescriptor.h45 inline bool operator!=(const ParcelFileDescriptor& rhs) const {
46 return mFd.get() != rhs.mFd.get();
48 inline bool operator<(const ParcelFileDescriptor& rhs) const {
49 return mFd.get() < rhs.mFd.get();
51 inline bool operator<=(const ParcelFileDescriptor& rhs) const {
52 return mFd.get() <= rhs.mFd.get();
54 inline bool operator==(const ParcelFileDescriptor& rhs) const {
55 return mFd.get() == rhs.mFd.get();
57 inline bool operator>(const ParcelFileDescriptor& rhs) const {
58 return mFd.get() > rhs.mFd.get();
[all …]
/frameworks/native/include/binder/
DParcelFileDescriptor.h45 inline bool operator!=(const ParcelFileDescriptor& rhs) const {
46 return mFd.get() != rhs.mFd.get();
48 inline bool operator<(const ParcelFileDescriptor& rhs) const {
49 return mFd.get() < rhs.mFd.get();
51 inline bool operator<=(const ParcelFileDescriptor& rhs) const {
52 return mFd.get() <= rhs.mFd.get();
54 inline bool operator==(const ParcelFileDescriptor& rhs) const {
55 return mFd.get() == rhs.mFd.get();
57 inline bool operator>(const ParcelFileDescriptor& rhs) const {
58 return mFd.get() > rhs.mFd.get();
[all …]
/frameworks/rs/driver/runtime/
Drs_quaternion.c12 rsQuaternionAdd(rs_quaternion* q, const rs_quaternion* rhs) { in rsQuaternionAdd() argument
13 q->w += rhs->w; in rsQuaternionAdd()
14 q->x += rhs->x; in rsQuaternionAdd()
15 q->y += rhs->y; in rsQuaternionAdd()
16 q->z += rhs->z; in rsQuaternionAdd()
77 rsQuaternionSet(rs_quaternion* q, const rs_quaternion* rhs) { in rsQuaternionSet() argument
78 q->w = rhs->w; in rsQuaternionSet()
79 q->x = rhs->x; in rsQuaternionSet()
80 q->y = rhs->y; in rsQuaternionSet()
81 q->z = rhs->z; in rsQuaternionSet()
[all …]

12345678910>>...13