Searched refs:rhs (Results 1 - 25 of 144) sorted by path

123456

/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 {
39 const sp<TiffEntry>* rEntry = reinterpret_cast<const sp<TiffEntry>*>(rhs);
/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/media/libstagefright/include/
H A DAACEncoder.h73 AACEncoder& operator=(const AACEncoder &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/av/services/camera/libcameraservice/utils/
H A DCameraTraces.h58 CameraTraces(CameraTraces& rhs);
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h65 bool operator < (const Frame& rhs) const {
66 return name < rhs.name;
/frameworks/base/cmds/idmap/
H A Dscan.cpp24 bool operator<(Overlay const& rhs) const
27 return rhs.priority < priority;
/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/hardware/location/
H A DGeofenceHardwareImpl.java846 Reaper rhs = (Reaper) obj;
847 return binderEquals(rhs.mCallback, mCallback) &&
848 binderEquals(rhs.mMonitorCallback, mMonitorCallback) &&
849 rhs.mMonitoringType == mMonitoringType;
/frameworks/base/core/java/android/os/
H A DBatteryStats.java2896 public int compare(TimerEntry lhs, TimerEntry rhs) {
2898 long rhsTime = rhs.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
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/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
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 DAssetDir.h100 bool operator< (const FileInfo& rhs) const {
101 return mFileName < rhs.mFileName;
105 bool operator== (const FileInfo& rhs) const {
106 return mFileName == rhs.mFileName;
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;

Completed in 2863 milliseconds

123456