/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | Utils.cpp | 21 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;
|
/frameworks/base/tools/aapt2/ |
H A D | XliffXmlPullParser.h | 34 XliffXmlPullParser(const XliffXmlPullParser& rhs) = delete; member in class:aapt::XliffXmlPullParser
|
H A D | Logger.h | 31 Log(const Log& rhs) = delete; member in struct:aapt::Log
|
H A D | Maybe_test.cpp | 33 Dummy(const Dummy& rhs) { argument 35 if (rhs.data) { 37 *data = *rhs.data; 40 << "} from Dummy{0x" << (const void*) &rhs 44 Dummy(Dummy&& rhs) { argument 45 data = rhs.data; 46 rhs.data = nullptr; 48 << "} from Dummy{0x" << (const void*) &rhs 52 Dummy& operator=(const Dummy& rhs) { argument 56 if (rhs 66 operator =(Dummy&& rhs) argument [all...] |
H A D | Source.h | 84 inline bool operator<(const SourceLine& lhs, const SourceLine& rhs) { argument 85 return std::tie(lhs.path, lhs.line) < std::tie(rhs.path, rhs.line);
|
H A D | Maybe.h | 41 Maybe(const Maybe& rhs); 44 Maybe(const Maybe<U>& rhs); 46 Maybe(Maybe&& rhs); 49 Maybe(Maybe<U>&& rhs); 51 Maybe& operator=(const Maybe& rhs); 54 Maybe& operator=(const Maybe<U>& rhs); 56 Maybe& operator=(Maybe&& rhs); 59 Maybe& operator=(Maybe<U>&& rhs); 94 Maybe& copy(const Maybe<U>& rhs); 97 Maybe& move(Maybe<U>&& rhs); 119 Maybe(const Maybe& rhs) argument 128 Maybe(const Maybe<U>& rhs) argument 136 Maybe(Maybe&& rhs) argument 149 Maybe(Maybe<U>&& rhs) argument 161 operator =(const Maybe& rhs) argument 168 operator =(const Maybe<U>& rhs) argument 174 copy(const Maybe<U>& rhs) argument 196 operator =(Maybe&& rhs) argument 203 operator =(Maybe<U>&& rhs) argument 209 move(Maybe<U>&& rhs) argument [all...] |
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
H A D | HsvColorComparator.java | 29 public int compare(Integer lhs, Integer rhs) { argument 37 Color.colorToHSV(rhs, hsv2);
|
/frameworks/base/tools/split-select/ |
H A D | TestRules.h | 32 AndRule& add(const Rule& rhs) { argument 33 subrules.add(new Rule(rhs)); 43 OrRule& add(const Rule& rhs) { argument 44 subrules.add(new Rule(rhs));
|
H A D | Rule.cpp | 32 Rule::Rule(const Rule& rhs) argument 34 , op(rhs.op) 35 , key(rhs.key) 36 , negate(rhs.negate) 37 , stringArgs(rhs.stringArgs) 38 , longArgs(rhs.longArgs) 39 , subrules(rhs.subrules) {
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
H A D | MediaSizeUtils.java | 81 public int compare(MediaSize lhs, MediaSize rhs) { argument 84 String rhsStandard = getStandardForMediaSize(mContext, rhs); 101 compareTo(rhs.getLabel(mContext.getPackageManager()));
|
/frameworks/native/cmds/dumpsys/ |
H A D | dumpsys.cpp | 24 static int sort_func(const String16* lhs, const String16* rhs) argument 26 return lhs->compare(*rhs);
|
/frameworks/native/include/ui/ |
H A 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) { argument 68 operator -=(const Point& rhs) argument [all...] |
/frameworks/native/libs/ui/tests/ |
H A D | Region_test.cpp | 28 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/rs/ |
H A D | rsMatrix2x2.cpp | 44 void Matrix2x2::loadMultiply(const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs) { argument 52 const float rhs_ij = ((const Matrix2x2 *)rhs)->get(i, j);
|
H A D | rsMatrix2x2.h | 40 void loadMultiply(const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs); 44 void multiply(const rs_matrix2x2 *rhs) { argument 45 loadMultiply(this, rhs);
|
H A D | rsMatrix3x3.cpp | 48 void Matrix3x3::loadMultiply(const rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs) { argument 57 const float rhs_ij = ((const Matrix3x3 *)rhs)->get(i, j);
|
H A D | rsMatrix3x3.h | 40 void loadMultiply(const rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs); 44 void multiply(const rs_matrix3x3 *rhs) { argument 45 loadMultiply(this, rhs);
|
H A D | rsMatrix4x4.h | 45 void loadMultiply(const rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs); 61 void multiply(const rs_matrix4x4 *rhs) { argument 62 loadMultiply(this, rhs);
|
/frameworks/base/include/androidfw/ |
H A D | TypeWrappers.h | 30 iterator& operator=(const iterator& rhs) { argument 31 mTypeVariant = rhs.mTypeVariant; 32 mIndex = rhs.mIndex; 35 bool operator==(const iterator& rhs) const { 36 return mTypeVariant == rhs.mTypeVariant && mIndex == rhs.mIndex; 39 bool operator!=(const iterator& rhs) const { 40 return mTypeVariant != rhs.mTypeVariant || mIndex != rhs.mIndex;
|
/frameworks/base/libs/hwui/ |
H A D | LayerCache.h | 111 static int compare(const LayerEntry& lhs, const LayerEntry& rhs); 121 friend inline int strictly_order_type(const LayerEntry& lhs, const LayerEntry& rhs) { argument 122 return LayerEntry::compare(lhs, rhs) < 0; 125 friend inline int compare_type(const LayerEntry& lhs, const LayerEntry& rhs) { argument 126 return LayerEntry::compare(lhs, rhs);
|
H A D | RenderBufferCache.h | 93 static int compare(const RenderBufferEntry& lhs, const RenderBufferEntry& rhs); 104 const RenderBufferEntry& rhs) { 105 return RenderBufferEntry::compare(lhs, rhs) < 0; 109 const RenderBufferEntry& rhs) { 110 return RenderBufferEntry::compare(lhs, rhs); 103 strictly_order_type(const RenderBufferEntry& lhs, const RenderBufferEntry& rhs) argument 108 compare_type(const RenderBufferEntry& lhs, const RenderBufferEntry& rhs) argument
|
/frameworks/base/libs/hwui/utils/ |
H 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 override; 117 inline SortedList<TYPE>::SortedList(const SortedList<TYPE>& rhs): SortedListImpl(rhs) { argument 125 inline SortedList<TYPE>& SortedList<TYPE>::operator =(const SortedList<TYPE>& rhs) { argument 126 SortedListImpl::operator =(rhs); 132 const SortedList<TYPE>& rhs) const { 133 SortedListImpl::operator =(rhs); [all...] |
/frameworks/base/rs/java/android/renderscript/ |
H A D | Matrix2f.java | 131 * @param rhs right hand side matrix 133 public void loadMultiply(Matrix2f lhs, Matrix2f rhs) { argument 138 float rhs_ij = rhs.get(i,j); 150 * @param rhs right hand side to multiply by 152 public void multiply(Matrix2f rhs) { argument 154 tmp.loadMultiply(this, rhs);
|
H A D | Matrix3f.java | 205 * @param rhs right hand side matrix 207 public void loadMultiply(Matrix3f lhs, Matrix3f rhs) { argument 213 float rhs_ij = rhs.get(i,j); 227 * @param rhs right hand side to multiply by 229 public void multiply(Matrix3f rhs) { argument 231 tmp.loadMultiply(this, rhs);
|
/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/ |
H A D | CameraTooTest.java | 43 private <T> void assertComparatorEq(T lhs, T rhs, Comparator<T> rel) { argument 44 assertEquals(String.format("%s should be equal to %s", lhs, rhs), rel.compare(lhs, rhs), 0); 45 assertEquals(String.format("%s should be equal to %s (reverse check)", lhs, rhs), 46 rel.compare(rhs, lhs), 0); 49 private <T> void assertComparatorLt(T lhs, T rhs, Comparator<T> rel) { argument 50 assertTrue(String.format("%s should be less than %s", lhs, rhs), rel.compare(lhs, rhs) < 0); 51 assertTrue(String.format("%s should be less than %s (reverse check)", lhs, rhs), 52 rel.compare(rhs, lh [all...] |