Searched refs:lhs (Results 26 - 50 of 110) sorted by last modified time

12345

/frameworks/native/cmds/flatland/
H A DMain.cpp586 static int cmpDouble(const double* lhs, const double* rhs) { argument
587 if (*lhs < *rhs) {
589 } else if (*rhs < *lhs) {
/frameworks/native/cmds/installd/
H A Dutils.c834 const cache_file_t *lhs = *(const cache_file_t**)lhsP; local
836 return lhs->modTime < rhs->modTime ? -1 : (lhs->modTime > rhs->modTime ? 1 : 0);
/frameworks/native/include/gui/
H A DSurfaceControl.h55 const sp<SurfaceControl>& lhs, const sp<SurfaceControl>& 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/native/include/ui/
H A DRegion.h161 const Region& lhs, const Region& rhs, int dx, int dy);
163 const Region& lhs, const Rect& rhs, int dx, int dy);
166 const Region& lhs, const Region& rhs);
168 const Region& lhs, const Rect& rhs);
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/native/libs/gui/
H A DSurfaceComposerClient.cpp98 int compare_type(const ComposerState& lhs, const ComposerState& rhs) { argument
99 if (lhs.client < rhs.client) return -1;
100 if (lhs.client > rhs.client) return 1;
101 if (lhs.state.surface < rhs.state.surface) return -1;
102 if (lhs.state.surface > rhs.state.surface) return 1;
107 int compare_type(const DisplayState& lhs, const DisplayState& rhs) { argument
108 return compare_type(lhs.token, rhs.token);
H A DSurfaceControl.cpp85 const sp<SurfaceControl>& lhs, const sp<SurfaceControl>& rhs)
87 if (lhs == 0 || rhs == 0)
89 return lhs->mHandle == rhs->mHandle;
84 isSameSurface( const sp<SurfaceControl>& lhs, const sp<SurfaceControl>& rhs) argument
/frameworks/native/libs/ui/
H A DRegion.cpp287 Region lhs(*this);
288 boolean_operation(op, *this, lhs, r);
307 Region lhs(*this);
308 boolean_operation(op, *this, lhs, rhs);
378 Region lhs(*this);
379 boolean_operation(op, *this, lhs, rhs, dx, dy);
454 static inline T min(T rhs, T lhs) { return rhs < lhs ? rhs : lhs; } argument
456 static inline T max(T rhs, T lhs) { retur argument
559 boolean_operation(int op, Region& dst, const Region& lhs, const Region& rhs, int dx, int dy) argument
669 boolean_operation(int op, Region& dst, const Region& lhs, const Rect& rhs, int dx, int dy) argument
696 boolean_operation(int op, Region& dst, const Region& lhs, const Region& rhs) argument
702 boolean_operation(int op, Region& dst, const Region& lhs, const Rect& rhs) argument
[all...]
/frameworks/native/libs/ui/tests/
H A DRegion_test.cpp28 void checkVertTJunction(const Rect* lhs, const Rect* rhs) { argument
29 EXPECT_FALSE((rhs->right > lhs->left && rhs->right < lhs->right) ||
30 (rhs->left > lhs->left && rhs->left < lhs->right));
/frameworks/native/opengl/libagl/
H A Dcontext.h392 const matrixf_t& lhs, const matrixf_t& rhs);
H A Degl.cpp283 static Region subtract(const Rect& lhs, const Rect& rhs) { argument
286 if (!lhs.isEmpty()) {
287 if (lhs.top < rhs.top) { // top rect
288 storage->left = lhs.left;
289 storage->top = lhs.top;
290 storage->right = lhs.right;
294 const int32_t top = max(lhs.top, rhs.top);
295 const int32_t bot = min(lhs.bottom, rhs.bottom);
297 if (lhs.left < rhs.left) { // left-side rect
298 storage->left = lhs
[all...]
H A Dmatrix.cpp252 void matrixf_t::multiply(matrixf_t& r, const matrixf_t& lhs, const matrixf_t& rhs) argument
254 GLfloat const* const m = lhs.m;
724 void point2__generic(transform_t const* mx, vec4_t* lhs, vec4_t const* rhs) { argument
728 lhs->x = mla2a(rx, m[ 0], ry, m[ 4], m[12]);
729 lhs->y = mla2a(rx, m[ 1], ry, m[ 5], m[13]);
730 lhs->z = mla2a(rx, m[ 2], ry, m[ 6], m[14]);
731 lhs->w = mla2a(rx, m[ 3], ry, m[ 7], m[15]);
734 void point3__generic(transform_t const* mx, vec4_t* lhs, vec4_t const* rhs) { argument
739 lhs->x = mla3a(rx, m[ 0], ry, m[ 4], rz, m[ 8], m[12]);
740 lhs
745 point4__generic(transform_t const* mx, vec4_t* lhs, vec4_t const* rhs) argument
757 point3__mvui(transform_t const* mx, vec4_t* lhs, vec4_t const* rhs) argument
771 point4__mvui(transform_t const* mx, vec4_t* lhs, vec4_t const* rhs) argument
786 point2__nop(transform_t const*, vec4_t* lhs, vec4_t const* rhs) argument
795 point3__nop(transform_t const*, vec4_t* lhs, vec4_t const* rhs) argument
804 point4__nop(transform_t const*, vec4_t* lhs, vec4_t const* rhs) argument
[all...]
/frameworks/native/services/sensorservice/
H A DSensorService.cpp598 static int cmp(void const* lhs, void const* rhs) { argument
599 sensors_event_t const* l = static_cast<sensors_event_t const*>(lhs);
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...]
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...]
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgramCache.h102 friend inline int strictly_order_type(const Key& lhs, const Key& rhs) { argument
103 return (lhs.mKey < rhs.mKey) ? 1 : 0;
H A DRenderEngine.cpp325 EGLint lhs(v);
327 if (lhs == EGL_NONE) lhs = 0x7FFFFFFF;
329 return lhs < rhs;
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp3345 int SurfaceFlinger::LayerVector::do_compare(const void* lhs, argument
3349 const sp<Layer>& l(*reinterpret_cast<const sp<Layer>*>(lhs));
H A DSurfaceFlinger.h158 virtual int do_compare(const void* lhs, const void* rhs) const;
/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);
/frameworks/compile/slang/BitWriter_3_2/
H A DBitcodeWriter.cpp1638 static bool bitcodereader_order(const User *lhs, const User *rhs) { argument
/frameworks/base/tools/aapt/
H A DAaptAssets.h131 inline int compare_type(const AaptGroupEntry& lhs, const AaptGroupEntry& rhs) argument
133 return lhs.compare(rhs);
136 inline int strictly_order_type(const AaptGroupEntry& lhs, const AaptGroupEntry& rhs) argument
138 return compare_type(lhs, rhs) < 0;
H A DStringPool.cpp237 int StringPool::config_sort(void* state, const void* lhs, const void* rhs)
240 const entry& lhe = pool->mEntries[pool->mEntryArray[*static_cast<const size_t*>(lhs)]];
H A DStringPool.h144 static int config_sort(void* state, const void* lhs, const void* rhs);

Completed in 247 milliseconds

12345