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

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/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/img_utils/include/img_utils/
H A DSortedEntryVector.h46 virtual int do_compare(const void* lhs, const void* rhs) const;
/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/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/base/core/java/android/content/pm/
H A DPackageParser.java626 public int compare(String lhs, String rhs) { argument
627 if (lhs == null) {
632 return lhs.compareTo(rhs);
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCameraMetadataNative.java166 Key<?> lhs;
169 lhs = ((CaptureResult.Key)o).getNativeKey();
171 lhs = ((CaptureRequest.Key)o).getNativeKey();
173 lhs = ((CameraCharacteristics.Key)o).getNativeKey();
175 lhs = (Key<?>)o;
180 return mName.equals(lhs.mName) && mTypeReference.equals(lhs.mTypeReference);
/frameworks/base/core/java/android/os/
H A DBatteryStats.java2896 public int compare(TimerEntry lhs, TimerEntry rhs) {
2897 long lhsTime = lhs.mTime;
H A DFileUtils.java342 public int compare(File lhs, File rhs) {
343 return (int) (rhs.lastModified() - lhs.lastModified());
/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 DProcessStats.java2567 public int compare(ProcessState lhs, ProcessState rhs) {
2568 if (lhs.mTmpTotalTime < rhs.mTmpTotalTime) {
2570 } else if (lhs.mTmpTotalTime > rhs.mTmpTotalTime) {
H A DResolverActivity.java1178 public int compare(ResolveInfo lhs, ResolveInfo rhs) { argument
1180 if (lhs.targetUserId != UserHandle.USER_CURRENT) {
1188 final boolean lhsSpecific = isSpecificUriMatch(lhs.match);
1198 getPackageTimeSpent(lhs.activityInfo.packageName);
1205 CharSequence sa = lhs.loadLabel(mPm);
1206 if (sa == null) sa = lhs.activityInfo.name;
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsHelper.java359 public int compare(BatterySipper lhs, BatterySipper rhs) {
360 if (lhs.mobilemspp < rhs.mobilemspp) {
362 } else if (lhs.mobilemspp > rhs.mobilemspp) {
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp471 void multiplyMM(float* r, const float* lhs, const float* rhs) argument
475 register float ri0 = lhs[ I(0,0) ] * rhs_i0;
476 register float ri1 = lhs[ I(0,1) ] * rhs_i0;
477 register float ri2 = lhs[ I(0,2) ] * rhs_i0;
478 register float ri3 = lhs[ I(0,3) ] * rhs_i0;
481 ri0 += lhs[ I(j,0) ] * rhs_ij;
482 ri1 += lhs[ I(j,1) ] * rhs_ij;
483 ri2 += lhs[ I(j,2) ] * rhs_ij;
484 ri3 += lhs[ I(j,3) ] * rhs_ij;
500 FloatArrayHelper lhs(en
519 multiplyMV(float* r, const float* lhs, const float* rhs) argument
[all...]
/frameworks/base/libs/hwui/
H A DDeferredDisplayList.cpp193 const DeferredDisplayState* lhs = state; local
196 if (!MathUtils::areEqual(lhs->mAlpha, rhs->mAlpha)) return false;
200 if (lhs->mRoundRectClipState != rhs->mRoundRectClipState) return false;
250 const DrawModifiers& lhsMod = lhs->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.cpp73 int LayerCache::LayerEntry::compare(const LayerCache::LayerEntry& lhs, argument
75 int deltaInt = int(lhs.mWidth) - int(rhs.mWidth);
78 return int(lhs.mHeight) - int(rhs.mHeight);
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.cpp78 int PatchCache::PatchDescription::compare(const PatchCache::PatchDescription& lhs, argument
80 return memcmp(&lhs, &rhs, sizeof(PatchDescription));
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);

Completed in 387 milliseconds

12345