Searched refs:rgt (Results 1 – 8 of 8) sorted by relevance
/system/libvintf/include/vintf/ |
D | Vndk.h | 63 inline bool operator==(const VndkVersionRange &lft, const VndkVersionRange &rgt) { 64 return lft.sdk == rgt.sdk && lft.vndk == rgt.vndk && 65 lft.patchMin == rgt.patchMin && lft.patchMax == rgt.patchMax; 68 inline bool operator==(const Vndk &lft, const Vndk &rgt) { 69 return lft.mVersionRange == rgt.mVersionRange && 70 lft.mLibraries == rgt.mLibraries;
|
D | Arch.h | 52 inline constexpr Arch operator|(Arch lft, Arch rgt) { 53 return static_cast<Arch>(static_cast<size_t>(lft) | static_cast<size_t>(rgt)); 57 inline Arch& operator|=(Arch& lft, Arch rgt) { 58 return (lft = lft | rgt); 62 inline constexpr bool contains(Arch lft, Arch rgt) { in contains() argument 63 return !(~static_cast<size_t>(lft) & static_cast<size_t>(rgt)); in contains()
|
D | Sepolicy.h | 54 inline bool operator==(const Sepolicy &lft, const Sepolicy &rgt) { 55 return lft.kernelSepolicyVersion() == rgt.kernelSepolicyVersion() && 56 lft.sepolicyVersions() == rgt.sepolicyVersions();
|
D | HalManifest.h | 149 friend bool operator==(const HalManifest &lft, const HalManifest &rgt);
|
/system/libvintf/ |
D | HalInterface.cpp | 25 bool operator==(const HalInterface& lft, const HalInterface& rgt) { in operator ==() argument 26 if (lft.mName != rgt.mName) return false; in operator ==() 27 if (lft.mInstances != rgt.mInstances) return false; in operator ==()
|
D | CompatibilityMatrix.cpp | 331 bool operator==(const CompatibilityMatrix &lft, const CompatibilityMatrix &rgt) { in operator ==() argument 332 return lft.mType == rgt.mType && lft.mLevel == rgt.mLevel && lft.mHals == rgt.mHals && in operator ==() 333 lft.mXmlFiles == rgt.mXmlFiles && in operator ==() 338 lft.device.mVndk == rgt.device.mVndk && in operator ==() 340 lft.device.mVendorNdk == rgt.device.mVendorNdk && in operator ==() 341 lft.device.mSystemSdk == rgt.device.mSystemSdk)) && in operator ==() 343 (lft.framework.mKernels == rgt.framework.mKernels && in operator ==() 344 lft.framework.mSepolicy == rgt.framework.mSepolicy && in operator ==() 345 lft.framework.mAvbMetaVersion == rgt.framework.mAvbMetaVersion)); in operator ==()
|
D | HalManifest.cpp | 417 bool operator==(const HalManifest &lft, const HalManifest &rgt) { in operator ==() argument 418 return lft.mType == rgt.mType && lft.mLevel == rgt.mLevel && lft.mHals == rgt.mHals && in operator ==() 419 lft.mXmlFiles == rgt.mXmlFiles && in operator ==() 421 (lft.device.mSepolicyVersion == rgt.device.mSepolicyVersion && in operator ==() 422 lft.device.mKernel == rgt.device.mKernel)) && in operator ==() 427 lft.framework.mVndks == rgt.framework.mVndks && in operator ==() 429 lft.framework.mVendorNdks == rgt.framework.mVendorNdks && in operator ==() 430 lft.framework.mSystemSdk == rgt.framework.mSystemSdk)); in operator ==()
|
/system/tools/hidl/ |
D | ConstantExpression.cpp | 72 ScalarType::Kind rgt) { in usualArithmeticConversion() argument 73 CHECK(isSupported(lft) && isSupported(rgt)); in usualArithmeticConversion() 75 if(lft == rgt) return lft; // easy case in usualArithmeticConversion() 76 if(lft == SK(BOOL)) return rgt; in usualArithmeticConversion() 77 if(rgt == SK(BOOL)) return lft; in usualArithmeticConversion() 80 bool isRgtSigned = (rgt == SK(INT8)) || (rgt == SK(INT16)) in usualArithmeticConversion() 81 || (rgt == SK(INT32)) || (rgt == SK(INT64)); in usualArithmeticConversion() 82 if(isLftSigned == isRgtSigned) return lft < rgt ? rgt : lft; in usualArithmeticConversion() 83 ScalarType::Kind unsignedRank = isLftSigned ? rgt : lft; in usualArithmeticConversion() 84 ScalarType::Kind signedRank = isLftSigned ? lft : rgt; in usualArithmeticConversion() [all …]
|