Home
last modified time | relevance | path

Searched refs:rhs (Results 1 – 25 of 28) sorted by relevance

12

/system/core/include/utils/
DVector.h53 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 …]
DSortedVector.h47 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 …]
DVectorImpl.h50 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;
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);
DBlobCache.h126 bool operator<(const Blob& rhs) const;
154 bool operator<(const CacheEntry& rhs) const;
DList.h96 _ListIterator(const _Iter& rhs) : mpNode(rhs.mpNode) {} in _ListIterator() argument
104 _ListIterator(const V& rhs) : mpNode(rhs.mpNode) {} in _ListIterator() argument
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()
DProcessCallStack.h38 ProcessCallStack(const ProcessCallStack& rhs);
DKeyedVector.h63 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/security/keystore/
Dauth_token_table.h110 void operator=(Entry&& rhs) {
111 token_ = std::move(rhs.token_);
112 time_received_ = rhs.time_received_;
113 last_use_ = rhs.last_use_;
114 operation_completed_ = rhs.operation_completed_;
117 bool operator<(const Entry& rhs) const { return last_use_ < rhs.last_use_; }
/system/core/libpixelflinger/codeflinger/
DCodeCache.h45 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()
DGGLAssembler.h63 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 …]
DARMAssembler.h162 ARMAssembler(const ARMAssembler& rhs);
163 ARMAssembler& operator = (const ARMAssembler& rhs);
DArm64Assembler.h179 ArmToArm64Assembler(const ArmToArm64Assembler& rhs);
180 ArmToArm64Assembler& operator = (const ArmToArm64Assembler& rhs);
/system/core/libutils/
DVectorImpl.cpp50 VectorImpl::VectorImpl(const VectorImpl& rhs) in VectorImpl() argument
51 : mStorage(rhs.mStorage), mCount(rhs.mCount), in VectorImpl()
52 mFlags(rhs.mFlags), mItemSize(rhs.mItemSize) in VectorImpl()
68 VectorImpl& VectorImpl::operator = (const VectorImpl& rhs) in operator =() argument
70 LOG_ALWAYS_FATAL_IF(mItemSize != rhs.mItemSize, in operator =()
71 "Vector<> have different types (this=%p, rhs=%p)", this, &rhs); in operator =()
72 if (this != &rhs) { in operator =()
74 if (rhs.mCount) { in operator =()
75 mStorage = rhs.mStorage; in operator =()
76 mCount = rhs.mCount; in operator =()
[all …]
DBlobCache.cpp328 bool BlobCache::Blob::operator<(const Blob& rhs) const { in operator <()
329 if (mSize == rhs.mSize) { in operator <()
330 return memcmp(mData, rhs.mData, mSize) < 0; in operator <()
332 return mSize < rhs.mSize; in operator <()
357 bool BlobCache::CacheEntry::operator<(const CacheEntry& rhs) const { in operator <()
358 return *mKey < *rhs.mKey; in operator <()
361 const BlobCache::CacheEntry& BlobCache::CacheEntry::operator=(const CacheEntry& rhs) { in operator =() argument
362 mKey = rhs.mKey; in operator =()
363 mValue = rhs.mValue; in operator =()
DProcessCallStack.cpp118 ProcessCallStack::ProcessCallStack(const ProcessCallStack& rhs) : in ProcessCallStack() argument
119 mThreadMap(rhs.mThreadMap), in ProcessCallStack()
120 mTimeUpdated(rhs.mTimeUpdated) { in ProcessCallStack()
/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()
221 RHS rhs; member
226 static inline EagerEvaluator<LHS, RHS> MakeEagerEvaluator(LHS lhs, RHS rhs) { in MakeEagerEvaluator() argument
227 return EagerEvaluator<LHS, RHS>(lhs, rhs); in MakeEagerEvaluator()
239 rhs(reinterpret_cast<const void*>(r)) { \
242 const void* rhs; \
/system/keymaster/
Doperation.h47 bool operator==(const KeyType& rhs) const {
48 return algorithm == rhs.algorithm && purpose == rhs.purpose;
DList.h96 _ListIterator(const _Iter& rhs) : mpNode(rhs.mpNode) {} in _ListIterator() argument
104 _ListIterator(const V& rhs) : mpNode(rhs.mpNode) {} in _ListIterator() argument
/system/core/libpixelflinger/include/private/pixelflinger/
Dggl_context.h240 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/
DList.h97 _ListIterator(const _Iter& rhs) : mpNode(rhs.mpNode) {} in _ListIterator() argument
105 _ListIterator(const V& rhs) : mpNode(rhs.mpNode) {} in _ListIterator() argument
/system/netd/server/
DList.h97 _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/
Dsync_test.cpp104 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 =()

12