/system/bt/service/common/bluetooth/ |
H A D | advertise_settings.cpp | 39 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 D | scan_result.cpp | 36 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 D | scan_settings.cpp | 43 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 D | scan_filter.cpp | 70 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 D | advertise_data.cpp | 88 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 D | uuid.h | 79 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 D | advertise_data.h | 68 bool operator==(const AdvertiseData& rhs) const;
|
H A D | scan_result.h | 47 bool operator==(const ScanResult& rhs) const;
|
H A D | uuid.cpp | 168 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 D | UidRange.h | 51 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 D | simple_parcelable.h | 54 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 D | Leak.h | 52 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 D | auth_token_table.h | 110 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 D | byte_string.cc | 137 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 D | CodeCache.h | 45 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 D | Vector.h | 53 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 D | VectorImpl.h | 50 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 D | SortedVector.h | 47 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 D | zip_archive.h | 49 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 D | Keymaster.h | 57 KeymasterOperation(KeymasterOperation&& rhs) { argument 58 mOpHandle = std::move(rhs.mOpHandle); 59 mDevice = std::move(rhs.mDevice);
|
/system/connectivity/shill/ |
H A D | ip_address_store.cc | 32 const IPAddress& rhs) const { 33 return lhs.ToString() < rhs.ToString();
|
/system/core/base/include/android-base/ |
H A D | logging.h | 165 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 D | VectorImpl.cpp | 51 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 D | BlobCache.cpp | 328 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 D | operation.h | 47 bool operator==(const KeyType& rhs) const { 48 return algorithm == rhs.algorithm && purpose == rhs.purpose;
|