/system/core/include/utils/ |
D | Vector.h | 53 Vector(const Vector<TYPE>& rhs); 54 explicit Vector(const SortedVector<TYPE>& rhs); 58 const Vector<TYPE>& operator = (const Vector<TYPE>& rhs) const; 59 Vector<TYPE>& operator = (const Vector<TYPE>& rhs); 61 const Vector<TYPE>& operator = (const SortedVector<TYPE>& rhs) const; 62 Vector<TYPE>& operator = (const SortedVector<TYPE>& rhs); 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); 229 Vector<TYPE>::Vector(const Vector<TYPE>& rhs) 230 : VectorImpl(rhs) { [all …]
|
D | SortedVector.h | 47 SortedVector(const SortedVector<TYPE>& rhs); 51 const SortedVector<TYPE>& operator = (const SortedVector<TYPE>& rhs) const; 52 SortedVector<TYPE>& operator = (const SortedVector<TYPE>& rhs); 133 virtual int do_compare(const void* lhs, const void* rhs) const; 155 SortedVector<TYPE>::SortedVector(const SortedVector<TYPE>& rhs) 156 : SortedVectorImpl(rhs) { 165 SortedVector<TYPE>& SortedVector<TYPE>::operator = (const SortedVector<TYPE>& rhs) { 166 SortedVectorImpl::operator = (rhs); 171 const SortedVector<TYPE>& SortedVector<TYPE>::operator = (const SortedVector<TYPE>& rhs) const { 172 SortedVectorImpl::operator = (rhs); [all …]
|
D | VectorImpl.h | 50 VectorImpl(const VectorImpl& rhs); 56 VectorImpl& operator = (const VectorImpl& rhs); 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); 135 SortedVectorImpl(const VectorImpl& rhs); 138 SortedVectorImpl& operator = (const SortedVectorImpl& rhs); 157 virtual int do_compare(const void* lhs, const void* rhs) const = 0;
|
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 | BlobCache.h | 126 bool operator<(const Blob& rhs) const; 154 bool operator<(const CacheEntry& rhs) const;
|
D | List.h | 96 _ListIterator(const _Iter& rhs) : mpNode(rhs.mpNode) {} in _ListIterator() argument 104 _ListIterator(const V& rhs) : mpNode(rhs.mpNode) {} in _ListIterator() argument
|
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 | ProcessCallStack.h | 38 ProcessCallStack(const ProcessCallStack& rhs);
|
D | KeyedVector.h | 63 inline bool isIdenticalTo(const KeyedVector& rhs) const; 132 bool KeyedVector<KEY,VALUE>::isIdenticalTo(const KeyedVector<KEY,VALUE>& rhs) const { 133 return mVector.array() == rhs.mVector.array();
|
/system/core/libpixelflinger/codeflinger/ |
D | CodeCache.h | 45 AssemblyKey(const T& rhs) : mKey(rhs) { } in AssemblyKey() argument 47 const T& rhs = static_cast<const AssemblyKey&>(key).mKey; in compare_type() local 48 return android::compare_type(mKey, rhs); in compare_type() 126 const key_value_pair_t<CodeCache::key_t, CodeCache::cache_entry_t>& rhs) in compare_type() argument 128 return lhs.key.mKey->compare_type(*(rhs.key.mKey)); in compare_type()
|
D | GGLAssembler.h | 63 RegisterFile(const RegisterFile& rhs, int arch); 68 bool operator == (const RegisterFile& rhs) const; 69 bool operator != (const RegisterFile& rhs) const { 70 return !operator == (rhs); 260 explicit component_t(const integer_t& rhs) in component_t() 261 : reg_t(rhs.reg, rhs.flags), h(rhs.s), l(0) { in component_t() 263 explicit component_t(const pixel_t& rhs, int component) { in component_t() 264 setTo( rhs.reg, in component_t() 265 rhs.format.c[component].l, in component_t() 266 rhs.format.c[component].h, in component_t() [all …]
|
/system/core/libpixelflinger/codeflinger/tinyutils/ |
D | SortedVector.h | 44 SortedVector(const SortedVector<TYPE>& rhs); 48 const SortedVector<TYPE>& operator = (const SortedVector<TYPE>& rhs) const; 49 SortedVector<TYPE>& operator = (const SortedVector<TYPE>& rhs); 132 virtual int do_compare(const void* lhs, const void* rhs) const; 152 SortedVector<TYPE>::SortedVector(const SortedVector<TYPE>& rhs) in SortedVector() argument 153 : SortedVectorImpl(rhs) { in SortedVector() 162 SortedVector<TYPE>& SortedVector<TYPE>::operator = (const SortedVector<TYPE>& rhs) { 163 SortedVectorImpl::operator = (rhs); 168 const SortedVector<TYPE>& SortedVector<TYPE>::operator = (const SortedVector<TYPE>& rhs) const { 169 SortedVectorImpl::operator = (rhs); [all …]
|
D | VectorImpl.cpp | 51 VectorImpl::VectorImpl(const VectorImpl& rhs) in VectorImpl() argument 52 : mStorage(rhs.mStorage), mCount(rhs.mCount), in VectorImpl() 53 mFlags(rhs.mFlags), mItemSize(rhs.mItemSize) in VectorImpl() 70 VectorImpl& VectorImpl::operator = (const VectorImpl& rhs) in operator =() argument 72 ALOG_ASSERT(mItemSize == rhs.mItemSize, in operator =() 73 "Vector<> have different types (this=%p, rhs=%p)", this, &rhs); in operator =() 74 if (this != &rhs) { in operator =() 76 if (rhs.mCount) { in operator =() 77 mStorage = rhs.mStorage; in operator =() 78 mCount = rhs.mCount; in operator =() [all …]
|
D | Vector.h | 52 Vector(const Vector<TYPE>& rhs); 56 const Vector<TYPE>& operator = (const Vector<TYPE>& rhs) const; 57 Vector<TYPE>& operator = (const Vector<TYPE>& rhs); 156 typedef int (*compar_t)(const TYPE* lhs, const TYPE* rhs); 157 typedef int (*compar_r_t)(const TYPE* lhs, const TYPE* rhs, void* state); 188 Vector<TYPE>::Vector(const Vector<TYPE>& rhs) in Vector() argument 189 : VectorImpl(rhs) { in Vector() 198 Vector<TYPE>& Vector<TYPE>::operator = (const Vector<TYPE>& rhs) { 199 VectorImpl::operator = (rhs); 204 const Vector<TYPE>& Vector<TYPE>::operator = (const Vector<TYPE>& rhs) const { [all …]
|
D | VectorImpl.h | 51 VectorImpl(const VectorImpl& rhs); 57 VectorImpl& operator = (const VectorImpl& rhs); 138 SortedVectorImpl(const VectorImpl& rhs); 141 SortedVectorImpl& operator = (const SortedVectorImpl& rhs); 160 virtual int do_compare(const void* lhs, const void* rhs) const = 0;
|
D | TypeHelpers.h | 105 int strictly_order_type(const TYPE& lhs, const TYPE& rhs) { 106 return (lhs < rhs) ? 1 : 0; 110 int compare_type(const TYPE& lhs, const TYPE& rhs) { 111 return strictly_order_type(rhs, lhs) - strictly_order_type(lhs, rhs);
|
/system/core/libutils/ |
D | VectorImpl.cpp | 49 VectorImpl::VectorImpl(const VectorImpl& rhs) in VectorImpl() argument 50 : mStorage(rhs.mStorage), mCount(rhs.mCount), in VectorImpl() 51 mFlags(rhs.mFlags), mItemSize(rhs.mItemSize) in VectorImpl() 67 VectorImpl& VectorImpl::operator = (const VectorImpl& rhs) in operator =() argument 69 LOG_ALWAYS_FATAL_IF(mItemSize != rhs.mItemSize, in operator =() 70 "Vector<> have different types (this=%p, rhs=%p)", this, &rhs); in operator =() 71 if (this != &rhs) { in operator =() 73 if (rhs.mCount) { in operator =() 74 mStorage = rhs.mStorage; in operator =() 75 mCount = rhs.mCount; in operator =() [all …]
|
D | BlobCache.cpp | 319 bool BlobCache::Blob::operator<(const Blob& rhs) const { in operator <() 320 if (mSize == rhs.mSize) { in operator <() 321 return memcmp(mData, rhs.mData, mSize) < 0; in operator <() 323 return mSize < rhs.mSize; in operator <() 348 bool BlobCache::CacheEntry::operator<(const CacheEntry& rhs) const { in operator <() 349 return *mKey < *rhs.mKey; in operator <() 352 const BlobCache::CacheEntry& BlobCache::CacheEntry::operator=(const CacheEntry& rhs) { in operator =() argument 353 mKey = rhs.mKey; in operator =() 354 mValue = rhs.mValue; in operator =()
|
D | ProcessCallStack.cpp | 118 ProcessCallStack::ProcessCallStack(const ProcessCallStack& rhs) : in ProcessCallStack() argument 119 mThreadMap(rhs.mThreadMap), in ProcessCallStack() 120 mTimeUpdated(rhs.mTimeUpdated) { in ProcessCallStack()
|
/system/keymaster/ |
D | authorization_set.cpp | 139 const keymaster_key_param_t* rhs = static_cast<const keymaster_key_param_t*>(b); in param_comparator() local 141 if (lhs->tag < rhs->tag) in param_comparator() 143 else if (lhs->tag > rhs->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() 165 if (rhs->blob.data_length < min_len) in param_comparator() 166 min_len = rhs->blob.data_length; in param_comparator() [all …]
|
/system/core/include/private/pixelflinger/ |
D | ggl_context.h | 240 inline bool operator == (const needs_t& rhs) const { 241 return (n==rhs.n) && 242 (p==rhs.p) && 243 (t[0]==rhs.t[0]) && 244 (t[1]==rhs.t[1]); 246 inline bool operator != (const needs_t& rhs) const { 247 return !operator == (rhs); 254 inline int compare_type(const needs_t& lhs, const needs_t& rhs) { 255 return memcmp(&lhs, &rhs, sizeof(needs_t));
|
/system/core/include/sysutils/ |
D | List.h | 97 _ListIterator(const _Iter& rhs) : mpNode(rhs.mpNode) {} in _ListIterator() argument 105 _ListIterator(const V& rhs) : mpNode(rhs.mpNode) {} in _ListIterator() argument
|
/system/netd/server/ |
D | List.h | 97 _ListIterator(const _Iter& rhs) : mpNode(rhs.mpNode) {} in _ListIterator() argument 105 _ListIterator(const V& rhs) : mpNode(rhs.mpNode) {} in _ListIterator() argument
|
/system/core/libsync/tests/ |
D | sync_test.cpp | 104 SyncFence& operator=(SyncFence &&rhs) noexcept { in operator =() argument 106 if (rhs.isValid()) { in operator =() 107 setFd(rhs.getFd()); in operator =() 108 rhs.clearFd(); in operator =()
|