Searched defs:rhs (Results 1 - 25 of 87) sorted by path

1234

/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;
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.cpp714 bool operator<(Vector<uint8_t> const &lhs, Vector<uint8_t> const &rhs) { argument
715 return lhs.size() < rhs.size() || (memcmp(lhs.array(), rhs.array(), lhs.size()) < 0);
/frameworks/av/media/libmediaplayerservice/
H A DCrypto.cpp37 static bool operator<(const Vector<uint8_t> &lhs, const Vector<uint8_t> &rhs) { argument
38 if (lhs.size() < rhs.size()) {
40 } else if (lhs.size() > rhs.size()) {
44 return memcmp((void *)lhs.array(), (void *)rhs.array(), rhs.size()) < 0;
H A DDrm.cpp50 static bool operator<(const Vector<uint8_t> &lhs, const Vector<uint8_t> &rhs) { argument
51 if (lhs.size() < rhs.size()) {
53 } else if (lhs.size() > rhs.size()) {
57 return memcmp((void *)lhs.array(), (void *)rhs.array(), rhs.size()) < 0;
H A DVideoFrameScheduler.cpp39 static int compare(const T *lhs, const T *rhs) { argument
40 if (*lhs < *rhs) {
42 } else if (*lhs > *rhs) {
/frameworks/av/services/audioflinger/
H A DFastMixerDumpState.h37 FastTrackUnderruns& operator=(const FastTrackUnderruns& rhs) argument
38 { if (this != &rhs) mAtomic = rhs.mAtomic; return *this; }
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java626 public int compare(String lhs, String rhs) { argument
629 } else if (rhs == null) {
632 return lhs.compareTo(rhs);
/frameworks/base/core/java/android/speech/tts/
H A DTtsEngines.java307 public int compare(EngineInfo lhs, EngineInfo rhs) { argument
308 if (lhs.system && !rhs.system) {
310 } else if (rhs.system && !lhs.system) {
318 return rhs.priority - lhs.priority;
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialog.java269 public int compare(MediaRouter.RouteInfo lhs, MediaRouter.RouteInfo rhs) { argument
270 return lhs.getName().toString().compareTo(rhs.getName().toString());
H A DResolverActivity.java1178 public int compare(ResolveInfo lhs, ResolveInfo rhs) { argument
1189 final boolean rhsSpecific = isSpecificUriMatch(rhs.match);
1197 getPackageTimeSpent(rhs.activityInfo.packageName) -
1207 CharSequence sb = rhs.loadLabel(mPm);
1208 if (sb == null) sb = rhs.activityInfo.name;
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp471 void multiplyMM(float* r, const float* lhs, const float* rhs) argument
474 register const float rhs_i0 = rhs[ I(i,0) ];
480 register const float rhs_ij = rhs[ I(i,j) ];
501 FloatArrayHelper rhs(env, rhs_ref, rhsOffset, 16);
503 bool checkOK = resultMat.check() && lhs.check() && rhs.check();
511 rhs.bind();
513 multiplyMM(resultMat.mData, lhs.mData, rhs.mData);
519 void multiplyMV(float* r, const float* lhs, const float* rhs) argument
521 mx4transform(rhs[0], rhs[
[all...]
/frameworks/base/include/androidfw/
H A DTypeWrappers.h30 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 DDeferredDisplayList.cpp194 const DeferredDisplayState* rhs = mOps[0].state; local
196 if (!MathUtils::areEqual(lhs->mAlpha, rhs->mAlpha)) return false;
200 if (lhs->mRoundRectClipState != rhs->mRoundRectClipState) return false;
251 const DrawModifiers& rhsMod = rhs->mDrawModifiers;
H A DGradientCache.cpp51 int GradientCacheEntry::compare(const GradientCacheEntry& lhs, const GradientCacheEntry& rhs) { argument
52 int deltaInt = int(lhs.count) - int(rhs.count);
55 deltaInt = memcmp(lhs.colors, rhs.colors, lhs.count * sizeof(uint32_t));
58 return memcmp(lhs.positions, rhs.positions, lhs.count * sizeof(float));
H A DGradientCache.h66 static int compare(const GradientCacheEntry& lhs, const GradientCacheEntry& rhs);
94 inline int strictly_order_type(const GradientCacheEntry& lhs, const GradientCacheEntry& rhs) { argument
95 return GradientCacheEntry::compare(lhs, rhs) < 0;
98 inline int compare_type(const GradientCacheEntry& lhs, const GradientCacheEntry& rhs) { argument
99 return GradientCacheEntry::compare(lhs, rhs);
H A DLayerCache.cpp74 const LayerCache::LayerEntry& rhs) {
75 int deltaInt = int(lhs.mWidth) - int(rhs.mWidth);
78 return int(lhs.mHeight) - int(rhs.mHeight);
73 compare(const LayerCache::LayerEntry& lhs, const LayerCache::LayerEntry& rhs) argument
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 DPatchCache.cpp79 const PatchCache::PatchDescription& rhs) {
80 return memcmp(&lhs, &rhs, sizeof(PatchDescription));
78 compare(const PatchCache::PatchDescription& lhs, const PatchCache::PatchDescription& rhs) argument
H A DPatchCache.h107 static int compare(const PatchDescription& lhs, const PatchDescription& rhs);
118 const PatchDescription& rhs) {
119 return PatchDescription::compare(lhs, rhs) < 0;
123 const PatchDescription& rhs) {
124 return PatchDescription::compare(lhs, rhs);
117 strictly_order_type(const PatchDescription& lhs, const PatchDescription& rhs) argument
122 compare_type(const PatchDescription& lhs, const PatchDescription& rhs) argument
H A DRenderBufferCache.cpp81 const RenderBufferCache::RenderBufferEntry& rhs) {
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
H A DRenderBufferCache.h93 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
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.italicStyle < rhs
[all...]
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);
/frameworks/base/libs/hwui/font/
H A DFont.cpp91 const Font::FontDescription& rhs) {
92 int deltaInt = int(lhs.mFontId) - int(rhs.mFontId);
95 if (lhs.mFontSize < rhs.mFontSize) return -1;
96 if (lhs.mFontSize > rhs.mFontSize) return +1;
98 if (lhs.mItalicStyle < rhs.mItalicStyle) return -1;
99 if (lhs.mItalicStyle > rhs.mItalicStyle) return +1;
101 deltaInt = int(lhs.mFlags) - int(rhs.mFlags);
104 if (lhs.mScaleX < rhs.mScaleX) return -1;
105 if (lhs.mScaleX > rhs.mScaleX) return +1;
107 deltaInt = int(lhs.mStyle) - int(rhs
90 compare(const Font::FontDescription& lhs, const Font::FontDescription& rhs) argument
[all...]
H A DFont.h57 static int compare(const FontDescription& lhs, const FontDescription& rhs);
157 const Font::FontDescription& rhs) {
158 return Font::FontDescription::compare(lhs, rhs) < 0;
161 inline int compare_type(const Font::FontDescription& lhs, const Font::FontDescription& rhs) { argument
162 return Font::FontDescription::compare(lhs, rhs);
156 strictly_order_type(const Font::FontDescription& lhs, const Font::FontDescription& rhs) argument

Completed in 5484 milliseconds

1234