/frameworks/base/tools/aapt2/ |
D | Resource.h | 256 inline bool operator<(const ResourceId& lhs, const ResourceId& rhs) { 257 return lhs.id < rhs.id; 260 inline bool operator>(const ResourceId& lhs, const ResourceId& rhs) { 261 return lhs.id > rhs.id; 264 inline bool operator==(const ResourceId& lhs, const ResourceId& rhs) { 265 return lhs.id == rhs.id; 268 inline bool operator!=(const ResourceId& lhs, const ResourceId& rhs) { 269 return lhs.id != rhs.id; 310 inline bool operator<(const ResourceName& lhs, const ResourceName& rhs) { 311 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/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/include/private/ui/ |
D | RegionHelper.h | 72 inline region_operator(uint32_t op, const region& lhs, const region& rhs) in region_operator() argument 73 : op_mask(op), spanner(lhs, rhs) in region_operator() 80 SpannerInner spannerInner(spanner.lhs, spanner.rhs); in operator() 163 region lhs; variable 168 : lhs(_lhs), rhs(_rhs) in Spanner() 170 if (lhs.count) { in Spanner() 171 SpannerBase::lhs_head = lhs.rects->top + lhs.dy; in Spanner() 172 SpannerBase::lhs_tail = lhs.rects->bottom + lhs.dy; in Spanner() 181 return !rhs.count && !lhs.count; in isDone() 190 advance(lhs, SpannerBase::lhs_head, SpannerBase::lhs_tail); in next() [all …]
|
/frameworks/base/core/java/android/net/ |
D | IpSecConfig.java | 338 public static boolean equals(IpSecConfig lhs, IpSecConfig rhs) { in equals() argument 339 if (lhs == null || rhs == null) return (lhs == rhs); in equals() 340 return (lhs.mMode == rhs.mMode in equals() 341 && lhs.mSourceAddress.equals(rhs.mSourceAddress) in equals() 342 && lhs.mDestinationAddress.equals(rhs.mDestinationAddress) in equals() 343 && ((lhs.mNetwork != null && lhs.mNetwork.equals(rhs.mNetwork)) in equals() 344 || (lhs.mNetwork == rhs.mNetwork)) in equals() 345 && lhs.mEncapType == rhs.mEncapType in equals() 346 && lhs.mEncapSocketResourceId == rhs.mEncapSocketResourceId in equals() 347 && lhs.mEncapRemotePort == rhs.mEncapRemotePort in equals() [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/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | TimestampPartial.cs | 60 public static Duration operator -(Timestamp lhs, Timestamp rhs) in operator -() argument 62 ProtoPreconditions.CheckNotNull(lhs, "lhs"); in operator -() 66 return Duration.Normalize(lhs.Seconds - rhs.Seconds, lhs.Nanos - rhs.Nanos); in operator -() 76 public static Timestamp operator +(Timestamp lhs, Duration rhs) in operator +() argument 78 ProtoPreconditions.CheckNotNull(lhs, "lhs"); in operator +() 82 return Normalize(lhs.Seconds + rhs.Seconds, lhs.Nanos + rhs.Nanos); in operator +() 92 public static Timestamp operator -(Timestamp lhs, Duration rhs) in operator -() argument 94 ProtoPreconditions.CheckNotNull(lhs, "lhs"); in operator -() 98 return Normalize(lhs.Seconds - rhs.Seconds, lhs.Nanos - rhs.Nanos); in operator -()
|
D | DurationPartial.cs | 134 public static Duration operator +(Duration lhs, Duration rhs) in operator +() argument 136 ProtoPreconditions.CheckNotNull(lhs, "lhs"); in operator +() 140 return Normalize(lhs.Seconds + rhs.Seconds, lhs.Nanos + rhs.Nanos); in operator +() 150 public static Duration operator -(Duration lhs, Duration rhs) in operator -() argument 152 ProtoPreconditions.CheckNotNull(lhs, "lhs"); in operator -() 156 return Normalize(lhs.Seconds - rhs.Seconds, lhs.Nanos - rhs.Nanos); in operator -()
|
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | RandomVariable.cpp | 54 RandomVariableBase::RandomVariableBase(const RandomVariableNode& lhs, const RandomVariableNode& rhs, in RandomVariableBase() argument 58 range(op->getInitRange(lhs->range, rhs == nullptr ? RandomVariableRange(0) : rhs->range)), in RandomVariableBase() 60 parent1(lhs), in RandomVariableBase() 81 RandomVariableRange operator&(const RandomVariableRange& lhs, const RandomVariableRange& rhs) { in operator &() argument 82 std::vector<int> result(lhs.size() + rhs.size()); in operator &() 83 auto it = std::set_intersection(lhs.mChoices.begin(), lhs.mChoices.end(), rhs.mChoices.begin(), in operator &() 131 RandomVariable::RandomVariable(const RandomVariable& lhs, const RandomVariable& rhs, in RandomVariable() argument 133 : mVar(new RandomVariableBase(lhs.get(), rhs.get(), op)) { in RandomVariable() 156 RandomVariableRange IRandomVariableOp::getInitRange(const RandomVariableRange& lhs, in getInitRange() argument 159 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/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/av/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/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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/ |
D | int128.h | 136 inline bool operator==(const uint128& lhs, const uint128& rhs) { 137 return (Uint128Low64(lhs) == Uint128Low64(rhs) && 138 Uint128High64(lhs) == Uint128High64(rhs)); 140 inline bool operator!=(const uint128& lhs, const uint128& rhs) { 141 return !(lhs == rhs); 168 inline bool operator op(const uint128& lhs, const uint128& rhs) { \ 169 return (Uint128High64(lhs) == Uint128High64(rhs)) ? \ 170 (Uint128Low64(lhs) op Uint128Low64(rhs)) : \ 171 (Uint128High64(lhs) op Uint128High64(rhs)); \ 204 inline uint128 operator op(const uint128& lhs, const uint128& rhs) { \ [all …]
|
D | status_macros.h | 61 Status DoAssignOrReturn(T& lhs, StatusOr<T> result) { in DoAssignOrReturn() argument 63 lhs = result.ValueOrDie(); in DoAssignOrReturn() 68 #define ASSIGN_OR_RETURN_IMPL(status, lhs, rexpr) \ argument 69 Status status = DoAssignOrReturn(lhs, (rexpr)); \ 81 #define ASSIGN_OR_RETURN(lhs, rexpr) \ argument 83 STATUS_MACROS_CONCAT_NAME(_status_or_value, __COUNTER__), lhs, rexpr);
|
/frameworks/av/media/libmedia/ |
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/native/libs/ui/include_vndk/ui/ |
D | Size.h | 30 bool operator==(const Size& lhs, const Size& rhs); 143 inline bool operator==(const Size& lhs, const Size& rhs) { 144 return lhs.width == rhs.width && lhs.height == rhs.height; 147 inline bool operator!=(const Size& lhs, const Size& rhs) { 148 return !operator==(lhs, rhs); 151 inline bool operator<(const Size& lhs, const Size& rhs) { 153 if (lhs.width != rhs.width) return lhs.width < rhs.width; 154 return lhs.height < rhs.height;
|
/frameworks/native/libs/ui/include/ui/ |
D | Size.h | 30 bool operator==(const Size& lhs, const Size& rhs); 143 inline bool operator==(const Size& lhs, const Size& rhs) { 144 return lhs.width == rhs.width && lhs.height == rhs.height; 147 inline bool operator!=(const Size& lhs, const Size& rhs) { 148 return !operator==(lhs, rhs); 151 inline bool operator<(const Size& lhs, const Size& rhs) { 153 if (lhs.width != rhs.width) return lhs.width < rhs.width; 154 return lhs.height < rhs.height;
|
/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/base/tools/aapt2/java/ |
D | ProguardRules.h | 101 inline bool operator==(const UsageLocation& lhs, const UsageLocation& rhs) { 102 return lhs.name == rhs.name; 105 inline int operator<(const UsageLocation& lhs, const UsageLocation& rhs) { 106 return lhs.name.compare(rhs.name); 113 inline bool operator<(const NameAndSignature& lhs, const NameAndSignature& rhs) { 114 if (lhs.name < rhs.name) { 117 if (lhs.name == rhs.name) { 118 return lhs.signature < rhs.signature;
|
/frameworks/native/libs/gui/include/gui/ |
D | LayerState.h | 276 static inline int compare_type(const ComposerState& lhs, const ComposerState& rhs) { in compare_type() argument 277 if (lhs.client < rhs.client) return -1; in compare_type() 278 if (lhs.client > rhs.client) return 1; in compare_type() 279 if (lhs.state.surface < rhs.state.surface) return -1; in compare_type() 280 if (lhs.state.surface > rhs.state.surface) return 1; in compare_type() 284 static inline int compare_type(const DisplayState& lhs, const DisplayState& rhs) { in compare_type() argument 285 return compare_type(lhs.token, rhs.token); in compare_type()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/ |
D | ByteString.cs | 251 public static bool operator ==(ByteString lhs, ByteString rhs) in operator ==() argument 253 if (ReferenceEquals(lhs, rhs)) in operator ==() 257 if (ReferenceEquals(lhs, null) || ReferenceEquals(rhs, null)) in operator ==() 261 if (lhs.bytes.Length != rhs.bytes.Length) in operator ==() 265 for (int i = 0; i < lhs.Length; i++) in operator ==() 267 if (rhs.bytes[i] != lhs.bytes[i]) in operator ==() 281 public static bool operator !=(ByteString lhs, ByteString rhs) in operator !=() argument 283 return !(lhs == rhs); in operator !=()
|
/frameworks/base/wifi/java/android/net/wifi/aware/ |
D | WifiAwareNetworkSpecifier.java | 256 WifiAwareNetworkSpecifier lhs = (WifiAwareNetworkSpecifier) obj; in equals() local 258 return type == lhs.type in equals() 259 && role == lhs.role in equals() 260 && clientId == lhs.clientId in equals() 261 && sessionId == lhs.sessionId in equals() 262 && peerId == lhs.peerId in equals() 263 && Arrays.equals(peerMac, lhs.peerMac) in equals() 264 && Arrays.equals(pmk, lhs.pmk) in equals() 265 && Objects.equals(passphrase, lhs.passphrase) in equals() 266 && port == lhs.port in equals() [all …]
|