/system/netd/server/binder/android/net/ |
H A D | UidRange.h | 60 friend bool operator<(const UidRange& lhs, const UidRange& rhs) { argument 61 return lhs.mStart != rhs.mStart ? (lhs.mStart < rhs.mStart) : (lhs.mStop < rhs.mStop); 64 friend bool operator==(const UidRange& lhs, const UidRange& rhs) { argument 65 return (lhs.mStart == rhs.mStart && lhs.mStop == rhs.mStop); 68 friend bool operator!=(const UidRange& lhs, const UidRange& rhs) { argument 69 return !(lhs == rhs);
|
/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/tools/aidl/tests/ |
H A D | simple_parcelable.h | 53 friend bool operator==(const SimpleParcelable& lhs, argument 55 return (lhs.name_ == rhs.name_) && (lhs.number_ == rhs.number_); 57 friend bool operator!=(const SimpleParcelable& lhs, argument 59 return !(lhs == rhs);
|
/system/security/keystore/include/keystore/ |
H A D | keystore_return_types.h | 86 inline bool operator==(const ResponseCode& lhs, const KeyStoreServiceReturnCode& rhs) { argument 87 return rhs == lhs; 89 inline bool operator==(const ErrorCode& lhs, const KeyStoreServiceReturnCode& rhs) { argument 90 return rhs == lhs; 92 inline bool operator!=(const ResponseCode& lhs, const KeyStoreServiceReturnCode& rhs) { argument 93 return rhs != lhs; 95 inline bool operator!=(const ErrorCode& lhs, const KeyStoreServiceReturnCode& rhs) { argument 96 return rhs != lhs; 160 inline bool operator==(const ResponseCode& lhs, const KeyStoreNativeReturnCode& rhs) { argument 161 return rhs == lhs; 163 operator ==(const ErrorCode& lhs, const KeyStoreNativeReturnCode& rhs) argument 166 operator !=(const ResponseCode& lhs, const KeyStoreNativeReturnCode& rhs) argument 169 operator !=(const ErrorCode& lhs, const KeyStoreNativeReturnCode& rhs) argument [all...] |
/system/tools/hidl/c2hal/ |
H A D | Expression.cpp | 56 Expression::Type Expression::coalesceTypes(Type lhs, Type rhs) { argument 63 if (lhs == rhs) { 64 return lhs; 67 // lhs != rhs 68 if (SIGNED(lhs) == SIGNED(rhs)) { 69 return (Type)MAX_RANK(lhs); 72 // lhs != rhs && SIGNED(lhs) != SIGNED(rhs) 73 if (lhs == U32 || rhs == U32) { 158 BinaryExpression(Expression *lhs, st argument 182 TernaryExpression(Expression *lhs, Expression *mhs, Expression* rhs) argument 283 binary(Expression *lhs, std::string op, Expression *rhs) argument 288 ternary(Expression *lhs, Expression *mhs, Expression *rhs) argument [all...] |
H A D | Expression.h | 67 static Type coalesceTypes(Type lhs, Type rhs); 72 static Expression *binary(Expression *lhs, std::string op, Expression *rhs); 73 static Expression *ternary(Expression *lhs, Expression *mhs, Expression *rhs);
|
/system/libufdt/sysdeps/ |
H A D | libufdt_sysdeps_posix.c | 54 int dto_memcmp(const void *lhs, const void *rhs, size_t n) { argument 55 return memcmp(lhs, rhs, n);
|
/system/libufdt/sysdeps/include/ |
H A D | libufdt_sysdeps.h | 67 int dto_memcmp(const void *lhs, const void *rhs, size_t n);
|
/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/extras/tests/icachetest/ |
H A D | Profiler.h | 92 friend Counters operator-(Counters lhs, const Counters& rhs) noexcept { 93 lhs.nr -= rhs.nr; 94 lhs.time_enabled -= rhs.time_enabled; 95 lhs.time_running -= rhs.time_running; 97 lhs.counters[i].value -= rhs.counters[i].value; 99 return lhs;
|
/system/core/include/utils/ |
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;
|
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);
|
/system/core/libutils/include/utils/ |
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;
|
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);
|
/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/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/sdcard/ |
H A D | fuse.h | 68 bool operator()(const std::string& lhs, const std::string& rhs) const { argument 69 return strcasecmp(lhs.c_str(), rhs.c_str()) < 0;
|
/system/extras/iotop/ |
H A D | iotop.cpp | 58 static auto comparator = [](auto& lhs, auto& rhs, auto field, bool ascending) -> bool { 59 auto a = (lhs.*field)(); 66 return lhs.pid() < rhs.pid();
|
/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/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);
|