Searched refs:lhs (Results 1 - 25 of 41) sorted by relevance

12

/system/netd/server/binder/android/net/
H A DUidRange.h60 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 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/tools/aidl/tests/
H A Dsimple_parcelable.h53 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 Dkeystore_return_types.h86 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 DExpression.cpp56 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 DExpression.h67 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 Dlibufdt_sysdeps_posix.c54 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 Dlibufdt_sysdeps.h67 int dto_memcmp(const void *lhs, const void *rhs, size_t n);
/system/core/base/include/android-base/
H A Dlogging.h245 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 Dstrings.h67 // Tests whether 'lhs' equals 'rhs', ignoring case.
68 bool EqualsIgnoreCase(const std::string& lhs, const std::string& rhs);
/system/extras/tests/icachetest/
H A DProfiler.h92 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 DVectorImpl.h93 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 DString16.h138 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 DString8.h254 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 DTypeHelpers.h120 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 DVectorImpl.h93 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 DString16.h138 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 DString8.h254 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 DTypeHelpers.h120 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 Dstrings.cpp116 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 DCodeCache.h126 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 Dfuse.h68 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 Diotop.cpp58 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 Dflatbuffers.h1914 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 Da2dp_codec_api.h413 bool operator()(const bt_bdaddr_t& lhs, const bt_bdaddr_t& rhs) const { argument
414 return (memcmp(&lhs, &rhs, sizeof(lhs)) < 0);

Completed in 450 milliseconds

12