Searched refs:lhs (Results 1 - 25 of 110) sorted by relevance

12345

/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DUtils.cpp21 bool operator<(const Vector<uint8_t> &lhs, const Vector<uint8_t> &rhs) { argument
22 if (lhs.size() < rhs.size()) {
24 } else if (lhs.size() > rhs.size()) {
27 return memcmp((void *)lhs.array(), (void *)rhs.array(), rhs.size()) < 0;
H A DUtils.h26 bool operator<(const Vector<uint8_t> &lhs, const Vector<uint8_t> &rhs);
/frameworks/base/libs/hwui/utils/
H A DMacros.h28 friend inline int strictly_order_type(const Type& lhs, const Type& rhs) { return lhs.compare(rhs) < 0; } \
29 friend inline int compare_type(const Type& lhs, const Type& rhs) { return lhs.compare(rhs); } \
/frameworks/native/include/private/ui/
H A DRegionHelper.h69 inline region_operator(int op, const region& lhs, const region& rhs) argument
70 : op_mask(op), spanner(lhs, rhs)
77 SpannerInner spannerInner(spanner.lhs, spanner.rhs);
161 region lhs; member in class:android::region_operator::Spanner
165 inline Spanner(const region& lhs, const region& rhs) argument
166 : lhs(lhs), rhs(rhs)
168 if (lhs.count) {
169 SpannerBase::lhs_head = lhs.rects->top + lhs
222 region lhs; member in class:android::region_operator::SpannerInner
226 SpannerInner(const region& lhs, const region& rhs) argument
[all...]
/frameworks/base/libs/hwui/
H A DTextDropShadowCache.cpp53 int ShadowText::compare(const ShadowText& lhs, const ShadowText& rhs) { argument
54 int deltaInt = int(lhs.len) - int(rhs.len);
57 deltaInt = lhs.flags - rhs.flags;
60 if (lhs.radius < rhs.radius) return -1;
61 if (lhs.radius > rhs.radius) return +1;
63 if (lhs.typeface < rhs.typeface) return -1;
64 if (lhs.typeface > rhs.typeface) return +1;
66 if (lhs.textSize < rhs.textSize) return -1;
67 if (lhs.textSize > rhs.textSize) return +1;
69 if (lhs
[all...]
H A DLayerCache.h112 static int compare(const LayerEntry& lhs, const LayerEntry& rhs);
122 friend inline int strictly_order_type(const LayerEntry& lhs, const LayerEntry& rhs) { argument
123 return LayerEntry::compare(lhs, rhs) < 0;
126 friend inline int compare_type(const LayerEntry& lhs, const LayerEntry& rhs) { argument
127 return LayerEntry::compare(lhs, rhs);
H A DRenderBufferCache.h93 static int compare(const RenderBufferEntry& lhs, const RenderBufferEntry& rhs);
103 friend inline int strictly_order_type(const RenderBufferEntry& lhs, argument
105 return RenderBufferEntry::compare(lhs, rhs) < 0;
108 friend inline int compare_type(const RenderBufferEntry& lhs, argument
110 return RenderBufferEntry::compare(lhs, rhs);
H A DPatchCache.h107 static int compare(const PatchDescription& lhs, const PatchDescription& rhs);
117 friend inline int strictly_order_type(const PatchDescription& lhs, argument
119 return PatchDescription::compare(lhs, rhs) < 0;
122 friend inline int compare_type(const PatchDescription& lhs, argument
124 return PatchDescription::compare(lhs, rhs);
H A DTextDropShadowCache.h64 static int compare(const ShadowText& lhs, const ShadowText& rhs);
103 inline int strictly_order_type(const ShadowText& lhs, const ShadowText& rhs) { argument
104 return ShadowText::compare(lhs, rhs) < 0;
107 inline int compare_type(const ShadowText& lhs, const ShadowText& rhs) { argument
108 return ShadowText::compare(lhs, rhs);
H A DRenderBufferCache.cpp80 const RenderBufferCache::RenderBufferEntry& lhs,
82 int deltaInt = int(lhs.mWidth) - int(rhs.mWidth);
85 deltaInt = int(lhs.mHeight) - int(rhs.mHeight);
88 return int(lhs.mFormat) - int(rhs.mFormat);
79 compare( const RenderBufferCache::RenderBufferEntry& lhs, const RenderBufferCache::RenderBufferEntry& rhs) argument
/frameworks/rs/
H A DrsMatrix2x2.cpp44 void Matrix2x2::loadMultiply(const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs) { argument
53 ri0 += ((const Matrix2x2 *)lhs)->get(j, 0) * rhs_ij;
54 ri1 += ((const Matrix2x2 *)lhs)->get(j, 1) * rhs_ij;
H A DrsMatrix3x3.cpp48 void Matrix3x3::loadMultiply(const rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs) { argument
58 ri0 += ((const Matrix3x3 *)lhs)->get(j, 0) * rhs_ij;
59 ri1 += ((const Matrix3x3 *)lhs)->get(j, 1) * rhs_ij;
60 ri2 += ((const Matrix3x3 *)lhs)->get(j, 2) * rhs_ij;
H A DrsMatrix2x2.h40 void loadMultiply(const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs);
H A DrsMatrix3x3.h40 void loadMultiply(const rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs);
/frameworks/av/media/img_utils/src/
H A DSortedEntryVector.cpp37 int SortedEntryVector::do_compare(const void* lhs, const void* rhs) const { argument
38 const sp<TiffEntry>* lEntry = reinterpret_cast<const sp<TiffEntry>*>(lhs);
/frameworks/opt/colorpicker/src/com/android/colorpicker/
H A DHsvColorComparator.java29 public int compare(Integer lhs, Integer rhs) { argument
31 Color.colorToHSV(lhs, hsv);
/frameworks/native/services/sensorservice/
H A Dvec.h50 vec<TYPE, SIZE>& lhs, const VEC<TYPE, S>& rhs) {
54 lhs[i] = rhs[i];
56 lhs[i] = 0;
57 return lhs;
68 const VLHS<TYPE, SIZE>& lhs,
72 r[i] = lhs[i] + rhs[i];
83 const VLHS<TYPE, SIZE>& lhs,
87 r[i] = lhs[i] - rhs[i];
97 const VEC<TYPE, SIZE>& lhs,
101 r[i] = lhs[
49 doAssign( vec<TYPE, SIZE>& lhs, const VEC<TYPE, S>& rhs) argument
67 doAdd( const VLHS<TYPE, SIZE>& lhs, const VRHS<TYPE, SIZE>& rhs) argument
82 doSub( const VLHS<TYPE, SIZE>& lhs, const VRHS<TYPE, SIZE>& rhs) argument
96 doMulScalar( const VEC<TYPE, SIZE>& lhs, typename TypeTraits<TYPE>::ParameterType rhs) argument
110 doScalarMul( typename TypeTraits<TYPE>::ParameterType lhs, const VEC<TYPE, SIZE>& rhs) argument
145 operator +( const VLHS<TYPE, SIZE>& lhs, const VRHS<TYPE, SIZE>& rhs) argument
157 operator -( const VLHS<TYPE, SIZE>& lhs, const VRHS<TYPE, SIZE>& rhs) argument
168 operator *( const VEC<TYPE, SIZE>& lhs, typename TypeTraits<TYPE>::ParameterType rhs) argument
179 operator *( typename TypeTraits<TYPE>::ParameterType lhs, const VEC<TYPE, SIZE>& rhs) argument
192 dot_product( const VLHS<TYPE, SIZE>& lhs, const VRHS<TYPE, SIZE>& rhs) argument
245 operator -(const vec<TYPE, SIZE>& lhs) argument
385 operator +(const vec& lhs, const vec& rhs) argument
388 operator -(const vec& lhs, const vec& rhs) argument
391 operator *(const vec& lhs, pTYPE v) argument
397 dot_product(const vec& lhs, const vec& rhs) argument
[all...]
H A Dmat.h34 mat<TYPE, C, R>& lhs,
38 lhs[i][j] = (i==j) ? rhs : 0;
39 return lhs;
44 const mat<TYPE, D, R>& lhs,
52 v += lhs[k][r] * rhs[c][k];
62 const mat<TYPE, D, R>& lhs,
69 v += lhs[k][r] * rhs[k];
78 const vec<TYPE, R>& lhs,
84 res[c][r] = lhs[r] * rhs[c][0];
172 friend inline mat PURE operator + (const mat& lhs, cons argument
33 doAssign( mat<TYPE, C, R>& lhs, typename TypeTraits<TYPE>::ParameterType rhs) argument
43 doMul( const mat<TYPE, D, R>& lhs, const mat<TYPE, C, D>& rhs) argument
61 doMul( const mat<TYPE, D, R>& lhs, const vec<TYPE, D>& rhs) argument
77 doMul( const vec<TYPE, R>& lhs, const mat<TYPE, C, 1>& rhs) argument
177 operator -(const mat& lhs, const mat& rhs) argument
185 operator *( const mat<TYPE, D, R>& lhs, const mat<TYPE, C, D>& rhs) argument
192 operator *( const mat& lhs, const vec<TYPE, C>& rhs) argument
198 operator *( const vec<TYPE, R>& lhs, const mat<TYPE, C, 1>& rhs) argument
204 operator *(const mat& lhs, pTYPE v) argument
231 operator <<( const column_builder<PREV_COLUMN>& lhs, const vec<TYPE, R>& rhs) argument
240 operator <<( const column_builder<C-2>& lhs, const vec<TYPE, R>& rhs) argument
[all...]
/frameworks/av/media/img_utils/include/img_utils/
H A DSortedEntryVector.h46 virtual int do_compare(const void* lhs, const void* rhs) const;
/frameworks/native/include/ui/
H A DTMatHelpers.h111 MATRIX_R PURE multiply(const MATRIX_A& lhs, const MATRIX_B& rhs) { argument
113 // lhs : D columns, R rows
123 res[r] = lhs * rhs[r];
191 BASE<T>& lhs(static_cast< BASE<T>& >(*this));
192 for (size_t r=0 ; r<lhs.row_size() ; r++) {
193 lhs[r] *= v;
195 return lhs;
200 BASE<T>& lhs(static_cast< BASE<T>& >(*this));
201 for (size_t r=0 ; r<lhs.row_size() ; r++) {
202 lhs[
209 operator *(const BASE<T>& lhs, const BASE<U>& rhs) argument
[all...]
/frameworks/rs/driver/runtime/
H A Drs_matrix.c240 rsMatrixLoadMultiply(rs_matrix4x4 *ret, const rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs) { argument
251 ri0 += rsMatrixGet(lhs, j, 0) * rhs_ij;
252 ri1 += rsMatrixGet(lhs, j, 1) * rhs_ij;
253 ri2 += rsMatrixGet(lhs, j, 2) * rhs_ij;
254 ri3 += rsMatrixGet(lhs, j, 3) * rhs_ij;
265 rsMatrixMultiply(rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs) { argument
266 rsMatrixLoadMultiply(lhs, lhs, rhs);
270 rsMatrixLoadMultiply(rs_matrix3x3 *ret, const rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs) { argument
280 ri0 += rsMatrixGet(lhs,
292 rsMatrixMultiply(rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs) argument
297 rsMatrixLoadMultiply(rs_matrix2x2 *ret, const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs) argument
316 rsMatrixMultiply(rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs) argument
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
H A DMediaSizeUtils.java81 public int compare(MediaSize lhs, MediaSize rhs) { argument
83 String lhsStandard = getStandardForMediaSize(mContext, lhs);
100 return lhs.getLabel(mContext.getPackageManager()).
/frameworks/base/rs/java/android/renderscript/
H A DMatrix2f.java130 * @param lhs left hand side matrix
133 public void loadMultiply(Matrix2f lhs, Matrix2f rhs) { argument
139 ri0 += lhs.get(j,0) * rhs_ij;
140 ri1 += lhs.get(j,1) * rhs_ij;
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DMatrix2f.java133 * @param lhs left hand side matrix
136 public void loadMultiply(Matrix2f lhs, Matrix2f rhs) { argument
142 ri0 += lhs.get(j,0) * rhs_ij;
143 ri1 += lhs.get(j,1) * rhs_ij;
/frameworks/compile/mclinker/include/mcld/Support/
H A DFileSystem.h65 inline bool operator==(const FileStatus& rhs, const FileStatus& lhs) { argument
66 return rhs.type() == lhs.type();
69 inline bool operator!=(const FileStatus& rhs, const FileStatus& lhs ) {
70 return !(rhs == lhs);

Completed in 574 milliseconds

12345