Home
last modified time | relevance | path

Searched refs:lhs (Results 1 – 11 of 11) sorted by relevance

/system/core/base/include/base/
Dlogging.h126 UNLIKELY(!(_values.lhs OP _values.rhs)); \
131 << " (" #LHS "=" << _values.lhs << ", " #RHS "=" << _values.rhs << ") "
218 EagerEvaluator(LHS l, RHS r) : lhs(l), rhs(r) { in EagerEvaluator()
220 LHS lhs; member
226 static inline EagerEvaluator<LHS, RHS> MakeEagerEvaluator(LHS lhs, RHS rhs) { in MakeEagerEvaluator() argument
227 return EagerEvaluator<LHS, RHS>(lhs, rhs); in MakeEagerEvaluator()
238 : lhs(reinterpret_cast<const void*>(l)), \
241 const void* lhs; \
/system/core/include/utils/
DString16.h132 inline int compare_type(const String16& lhs, const String16& rhs) in ANDROID_TRIVIAL_MOVE_TRAIT()
134 return lhs.compare(rhs); in ANDROID_TRIVIAL_MOVE_TRAIT()
137 inline int strictly_order_type(const String16& lhs, const String16& rhs) in strictly_order_type() argument
139 return compare_type(lhs, rhs) < 0; in strictly_order_type()
DTypeHelpers.h118 int strictly_order_type(const TYPE& lhs, const TYPE& rhs) {
119 return (lhs < rhs) ? 1 : 0;
123 int compare_type(const TYPE& lhs, const TYPE& rhs) {
124 return strictly_order_type(rhs, lhs) - strictly_order_type(lhs, rhs);
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;
DString8.h247 inline int compare_type(const String8& lhs, const String8& rhs) in ANDROID_TRIVIAL_MOVE_TRAIT()
249 return lhs.compare(rhs); in ANDROID_TRIVIAL_MOVE_TRAIT()
252 inline int strictly_order_type(const String8& lhs, const String8& rhs) in strictly_order_type() argument
254 return compare_type(lhs, rhs) < 0; in strictly_order_type()
DSortedVector.h133 virtual int do_compare(const void* lhs, const void* rhs) const;
273 int SortedVector<TYPE>::do_compare(const void* lhs, const void* rhs) const {
274 return compare_type( *reinterpret_cast<const TYPE*>(lhs), *reinterpret_cast<const TYPE*>(rhs) );
DVector.h171 typedef int (*compar_t)(const TYPE* lhs, const TYPE* rhs);
172 typedef int (*compar_r_t)(const TYPE* lhs, const TYPE* rhs, void* state);
/system/core/libpixelflinger/codeflinger/
DCodeCache.h125 const key_value_pair_t<CodeCache::key_t, CodeCache::cache_entry_t>& lhs, in compare_type() argument
128 return lhs.key.mKey->compare_type(*(rhs.key.mKey)); in compare_type()
/system/core/libpixelflinger/include/private/pixelflinger/
Dggl_context.h254 inline int compare_type(const needs_t& lhs, const needs_t& rhs) {
255 return memcmp(&lhs, &rhs, sizeof(needs_t));
/system/core/libutils/
DVectorImpl.cpp161 static int sortProxy(const void* lhs, const void* rhs, void* func) in sortProxy() argument
163 return (*(VectorImpl::compar_t)func)(lhs, rhs); in sortProxy()
/system/extras/perfprofd/tests/
Dperfprofd_test.cc113 static bool bothWhiteSpace(char lhs, char rhs) in bothWhiteSpace() argument
115 return (std::isspace(lhs) && std::isspace(rhs)); in bothWhiteSpace()