/frameworks/native/libs/renderengine/include/renderengine/ |
D | LayerSettings.h | 158 static inline bool operator==(const Buffer& lhs, const Buffer& rhs) { 159 return lhs.buffer == rhs.buffer && lhs.fence == rhs.fence && 160 lhs.textureName == rhs.textureName && 161 lhs.useTextureFiltering == rhs.useTextureFiltering && 162 lhs.textureTransform == rhs.textureTransform && 163 lhs.usePremultipliedAlpha == rhs.usePremultipliedAlpha && 164 lhs.isOpaque == rhs.isOpaque && lhs.isY410BT2020 == rhs.isY410BT2020 && 165 lhs.maxMasteringLuminance == rhs.maxMasteringLuminance && 166 lhs.maxContentLuminance == rhs.maxContentLuminance; 169 static inline bool operator==(const Geometry& lhs, const Geometry& rhs) { [all …]
|
D | DisplaySettings.h | 65 static inline bool operator==(const DisplaySettings& lhs, const DisplaySettings& rhs) { 66 return lhs.physicalDisplay == rhs.physicalDisplay && lhs.clip == rhs.clip && 67 lhs.maxLuminance == rhs.maxLuminance && lhs.outputDataspace == rhs.outputDataspace && 68 lhs.colorTransform == rhs.colorTransform && 69 lhs.clearRegion.hasSameRects(rhs.clearRegion) && lhs.orientation == rhs.orientation;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | ClientCompositionRequestCache.cpp | 33 inline bool equalIgnoringSource(const renderengine::LayerSettings& lhs, in equalIgnoringSource() argument 35 return lhs.geometry == rhs.geometry && lhs.alpha == rhs.alpha && in equalIgnoringSource() 36 lhs.sourceDataspace == rhs.sourceDataspace && in equalIgnoringSource() 37 lhs.colorTransform == rhs.colorTransform && in equalIgnoringSource() 38 lhs.disableBlending == rhs.disableBlending && lhs.shadow == rhs.shadow && in equalIgnoringSource() 39 lhs.backgroundBlurRadius == rhs.backgroundBlurRadius; in equalIgnoringSource() 42 inline bool equalIgnoringBuffer(const renderengine::Buffer& lhs, const renderengine::Buffer& rhs) { in equalIgnoringBuffer() argument 43 return lhs.textureName == rhs.textureName && in equalIgnoringBuffer() 44 lhs.useTextureFiltering == rhs.useTextureFiltering && in equalIgnoringBuffer() 45 lhs.textureTransform == rhs.textureTransform && in equalIgnoringBuffer() [all …]
|
/frameworks/base/tools/aapt2/ |
D | Resource.h | 257 inline bool operator<(const ResourceId& lhs, const ResourceId& rhs) { 258 return lhs.id < rhs.id; 261 inline bool operator>(const ResourceId& lhs, const ResourceId& rhs) { 262 return lhs.id > rhs.id; 265 inline bool operator==(const ResourceId& lhs, const ResourceId& rhs) { 266 return lhs.id == rhs.id; 269 inline bool operator!=(const ResourceId& lhs, const ResourceId& rhs) { 270 return lhs.id != rhs.id; 311 inline bool operator<(const ResourceName& lhs, const ResourceName& rhs) { 312 return std::tie(lhs.package, lhs.type, lhs.entry) < [all …]
|
D | Source.h | 71 inline bool operator==(const Source& lhs, const Source& rhs) { 72 return lhs.path == rhs.path && lhs.line == rhs.line; 75 inline bool operator<(const Source& lhs, const Source& rhs) { 76 int cmp = lhs.path.compare(rhs.path); 79 if (lhs.line) { 81 return lhs.line.value() < rhs.line.value();
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | LayerFE.h | 148 static inline bool operator==(const LayerFE::ClientCompositionTargetSettings& lhs, 150 return lhs.clip.hasSameRects(rhs.clip) && 151 lhs.useIdentityTransform == rhs.useIdentityTransform && 152 lhs.needsFiltering == rhs.needsFiltering && lhs.isSecure == rhs.isSecure && 153 lhs.supportsProtectedContent == rhs.supportsProtectedContent && 154 lhs.clearRegion.hasSameRects(rhs.clearRegion) && lhs.viewport == rhs.viewport && 155 lhs.dataspace == rhs.dataspace && 156 lhs.realContentIsVisible == rhs.realContentIsVisible && 157 lhs.clearContent == rhs.clearContent; 160 static inline bool operator==(const LayerFE::LayerSettings& lhs, [all …]
|
/frameworks/native/services/sensorservice/ |
D | vec.h | 50 vec<TYPE, SIZE>& lhs, const VEC<TYPE, S>& rhs) { in doAssign() argument 54 lhs[i] = rhs[i]; in doAssign() 56 lhs[i] = 0; in doAssign() 57 return lhs; in doAssign() 68 const VLHS<TYPE, SIZE>& lhs, in doAdd() argument 72 r[i] = lhs[i] + rhs[i]; in doAdd() 83 const VLHS<TYPE, SIZE>& lhs, in doSub() argument 87 r[i] = lhs[i] - rhs[i]; in doSub() 97 const VEC<TYPE, SIZE>& lhs, in doMulScalar() argument 101 r[i] = lhs[i] * rhs; in doMulScalar() [all …]
|
D | mat.h | 34 mat<TYPE, C, R>& lhs, in doAssign() argument 38 lhs[i][j] = (i==j) ? rhs : 0; in doAssign() 39 return lhs; in doAssign() 44 const mat<TYPE, D, R>& lhs, in doMul() argument 52 v += lhs[k][r] * rhs[c][k]; in doMul() 62 const mat<TYPE, D, R>& lhs, in doMul() argument 69 v += lhs[k][r] * rhs[k]; in doMul() 78 const vec<TYPE, R>& lhs, in doMul() argument 84 res[c][r] = lhs[r] * rhs[c][0]; in doMul() 172 friend inline mat PURE operator + (const mat& lhs, const mat& rhs) { [all …]
|
/frameworks/native/libs/ui/include_private/ui/ |
D | RegionHelper.h | 66 inline region_operator(uint32_t op, const region& lhs, const region& rhs) in region_operator() argument 67 : op_mask(op), spanner(lhs, rhs) {} in region_operator() 72 SpannerInner spannerInner(spanner.lhs, spanner.rhs); in operator() 147 region lhs; variable 151 inline Spanner(const region& _lhs, const region& _rhs) : lhs(_lhs), rhs(_rhs) { in Spanner() 152 if (lhs.count) { in Spanner() 153 SpannerBase::lhs_head = lhs.rects->top + lhs.dy; in Spanner() 154 SpannerBase::lhs_tail = lhs.rects->bottom + lhs.dy; in Spanner() 162 inline bool isDone() const { return !rhs.count && !lhs.count; } in isDone() 169 advance(lhs, SpannerBase::lhs_head, SpannerBase::lhs_tail); in next() [all …]
|
/frameworks/base/tools/aapt2/configuration/ |
D | ConfigurationParser.h | 62 inline friend bool operator==(const Locale& lhs, const Locale& rhs) { 63 return lhs.lang == rhs.lang && lhs.region == rhs.region; 69 inline friend bool operator==(const AndroidManifest& lhs, const AndroidManifest& rhs) { 87 inline friend bool operator==(const AndroidSdk& lhs, const AndroidSdk& rhs) { 88 return lhs.min_sdk_version == rhs.min_sdk_version && 89 lhs.target_sdk_version == rhs.target_sdk_version && 90 lhs.max_sdk_version == rhs.max_sdk_version && 91 lhs.manifest == rhs.manifest; 103 inline friend bool operator==(const GlTexture& lhs, const GlTexture& rhs) { 104 return lhs.name == rhs.name && lhs.texture_paths == rhs.texture_paths;
|
D | ConfigurationParser.internal.h | 87 ComparisonChain& Add(const Group<T>& groups, const Maybe<std::string>& lhs, in Add() argument 89 return Add(GetGroupOrder(groups, lhs), GetGroupOrder(groups, rhs)); in Add() 96 ComparisonChain& Add(int lhs, int rhs) { in Add() argument 98 has_result_ = (lhs != rhs); in Add() 99 result_ = (lhs < rhs); in Add() 178 bool operator()(const ConfiguredArtifact& lhs, const ConfiguredArtifact& rhs) { in operator() 184 .Add(GetMinSdk(lhs), GetMinSdk(rhs)) in operator() 188 .Add(abi_groups, lhs.abi_group, rhs.abi_group) in operator() 190 .Add(screen_density_groups, lhs.screen_density_group, rhs.screen_density_group) in operator() 191 .Add(locale_groups, lhs.locale_group, rhs.locale_group) in operator() [all …]
|
/frameworks/native/libs/gralloc/types/include/gralloctypes/ |
D | Gralloc4.h | 39 inline bool operator==(const aidl::android::hardware::graphics::common::ExtendableType& lhs, 41 return !std::strcmp(lhs.name.c_str(), rhs.name.c_str()) && lhs.value == rhs.value; 44 inline bool operator!=(const aidl::android::hardware::graphics::common::ExtendableType& lhs, 46 return !(lhs == rhs); 49 inline bool operator==(const aidl::android::hardware::graphics::common::PlaneLayoutComponent& lhs, 51 if (lhs.type.name != rhs.type.name) { 54 if (lhs.type.value != rhs.type.value) { 57 if (lhs.sizeInBits != rhs.sizeInBits) { 60 if (lhs.offsetInBits != rhs.offsetInBits) { 66 inline bool operator!=(const aidl::android::hardware::graphics::common::PlaneLayoutComponent& lhs, [all …]
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioCommonTypes.h | 32 constexpr bool operator==(const audio_attributes_t &lhs, const audio_attributes_t &rhs) 34 return lhs.usage == rhs.usage && lhs.content_type == rhs.content_type && 35 lhs.flags == rhs.flags && (std::strcmp(lhs.tags, rhs.tags) == 0); 37 constexpr bool operator!=(const audio_attributes_t &lhs, const audio_attributes_t &rhs) 39 return !(lhs==rhs);
|
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | RandomVariable.cpp | 55 RandomVariableBase::RandomVariableBase(const RandomVariableNode& lhs, const RandomVariableNode& rhs, in RandomVariableBase() argument 59 range(op->getInitRange(lhs->range, rhs == nullptr ? RandomVariableRange(0) : rhs->range)), in RandomVariableBase() 61 parent1(lhs), in RandomVariableBase() 82 RandomVariableRange operator&(const RandomVariableRange& lhs, const RandomVariableRange& rhs) { in operator &() argument 83 std::vector<int> result(lhs.size() + rhs.size()); in operator &() 84 auto it = std::set_intersection(lhs.mChoices.begin(), lhs.mChoices.end(), rhs.mChoices.begin(), in operator &() 132 RandomVariable::RandomVariable(const RandomVariable& lhs, const RandomVariable& rhs, in RandomVariable() argument 134 : mVar(new RandomVariableBase(lhs.get(), rhs.get(), op)) { in RandomVariable() 157 RandomVariableRange IRandomVariableOp::getInitRange(const RandomVariableRange& lhs, in getInitRange() argument 160 for (auto i : lhs.getChoices()) { in getInitRange() [all …]
|
D | RandomVariable.h | 65 friend RandomVariableRange operator&(const RandomVariableRange& lhs, 78 virtual int eval(int lhs, int rhs) const = 0; 81 virtual RandomVariableRange getInitRange(const RandomVariableRange& lhs, 114 RandomVariableBase(const std::shared_ptr<RandomVariableBase>& lhs, 168 friend RandomVariable operator+(const RandomVariable& lhs, const RandomVariable& rhs); 169 friend RandomVariable operator-(const RandomVariable& lhs, const RandomVariable& rhs); 170 friend RandomVariable operator*(const RandomVariable& lhs, const RandomVariable& rhs); 171 friend RandomVariable operator*(const RandomVariable& lhs, const float& rhs); 172 friend RandomVariable operator/(const RandomVariable& lhs, const RandomVariable& rhs); 173 friend RandomVariable operator%(const RandomVariable& lhs, const RandomVariable& rhs); [all …]
|
/frameworks/native/libs/binder/include/binder/ |
D | PersistableBundle.h | 96 friend bool operator==(const PersistableBundle& lhs, const PersistableBundle& rhs) { 97 return (lhs.mBoolMap == rhs.mBoolMap && lhs.mIntMap == rhs.mIntMap && 98 lhs.mLongMap == rhs.mLongMap && lhs.mDoubleMap == rhs.mDoubleMap && 99 lhs.mStringMap == rhs.mStringMap && lhs.mBoolVectorMap == rhs.mBoolVectorMap && 100 lhs.mIntVectorMap == rhs.mIntVectorMap && 101 lhs.mLongVectorMap == rhs.mLongVectorMap && 102 lhs.mDoubleVectorMap == rhs.mDoubleVectorMap && 103 lhs.mStringVectorMap == rhs.mStringVectorMap && 104 lhs.mPersistableBundleMap == rhs.mPersistableBundleMap); 107 friend bool operator!=(const PersistableBundle& lhs, const PersistableBundle& rhs) { [all …]
|
/frameworks/native/include/binder/ |
D | PersistableBundle.h | 96 friend bool operator==(const PersistableBundle& lhs, const PersistableBundle& rhs) { 97 return (lhs.mBoolMap == rhs.mBoolMap && lhs.mIntMap == rhs.mIntMap && 98 lhs.mLongMap == rhs.mLongMap && lhs.mDoubleMap == rhs.mDoubleMap && 99 lhs.mStringMap == rhs.mStringMap && lhs.mBoolVectorMap == rhs.mBoolVectorMap && 100 lhs.mIntVectorMap == rhs.mIntVectorMap && 101 lhs.mLongVectorMap == rhs.mLongVectorMap && 102 lhs.mDoubleVectorMap == rhs.mDoubleVectorMap && 103 lhs.mStringVectorMap == rhs.mStringVectorMap && 104 lhs.mPersistableBundleMap == rhs.mPersistableBundleMap); 107 friend bool operator!=(const PersistableBundle& lhs, const PersistableBundle& rhs) { [all …]
|
/frameworks/base/media/native/midi/ |
D | MidiDeviceInfo.cpp | 120 static inline bool areVectorsEqual(const Vector<String16>& lhs, const Vector<String16>& rhs) { in areVectorsEqual() argument 121 if (lhs.size() != rhs.size()) return false; in areVectorsEqual() 122 for (size_t i = 0; i < lhs.size(); ++i) { in areVectorsEqual() 123 if (lhs[i] != rhs[i]) return false; in areVectorsEqual() 128 bool operator==(const MidiDeviceInfo& lhs, const MidiDeviceInfo& rhs) { in operator ==() argument 129 return (lhs.mType == rhs.mType && lhs.mId == rhs.mId && in operator ==() 130 areVectorsEqual(lhs.mInputPortNames, rhs.mInputPortNames) && in operator ==() 131 areVectorsEqual(lhs.mOutputPortNames, rhs.mOutputPortNames) && in operator ==() 132 lhs.mProperties == rhs.mProperties && in operator ==() 133 lhs.mIsPrivate == rhs.mIsPrivate); in operator ==()
|
/frameworks/base/tools/aapt2/java/ |
D | ProguardRules.h | 103 inline bool operator==(const UsageLocation& lhs, const UsageLocation& rhs) { 106 return lhs.name == rhs.name; 109 inline bool operator<(const UsageLocation& lhs, const UsageLocation& rhs) { 110 return lhs.name.compare(rhs.name) < 0; 117 inline bool operator<(const NameAndSignature& lhs, const NameAndSignature& rhs) { 118 if (lhs.name < rhs.name) { 121 if (lhs.name == rhs.name) { 122 return lhs.signature < rhs.signature;
|
/frameworks/native/libs/math/include/math/ |
D | TVecHelpers.h | 63 VECTOR<T>& lhs = static_cast<VECTOR<T>&>(*this); variable 64 for (size_t i = 0; i < lhs.size(); i++) { 65 lhs[i] += v[i]; 67 return lhs; 71 VECTOR<T>& lhs = static_cast<VECTOR<T>&>(*this); variable 72 for (size_t i = 0; i < lhs.size(); i++) { 73 lhs[i] -= v[i]; 75 return lhs; 84 VECTOR<T>& lhs = static_cast<VECTOR<T>&>(*this); variable 85 for (size_t i = 0; i < lhs.size(); i++) { [all …]
|
/frameworks/native/include/ui/ |
D | Size.h | 31 bool operator==(const Size& lhs, const Size& rhs); 183 inline bool operator==(const Size& lhs, const Size& rhs) { 184 return lhs.width == rhs.width && lhs.height == rhs.height; 187 inline bool operator!=(const Size& lhs, const Size& rhs) { 188 return !operator==(lhs, rhs); 191 inline bool operator<(const Size& lhs, const Size& rhs) { 193 if (lhs.width != rhs.width) return lhs.width < rhs.width; 194 return lhs.height < rhs.height;
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | Size.h | 31 bool operator==(const Size& lhs, const Size& rhs); 183 inline bool operator==(const Size& lhs, const Size& rhs) { 184 return lhs.width == rhs.width && lhs.height == rhs.height; 187 inline bool operator!=(const Size& lhs, const Size& rhs) { 188 return !operator==(lhs, rhs); 191 inline bool operator<(const Size& lhs, const Size& rhs) { 193 if (lhs.width != rhs.width) return lhs.width < rhs.width; 194 return lhs.height < rhs.height;
|
/frameworks/native/libs/ui/include/ui/ |
D | Size.h | 31 bool operator==(const Size& lhs, const Size& rhs); 183 inline bool operator==(const Size& lhs, const Size& rhs) { 184 return lhs.width == rhs.width && lhs.height == rhs.height; 187 inline bool operator!=(const Size& lhs, const Size& rhs) { 188 return !operator==(lhs, rhs); 191 inline bool operator<(const Size& lhs, const Size& rhs) { 193 if (lhs.width != rhs.width) return lhs.width < rhs.width; 194 return lhs.height < rhs.height;
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | AggregateEventHistoryImpl.java | 80 private List<Event> combineEventLists(List<Event> lhs, List<Event> rhs) { in combineEventLists() argument 83 while (i < lhs.size() && j < rhs.size()) { in combineEventLists() 84 if (lhs.get(i).getTimestamp() < rhs.get(j).getTimestamp()) { in combineEventLists() 85 results.add(lhs.get(i++)); in combineEventLists() 90 if (i < lhs.size()) { in combineEventLists() 91 results.addAll(lhs.subList(i, lhs.size())); in combineEventLists()
|
/frameworks/base/wifi/java/android/net/wifi/rtt/ |
D | RangingResult.java | 420 RangingResult lhs = (RangingResult) o; in equals() local 422 return mStatus == lhs.mStatus && Objects.equals(mMac, lhs.mMac) && Objects.equals( in equals() 423 mPeerHandle, lhs.mPeerHandle) && mDistanceMm == lhs.mDistanceMm in equals() 424 && mDistanceStdDevMm == lhs.mDistanceStdDevMm && mRssi == lhs.mRssi in equals() 425 && mNumAttemptedMeasurements == lhs.mNumAttemptedMeasurements in equals() 426 && mNumSuccessfulMeasurements == lhs.mNumSuccessfulMeasurements in equals() 427 && Arrays.equals(mLci, lhs.mLci) && Arrays.equals(mLcr, lhs.mLcr) in equals() 428 && mTimestamp == lhs.mTimestamp in equals() 429 && Objects.equals(mResponderLocation, lhs.mResponderLocation); in equals()
|