Searched refs:lhs (Results 1 – 10 of 10) sorted by relevance
/system/keymaster/ |
D | authorization_set.cpp | 138 const keymaster_key_param_t* lhs = static_cast<const keymaster_key_param_t*>(a); in param_comparator() local 141 if (lhs->tag < rhs->tag) in param_comparator() 143 else if (lhs->tag > rhs->tag) in param_comparator() 146 switch (keymaster_tag_get_type(lhs->tag)) { in param_comparator() 152 return comparator(lhs->enumerated, rhs->enumerated); in param_comparator() 155 return comparator(lhs->integer, rhs->integer); in param_comparator() 157 return comparator(lhs->long_integer, rhs->long_integer); in param_comparator() 159 return comparator(lhs->date_time, rhs->date_time); in param_comparator() 161 return comparator(lhs->boolean, rhs->boolean); in param_comparator() 164 size_t min_len = lhs->blob.data_length; in param_comparator() [all …]
|
/system/core/include/utils/ |
D | String16.h | 132 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()
|
D | TypeHelpers.h | 118 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);
|
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;
|
D | String8.h | 247 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()
|
D | SortedVector.h | 133 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) );
|
D | Vector.h | 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);
|
/system/core/libpixelflinger/codeflinger/ |
D | CodeCache.h | 125 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/include/private/pixelflinger/ |
D | ggl_context.h | 254 inline int compare_type(const needs_t& lhs, const needs_t& rhs) { 255 return memcmp(&lhs, &rhs, sizeof(needs_t));
|
/system/core/libutils/ |
D | VectorImpl.cpp | 161 static int sortProxy(const void* lhs, const void* rhs, void* func) in sortProxy() argument 163 return (*(VectorImpl::compar_t)func)(lhs, rhs); in sortProxy()
|