Searched refs:rhs (Results 1 - 25 of 64) sorted by relevance

123

/system/bt/service/common/bluetooth/
H A Dadvertise_settings.cpp39 bool AdvertiseSettings::operator==(const AdvertiseSettings& rhs) const {
40 if (mode_ != rhs.mode_)
43 if (timeout_ != rhs.timeout_)
46 if (tx_power_level_ != rhs.tx_power_level_)
49 if (connectable_ != rhs.connectable_)
H A Dscan_result.cpp36 bool ScanResult::operator==(const ScanResult& rhs) const {
37 if (device_address_ != rhs.device_address_)
40 if (scan_record_ != rhs.scan_record_)
43 if (rssi_ != rhs.rssi_)
H A Dscan_settings.cpp43 bool ScanSettings::operator==(const ScanSettings& rhs) const {
44 if (mode_ != rhs.mode_)
47 if (callback_type_ != rhs.callback_type_)
50 if (result_type_ != rhs.result_type_)
53 if (report_delay_ms_ != rhs.report_delay_ms_)
56 if (match_mode_ != rhs.match_mode_)
59 if (match_count_per_filter_ != rhs.match_count_per_filter_)
H A Dscan_filter.cpp70 bool ScanFilter::operator==(const ScanFilter& rhs) const {
71 if (device_name_ != rhs.device_name_)
74 if (device_address_ != rhs.device_address_)
79 if (!!service_uuid_ != !!rhs.service_uuid_)
82 if (service_uuid_ && rhs.service_uuid_ &&
83 *service_uuid_ != *rhs.service_uuid_)
88 if (!!service_uuid_mask_ != !!rhs.service_uuid_mask_)
91 if (service_uuid_mask_ && rhs.service_uuid_mask_ &&
92 *service_uuid_mask_ != *rhs.service_uuid_mask_)
H A Dadvertise_data.cpp88 bool AdvertiseData::operator==(const AdvertiseData& rhs) const {
89 if (include_tx_power_level_ != rhs.include_tx_power_level_)
92 if (include_device_name_ != rhs.include_device_name_)
95 return data_ == rhs.data_;
H A Duuid.h79 bool operator<(const UUID& rhs) const;
80 bool operator==(const UUID& rhs) const;
81 inline bool operator!=(const UUID& rhs) const {
82 return !(*this == rhs);
H A Dadvertise_data.h68 bool operator==(const AdvertiseData& rhs) const;
H A Dscan_result.h47 bool operator==(const ScanResult& rhs) const;
H A Duuid.cpp168 bool UUID::operator<(const UUID& rhs) const {
169 return std::lexicographical_compare(id_.begin(), id_.end(), rhs.id_.begin(),
170 rhs.id_.end());
173 bool UUID::operator==(const UUID& rhs) const {
174 return std::equal(id_.begin(), id_.end(), rhs.id_.begin());
/system/netd/server/binder/android/net/
H A DUidRange.h51 friend bool operator<(const UidRange& lhs, const UidRange& rhs) { argument
52 return lhs.mStart != rhs.mStart ? (lhs.mStart < rhs.mStart) : (lhs.mStop < rhs.mStop);
55 friend bool operator==(const UidRange& lhs, const UidRange& rhs) { argument
56 return (lhs.mStart == rhs.mStart && lhs.mStop == rhs.mStop);
59 friend bool operator!=(const UidRange& lhs, const UidRange& rhs) { argument
60 return !(lhs == rhs);
/system/tools/aidl/tests/
H A Dsimple_parcelable.h54 const SimpleParcelable& rhs) {
55 return (lhs.name_ == rhs.name_) && (lhs.number_ == rhs.number_);
58 const SimpleParcelable& rhs) {
59 return !(lhs == rhs);
53 operator ==(const SimpleParcelable& lhs, const SimpleParcelable& rhs) argument
57 operator !=(const SimpleParcelable& lhs, const SimpleParcelable& rhs) argument
/system/core/libmemunreachable/
H A DLeak.h52 static bool operator==(const Leak::Backtrace& lhs, const Leak::Backtrace& rhs) { argument
53 return (lhs.num_frames == rhs.num_frames) &&
54 memcmp(lhs.frames, rhs.frames, lhs.num_frames * sizeof(lhs.frames[0])) == 0;
/system/security/keystore/
H A Dauth_token_table.h110 void operator=(Entry&& rhs) { argument
111 token_ = std::move(rhs.token_);
112 time_received_ = rhs.time_received_;
113 last_use_ = rhs.last_use_;
114 operation_completed_ = rhs.operation_completed_;
117 bool operator<(const Entry& rhs) const { return last_use_ < rhs.last_use_; }
/system/connectivity/shill/net/
H A Dbyte_string.cc137 for (const auto& rhs : b.data_) {
138 *lhs++ &= rhs;
148 for (const auto& rhs : b.data_) {
149 *lhs++ |= rhs;
165 for (const auto& rhs : b.data_) {
166 if (*lhs++ != rhs) {
198 bool ByteString::IsLessThan(const ByteString& lhs, const ByteString& rhs) { argument
199 size_t byte_count = min(lhs.GetLength(), rhs.GetLength());
200 int result = memcmp(lhs.GetConstData(), rhs.GetConstData(), byte_count);
202 return lhs.GetLength() < rhs
[all...]
/system/core/libpixelflinger/codeflinger/
H A DCodeCache.h45 AssemblyKey(const T& rhs) : mKey(rhs) { } argument
47 const T& rhs = static_cast<const AssemblyKey&>(key).mKey; local
48 return android::compare_type(mKey, rhs);
126 const key_value_pair_t<CodeCache::key_t, CodeCache::cache_entry_t>& rhs)
128 return lhs.key.mKey->compare_type(*(rhs.key.mKey));
124 compare_type( const key_value_pair_t<CodeCache::key_t, CodeCache::cache_entry_t>& lhs, const key_value_pair_t<CodeCache::key_t, CodeCache::cache_entry_t>& rhs) argument
/system/core/include/utils/
H A DVector.h53 Vector(const Vector<TYPE>& rhs);
54 explicit Vector(const SortedVector<TYPE>& rhs);
58 const Vector<TYPE>& operator = (const Vector<TYPE>& rhs) const;
59 Vector<TYPE>& operator = (const Vector<TYPE>& rhs);
61 const Vector<TYPE>& operator = (const SortedVector<TYPE>& rhs) const;
62 Vector<TYPE>& operator = (const SortedVector<TYPE>& rhs);
171 typedef int (*compar_t)(const TYPE* lhs, const TYPE* rhs);
172 typedef int (*compar_r_t)(const TYPE* lhs, const TYPE* rhs, void* state);
229 Vector<TYPE>::Vector(const Vector<TYPE>& rhs) argument
230 : VectorImpl(rhs) {
234 Vector(const SortedVector<TYPE>& rhs) argument
244 operator =(const Vector<TYPE>& rhs) argument
256 operator =(const SortedVector<TYPE>& rhs) argument
[all...]
H A DVectorImpl.h50 VectorImpl(const VectorImpl& rhs);
56 VectorImpl& operator = (const VectorImpl& rhs);
93 typedef int (*compar_t)(const void* lhs, const void* rhs);
94 typedef int (*compar_r_t)(const void* lhs, const void* rhs, void* state);
135 SortedVectorImpl(const VectorImpl& rhs);
138 SortedVectorImpl& operator = (const SortedVectorImpl& rhs);
157 virtual int do_compare(const void* lhs, const void* rhs) const = 0;
H A DSortedVector.h47 SortedVector(const SortedVector<TYPE>& rhs);
51 const SortedVector<TYPE>& operator = (const SortedVector<TYPE>& rhs) const;
52 SortedVector<TYPE>& operator = (const SortedVector<TYPE>& rhs);
133 virtual int do_compare(const void* lhs, const void* rhs) const;
155 SortedVector<TYPE>::SortedVector(const SortedVector<TYPE>& rhs) argument
156 : SortedVectorImpl(rhs) {
165 SortedVector<TYPE>& SortedVector<TYPE>::operator = (const SortedVector<TYPE>& rhs) { argument
166 SortedVectorImpl::operator = (rhs);
171 const SortedVector<TYPE>& SortedVector<TYPE>::operator = (const SortedVector<TYPE>& rhs) const {
172 SortedVectorImpl::operator = (rhs);
[all...]
/system/core/include/ziparchive/
H A Dzip_archive.h49 bool operator==(const ZipString& rhs) const {
50 return name && (name_length == rhs.name_length) &&
51 (memcmp(name, rhs.name, name_length) == 0);
/system/vold/
H A DKeymaster.h57 KeymasterOperation(KeymasterOperation&& rhs) { argument
58 mOpHandle = std::move(rhs.mOpHandle);
59 mDevice = std::move(rhs.mDevice);
/system/connectivity/shill/
H A Dip_address_store.cc32 const IPAddress& rhs) const {
33 return lhs.ToString() < rhs.ToString();
/system/core/base/include/android-base/
H A Dlogging.h165 UNLIKELY(!(_values.lhs OP _values.rhs)); \
170 << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") "
259 EagerEvaluator(LHS l, RHS r) : lhs(l), rhs(r) {
262 RHS rhs; member in struct:android::base::EagerEvaluator
267 static inline EagerEvaluator<LHS, RHS> MakeEagerEvaluator(LHS lhs, RHS rhs) { argument
268 return EagerEvaluator<LHS, RHS>(lhs, rhs);
280 rhs(reinterpret_cast<const void*>(r)) { \
283 const void* rhs; \
/system/core/libutils/
H A DVectorImpl.cpp51 VectorImpl::VectorImpl(const VectorImpl& rhs) argument
52 : mStorage(rhs.mStorage), mCount(rhs.mCount),
53 mFlags(rhs.mFlags), mItemSize(rhs.mItemSize)
69 VectorImpl& VectorImpl::operator = (const VectorImpl& rhs) argument
71 LOG_ALWAYS_FATAL_IF(mItemSize != rhs.mItemSize,
72 "Vector<> have different types (this=%p, rhs=%p)", this, &rhs);
73 if (this != &rhs) {
162 sortProxy(const void* lhs, const void* rhs, void* func) argument
[all...]
H A DBlobCache.cpp328 bool BlobCache::Blob::operator<(const Blob& rhs) const {
329 if (mSize == rhs.mSize) {
330 return memcmp(mData, rhs.mData, mSize) < 0;
332 return mSize < rhs.mSize;
357 bool BlobCache::CacheEntry::operator<(const CacheEntry& rhs) const {
358 return *mKey < *rhs.mKey;
361 const BlobCache::CacheEntry& BlobCache::CacheEntry::operator=(const CacheEntry& rhs) { argument
362 mKey = rhs.mKey;
363 mValue = rhs.mValue;
/system/keymaster/
H A Doperation.h47 bool operator==(const KeyType& rhs) const {
48 return algorithm == rhs.algorithm && purpose == rhs.purpose;

Completed in 1618 milliseconds

123