/frameworks/native/include/ui/ |
D | Region.h | 39 Region(const Region& rhs); 40 explicit Region(const Rect& rhs); 43 Region& operator = (const Region& rhs); 58 Region& orSelf(const Rect& rhs); 59 Region& xorSelf(const Rect& rhs); 60 Region& andSelf(const Rect& rhs); 61 Region& subtractSelf(const Rect& rhs); 64 Region& orSelf(const Region& rhs); 65 Region& xorSelf(const Region& rhs); 66 Region& andSelf(const Region& rhs); [all …]
|
D | Point.h | 40 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 …]
|
D | Rect.h | 64 inline void set(const Rect& rhs) { in set() argument 65 operator = (rhs); in set() 110 inline bool operator == (const Rect& rhs) const { 111 return (left == rhs.left) && (top == rhs.top) && 112 (right == rhs.right) && (bottom == rhs.bottom); 115 inline bool operator != (const Rect& rhs) const { 116 return !operator == (rhs); 121 bool operator < (const Rect& rhs) const; 135 Rect& operator += (const Point& rhs) { 136 return offsetBy(rhs.x, rhs.y); [all …]
|
/frameworks/native/libs/utils/ |
D | CallStack.cpp | 33 CallStack::CallStack(const CallStack& rhs) : in CallStack() argument 34 mCount(rhs.mCount) { in CallStack() 36 memcpy(mStack, rhs.mStack, mCount * sizeof(backtrace_frame_t)); in CallStack() 43 CallStack& CallStack::operator = (const CallStack& rhs) { in operator =() argument 44 mCount = rhs.mCount; in operator =() 46 memcpy(mStack, rhs.mStack, mCount * sizeof(backtrace_frame_t)); in operator =() 51 bool CallStack::operator == (const CallStack& rhs) const { in operator ==() 52 if (mCount != rhs.mCount) in operator ==() 54 return !mCount || memcmp(mStack, rhs.mStack, mCount * sizeof(backtrace_frame_t)) == 0; in operator ==() 57 bool CallStack::operator != (const CallStack& rhs) const { in operator !=() [all …]
|
D | VectorImpl.cpp | 49 VectorImpl::VectorImpl(const VectorImpl& rhs) in VectorImpl() argument 50 : mStorage(rhs.mStorage), mCount(rhs.mCount), in VectorImpl() 51 mFlags(rhs.mFlags), mItemSize(rhs.mItemSize) in VectorImpl() 67 VectorImpl& VectorImpl::operator = (const VectorImpl& rhs) in operator =() argument 69 LOG_ALWAYS_FATAL_IF(mItemSize != rhs.mItemSize, in operator =() 70 "Vector<> have different types (this=%p, rhs=%p)", this, &rhs); in operator =() 71 if (this != &rhs) { in operator =() 73 if (rhs.mCount) { in operator =() 74 mStorage = rhs.mStorage; in operator =() 75 mCount = rhs.mCount; in operator =() [all …]
|
/frameworks/native/libs/ui/ |
D | Region.cpp | 56 Region::Region(const Region& rhs) in Region() argument 57 : mStorage(rhs.mStorage) in Region() 60 validate(rhs, "rhs copy-ctor"); in Region() 64 Region::Region(const Rect& rhs) { in Region() argument 65 mStorage.add(rhs); in Region() 72 Region& Region::operator = (const Region& rhs) in operator =() argument 76 validate(rhs, "rhs.operator="); in operator =() 78 mStorage = rhs.mStorage; in operator =() 141 Region& Region::orSelf(const Region& rhs) { in orSelf() argument 142 return operationSelf(rhs, op_or); in orSelf() [all …]
|
D | Rect.cpp | 37 bool Rect::operator < (const Rect& rhs) const in operator <() 39 if (top<rhs.top) { in operator <() 41 } else if (top == rhs.top) { in operator <() 42 if (left < rhs.left) { in operator <() 44 } else if (left == rhs.left) { in operator <() 45 if (bottom<rhs.bottom) { in operator <() 47 } else if (bottom == rhs.bottom) { in operator <() 48 if (right<rhs.right) { in operator <() 75 const Rect Rect::operator + (const Point& rhs) const in operator +() 77 const Rect result(left+rhs.x, top+rhs.y, right+rhs.x, bottom+rhs.y); in operator +() [all …]
|
/frameworks/native/services/sensorservice/ |
D | mat.h | 35 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 …]
|
D | vec.h | 50 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 …]
|
D | BatteryService.h | 47 bool operator < (const Info& rhs) const { 48 return (uid == rhs.uid) ? (handle < rhs.handle) : (uid < rhs.uid);
|
/frameworks/native/include/private/ui/ |
D | RegionHelper.h | 54 inline region(const region& rhs) in region() 55 : rects(rhs.rects), count(rhs.count), dx(rhs.dx), dy(rhs.dy) { } in region() 69 inline region_operator(int op, const region& lhs, const region& rhs) in region_operator() argument 70 : op_mask(op), spanner(lhs, rhs) in region_operator() 77 SpannerInner spannerInner(spanner.lhs, spanner.rhs); in operator() 162 region rhs; variable 165 inline Spanner(const region& lhs, const region& rhs) in Spanner() argument 166 : lhs(lhs), rhs(rhs) in Spanner() 172 if (rhs.count) { in Spanner() 173 SpannerBase::rhs_head = rhs.rects->top + rhs.dy; in Spanner() [all …]
|
/frameworks/base/tools/aapt/ |
D | SourcePos.cpp | 22 bool operator<(const ErrorPos& rhs) const; 23 bool operator==(const ErrorPos& rhs) const; 24 ErrorPos& operator=(const ErrorPos& rhs); 57 ErrorPos::operator<(const ErrorPos& rhs) const in operator <() 59 if (this->file < rhs.file) return true; in operator <() 60 if (this->file == rhs.file) { in operator <() 61 if (this->line < rhs.line) return true; in operator <() 62 if (this->line == rhs.line) { in operator <() 63 if (this->error < rhs.error) return true; in operator <() 70 ErrorPos::operator==(const ErrorPos& rhs) const in operator ==() [all …]
|
/frameworks/native/include/utils/ |
D | CallStack.h | 38 CallStack(const CallStack& rhs); 41 CallStack& operator = (const CallStack& rhs); 43 bool operator == (const CallStack& rhs) const; 44 bool operator != (const CallStack& rhs) const; 45 bool operator < (const CallStack& rhs) const; 46 bool operator >= (const CallStack& rhs) const; 47 bool operator > (const CallStack& rhs) const; 48 bool operator <= (const CallStack& rhs) const;
|
D | Vector.h | 53 Vector(const Vector<TYPE>& rhs); 54 explicit Vector(const SortedVector<TYPE>& rhs); 58 const Vector<TYPE>& operator = (const Vector<TYPE>& rhs) const; 59 Vector<TYPE>& operator = (const Vector<TYPE>& rhs); 61 const Vector<TYPE>& operator = (const SortedVector<TYPE>& rhs) const; 62 Vector<TYPE>& operator = (const SortedVector<TYPE>& rhs); 165 typedef int (*compar_t)(const TYPE* lhs, const TYPE* rhs); 166 typedef int (*compar_r_t)(const TYPE* lhs, const TYPE* rhs, void* state); 222 Vector<TYPE>::Vector(const Vector<TYPE>& rhs) 223 : VectorImpl(rhs) { [all …]
|
D | SortedVector.h | 47 SortedVector(const SortedVector<TYPE>& rhs); 51 const SortedVector<TYPE>& operator = (const SortedVector<TYPE>& rhs) const; 52 SortedVector<TYPE>& operator = (const SortedVector<TYPE>& rhs); 133 virtual int do_compare(const void* lhs, const void* rhs) const; 155 SortedVector<TYPE>::SortedVector(const SortedVector<TYPE>& rhs) 156 : SortedVectorImpl(rhs) { 165 SortedVector<TYPE>& SortedVector<TYPE>::operator = (const SortedVector<TYPE>& rhs) { 166 SortedVectorImpl::operator = (rhs); 171 const SortedVector<TYPE>& SortedVector<TYPE>::operator = (const SortedVector<TYPE>& rhs) const { 172 SortedVectorImpl::operator = (rhs); [all …]
|
D | VectorImpl.h | 50 VectorImpl(const VectorImpl& rhs); 56 VectorImpl& operator = (const VectorImpl& rhs); 92 typedef int (*compar_t)(const void* lhs, const void* rhs); 93 typedef int (*compar_r_t)(const void* lhs, const void* rhs, void* state); 144 SortedVectorImpl(const VectorImpl& rhs); 147 SortedVectorImpl& operator = (const SortedVectorImpl& rhs); 166 virtual int do_compare(const void* lhs, const void* rhs) const = 0;
|
/frameworks/support/renderscript/v8/rs_support/scriptc/ |
D | rs_quaternion.rsh | 45 * @param rhs source quaternion 48 rsQuaternionSet(rs_quaternion *q, const rs_quaternion *rhs) { 49 q->w = rhs->w; 50 q->x = rhs->x; 51 q->y = rhs->y; 52 q->z = rhs->z; 74 rsQuaternionAdd(rs_quaternion *q, const rs_quaternion *rhs) { 75 q->w *= rhs->w; 76 q->x *= rhs->x; 77 q->y *= rhs->y; [all …]
|
/frameworks/rs/scriptc/ |
D | rs_quaternion.rsh | 45 * @param rhs source quaternion 48 rsQuaternionSet(rs_quaternion *q, const rs_quaternion *rhs) { 49 q->w = rhs->w; 50 q->x = rhs->x; 51 q->y = rhs->y; 52 q->z = rhs->z; 74 rsQuaternionAdd(rs_quaternion *q, const rs_quaternion *rhs) { 75 q->w *= rhs->w; 76 q->x *= rhs->x; 77 q->y *= rhs->y; [all …]
|
/frameworks/native/opengl/libagl/ |
D | matrix.cpp | 236 void matrixx_t::load(const matrixf_t& rhs) { in load() argument 238 GLfloat const* fp = rhs.elements(); in load() 252 void matrixf_t::multiply(matrixf_t& r, const matrixf_t& lhs, const matrixf_t& rhs) in multiply() argument 256 register const float rhs_i0 = rhs.m[ I(i,0) ]; in multiply() 262 register const float rhs_ij = rhs.m[ I(i,j) ]; in multiply() 287 void matrixf_t::set(const GLfixed* rhs) { in set() argument 288 load(rhs); in set() 291 void matrixf_t::set(const GLfloat* rhs) { in set() argument 292 load(rhs); in set() 295 void matrixf_t::load(const GLfixed* rhs) { in load() argument [all …]
|
/frameworks/base/libs/hwui/ |
D | LayerCache.h | 122 bool operator<(const LayerEntry& rhs) const { 123 if (mWidth == rhs.mWidth) { 124 return mHeight < rhs.mHeight; 126 return mWidth < rhs.mWidth; 129 bool operator==(const LayerEntry& rhs) const { 130 return mWidth == rhs.mWidth && mHeight == rhs.mHeight;
|
/frameworks/base/libs/hwui/utils/ |
D | Compare.h | 26 if (a < rhs.a) return true; \ 27 if (a == rhs.a) 33 if (a < rhs.a) return true; \ 34 if (a == rhs.a)
|
D | SortedList.h | 41 SortedList(const SortedList<TYPE>& rhs); 44 const SortedList<TYPE>& operator =(const SortedList<TYPE>& rhs) const; 45 SortedList<TYPE>& operator =(const SortedList<TYPE>& rhs); 102 virtual int do_compare(const void* lhs, const void* rhs) const; 117 inline SortedList<TYPE>::SortedList(const SortedList<TYPE>& rhs): SortedListImpl(rhs) { in SortedList() argument 125 inline SortedList<TYPE>& SortedList<TYPE>::operator =(const SortedList<TYPE>& rhs) { 126 SortedListImpl::operator =(rhs); 132 const SortedList<TYPE>& rhs) const { 133 SortedListImpl::operator =(rhs); 235 int SortedList<TYPE>::do_compare(const void* lhs, const void* rhs) const { in do_compare() argument [all …]
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.h | 166 static HWCLayer* copy(HWCLayer *rhs) { in copy() argument 167 return rhs ? rhs->dup() : NULL; in copy() 188 LayerListIterator& operator = (const LayerListIterator& rhs); 192 LayerListIterator(const LayerListIterator& rhs) in LayerListIterator() argument 193 : mLayerList(HWCLayer::copy(rhs.mLayerList)), mIndex(rhs.mIndex) { in LayerListIterator() 209 bool operator == (const LayerListIterator& rhs) const { 210 return mIndex == rhs.mIndex; 212 bool operator != (const LayerListIterator& rhs) const { 213 return !operator==(rhs);
|
/frameworks/compile/libbcc/lib/Renderscript/runtime/ |
D | rs_cl.c | 822 extern float3 __attribute__((overloadable)) cross(float3 lhs, float3 rhs) { in FN_FUNC_FN() 824 r.x = lhs.y * rhs.z - lhs.z * rhs.y; in FN_FUNC_FN() 825 r.y = lhs.z * rhs.x - lhs.x * rhs.z; in FN_FUNC_FN() 826 r.z = lhs.x * rhs.y - lhs.y * rhs.x; in FN_FUNC_FN() 830 extern float4 __attribute__((overloadable)) cross(float4 lhs, float4 rhs) { in cross() argument 832 r.x = lhs.y * rhs.z - lhs.z * rhs.y; in cross() 833 r.y = lhs.z * rhs.x - lhs.x * rhs.z; in cross() 834 r.z = lhs.x * rhs.y - lhs.y * rhs.x; in cross() 839 extern float __attribute__((overloadable)) dot(float lhs, float rhs) { in dot() argument 840 return lhs * rhs; in dot() [all …]
|
/frameworks/rs/ |
D | rsMatrix2x2.h | 40 void loadMultiply(const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs); 44 void multiply(const rs_matrix2x2 *rhs) { in multiply() 46 tmp.loadMultiply(this, rhs); in multiply()
|