/system/bt/service/ |
H A D | gatt_server.cc | 29 bool operator==(const bt_bdaddr_t& lhs, const bt_bdaddr_t& rhs) { argument 30 return memcmp(&lhs, &rhs, sizeof(lhs)) == 0; 33 bool operator!=(const bt_bdaddr_t& lhs, const bt_bdaddr_t& rhs) { argument 34 return !(lhs == rhs);
|
/system/bt/stack/a2dp/ |
H A D | a2dp_codec_config.cc | 411 // Compares two codecs |lhs| and |rhs| based on their priority. 412 // Returns true if |lhs| has higher priority (larger priority value). 413 // If |lhs| and |rhs| have same priority, the unique codec index is used 416 static bool compare_codec_priority(const A2dpCodecConfig* lhs, argument 418 if (lhs->codecPriority() > rhs->codecPriority()) return true; 419 if (lhs->codecPriority() < rhs->codecPriority()) return false; 420 return (lhs->codecIndex() > rhs->codecIndex());
|
/system/bt/stack/include/ |
H A D | a2dp_codec_api.h | 413 bool operator()(const bt_bdaddr_t& lhs, const bt_bdaddr_t& rhs) const { argument 414 return (memcmp(&lhs, &rhs, sizeof(lhs)) < 0);
|
/system/chre/external/flatbuffers/include/flatbuffers/ |
H A D | flatbuffers.h | 1914 inline E operator | (E lhs, E rhs){\ 1915 return E(T(lhs) | T(rhs));\ 1917 inline E operator & (E lhs, E rhs){\ 1918 return E(T(lhs) & T(rhs));\ 1920 inline E operator ^ (E lhs, E rhs){\ 1921 return E(T(lhs) ^ T(rhs));\ 1923 inline E operator ~ (E lhs){\ 1924 return E(~T(lhs));\ 1926 inline E operator |= (E &lhs, E rhs){\ 1927 lhs [all...] |
/system/core/adb/ |
H A D | sysdeps.h | 170 static __inline__ bool adb_thread_equal(adb_thread_t lhs, adb_thread_t rhs) { argument 171 return GetThreadId(lhs) == GetThreadId(rhs);
|
/system/core/base/include/android-base/ |
H A D | logging.h | 245 UNLIKELY(!(_values.lhs OP _values.rhs)); \ 251 << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") " 341 constexpr EagerEvaluator(LHS l, RHS r) : lhs(l), rhs(r) { 343 LHS lhs; member in struct:android::base::EagerEvaluator 349 constexpr EagerEvaluator<LHS, RHS> MakeEagerEvaluator(LHS lhs, RHS rhs) { argument 350 return EagerEvaluator<LHS, RHS>(lhs, rhs); 361 : lhs(reinterpret_cast<const void*>(l)), \ 364 const void* lhs; \
|
H A D | strings.h | 67 // Tests whether 'lhs' equals 'rhs', ignoring case. 68 bool EqualsIgnoreCase(const std::string& lhs, const std::string& rhs);
|
/system/core/base/ |
H A D | strings.cpp | 116 bool EqualsIgnoreCase(const std::string& lhs, const std::string& rhs) { argument 117 return strcasecmp(lhs.c_str(), rhs.c_str()) == 0;
|
/system/core/include/utils/ |
H A D | LruCache.h | 94 bool operator() (const KeyedEntry* lhs, const KeyedEntry* rhs) const { argument 95 return lhs->getKey() == rhs->getKey();
|
H A D | SortedVector.h | 149 virtual int do_compare(const void* lhs, const void* rhs) const; 285 int SortedVector<TYPE>::do_compare(const void* lhs, const void* rhs) const { argument 286 return compare_type( *reinterpret_cast<const TYPE*>(lhs), *reinterpret_cast<const TYPE*>(rhs) );
|
H A D | String16.h | 138 inline int compare_type(const String16& lhs, const String16& rhs) argument 140 return lhs.compare(rhs); 143 inline int strictly_order_type(const String16& lhs, const String16& rhs) argument 145 return compare_type(lhs, rhs) < 0;
|
H A D | String8.h | 254 inline int compare_type(const String8& lhs, const String8& rhs) argument 256 return lhs.compare(rhs); 259 inline int strictly_order_type(const String8& lhs, const String8& rhs) argument 261 return compare_type(lhs, rhs) < 0;
|
H A D | TypeHelpers.h | 120 int strictly_order_type(const TYPE& lhs, const TYPE& rhs) { argument 121 return (lhs < rhs) ? 1 : 0; 125 int compare_type(const TYPE& lhs, const TYPE& rhs) { argument 126 return strictly_order_type(rhs, lhs) - strictly_order_type(lhs, rhs);
|
H A D | Vector.h | 183 typedef int (*compar_t)(const TYPE* lhs, const TYPE* rhs); 184 typedef int (*compar_r_t)(const TYPE* lhs, const TYPE* rhs, void* state);
|
H A D | VectorImpl.h | 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); 157 virtual int do_compare(const void* lhs, const void* rhs) const = 0;
|
/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/core/libpixelflinger/codeflinger/ |
H A D | CodeCache.h | 126 const key_value_pair_t<CodeCache::key_t, CodeCache::cache_entry_t>& lhs, 129 return lhs.key.mKey->compare_type(*(rhs.key.mKey)); 125 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/libpixelflinger/include/private/pixelflinger/ |
H A D | ggl_context.h | 254 inline int compare_type(const needs_t& lhs, const needs_t& rhs) { argument 255 return memcmp(&lhs, &rhs, sizeof(needs_t));
|
/system/core/libutils/ |
H A D | VectorImpl.cpp | 162 static int sortProxy(const void* lhs, const void* rhs, void* func) argument 164 return (*(VectorImpl::compar_t)func)(lhs, rhs);
|
/system/core/libutils/include/utils/ |
H A D | LruCache.h | 94 bool operator() (const KeyedEntry* lhs, const KeyedEntry* rhs) const { argument 95 return lhs->getKey() == rhs->getKey();
|
H A D | SortedVector.h | 149 virtual int do_compare(const void* lhs, const void* rhs) const; 285 int SortedVector<TYPE>::do_compare(const void* lhs, const void* rhs) const { argument 286 return compare_type( *reinterpret_cast<const TYPE*>(lhs), *reinterpret_cast<const TYPE*>(rhs) );
|
H A D | String16.h | 138 inline int compare_type(const String16& lhs, const String16& rhs) argument 140 return lhs.compare(rhs); 143 inline int strictly_order_type(const String16& lhs, const String16& rhs) argument 145 return compare_type(lhs, rhs) < 0;
|
H A D | String8.h | 254 inline int compare_type(const String8& lhs, const String8& rhs) argument 256 return lhs.compare(rhs); 259 inline int strictly_order_type(const String8& lhs, const String8& rhs) argument 261 return compare_type(lhs, rhs) < 0;
|
H A D | TypeHelpers.h | 120 int strictly_order_type(const TYPE& lhs, const TYPE& rhs) { argument 121 return (lhs < rhs) ? 1 : 0; 125 int compare_type(const TYPE& lhs, const TYPE& rhs) { argument 126 return strictly_order_type(rhs, lhs) - strictly_order_type(lhs, rhs);
|
H A D | Vector.h | 183 typedef int (*compar_t)(const TYPE* lhs, const TYPE* rhs); 184 typedef int (*compar_r_t)(const TYPE* lhs, const TYPE* rhs, void* state);
|