Searched refs:other (Results 1 - 22 of 22) sorted by relevance

/system/core/include/utils/
H A DString8.h76 void setTo(const String8& other);
77 status_t setTo(const char* other);
78 status_t setTo(const char* other, size_t numChars);
79 status_t setTo(const char16_t* other, size_t numChars);
80 status_t setTo(const char32_t* other,
83 status_t append(const String8& other);
84 status_t append(const char* other);
85 status_t append(const char* other, size_t numChars);
98 inline String8& operator=(const String8& other);
99 inline String8& operator=(const char* other);
296 operator =(const String8& other) argument
302 operator =(const char* other) argument
308 operator +=(const String8& other) argument
321 operator +=(const char* other) argument
[all...]
H A DString16.h71 void setTo(const String16& other);
72 status_t setTo(const char16_t* other);
73 status_t setTo(const char16_t* other, size_t len);
74 status_t setTo(const String16& other,
78 status_t append(const String16& other);
79 status_t append(const char16_t* other, size_t len);
81 inline String16& operator=(const String16& other);
83 inline String16& operator+=(const String16& other);
84 inline String16 operator+(const String16& other) const;
103 inline int compare(const String16& other) cons
157 operator =(const String16& other) argument
163 operator +=(const String16& other) argument
[all...]
H A DStrongPointer.h63 sp(T* other);
64 sp(const sp<T>& other);
65 template<typename U> sp(U* other);
66 template<typename U> sp(const sp<U>& other);
72 sp& operator = (T* other);
73 sp& operator = (const sp<T>& other);
75 template<typename U> sp& operator = (const sp<U>& other);
76 template<typename U> sp& operator = (U* other);
79 void force_set(T* other);
113 sp<T>::sp(T* other)
120 sp(const sp<T>& other) argument
127 sp(U* other) argument
134 sp(const sp<U>& other) argument
147 operator =(const sp<T>& other) argument
158 operator =(T* other) argument
168 operator =(const sp<U>& other) argument
179 operator =(U* other) argument
189 force_set(T* other) argument
[all...]
H A DBitSet.h132 inline bool operator== (const BitSet32& other) const { return value == other.value; }
133 inline bool operator!= (const BitSet32& other) const { return value != other.value; }
134 inline BitSet32 operator& (const BitSet32& other) const {
135 return BitSet32(value & other.value);
137 inline BitSet32& operator&= (const BitSet32& other) { argument
138 value &= other.value;
141 inline BitSet32 operator| (const BitSet32& other) const {
142 return BitSet32(value | other
144 operator |=(const BitSet32& other) argument
277 operator &=(const BitSet64& other) argument
284 operator |=(const BitSet64& other) argument
[all...]
H A DRefBase.h223 wp(T* other);
224 wp(const wp<T>& other);
225 wp(const sp<T>& other);
226 template<typename U> wp(U* other);
227 template<typename U> wp(const sp<U>& other);
228 template<typename U> wp(const wp<U>& other);
234 wp& operator = (T* other);
235 wp& operator = (const wp<T>& other);
236 wp& operator = (const sp<T>& other);
238 template<typename U> wp& operator = (U* other);
[all...]
H A DBasicHashtable.h54 BasicHashtableImpl(const BasicHashtableImpl& other);
65 void setTo(const BasicHashtableImpl& other);
160 * bool operator==(const TKey& other) const; // return true if equal
161 * bool operator!=(const TKey& other) const; // return true if unequal
186 BasicHashtable(const BasicHashtable& other);
192 /* Making this hashtable a copy of the other hashtable.
195 * other: The hashtable to copy.
197 inline BasicHashtable<TKey, TEntry>& operator =(const BasicHashtable<TKey, TEntry> & other) { argument
198 setTo(other);
368 BasicHashtable<TKey, TEntry>::BasicHashtable(const BasicHashtable<TKey, TEntry>& other) argument
[all...]
H A DLinearAllocator.h11 * documentation and/or other materials provided with the distribution.
72 LinearAllocator(const LinearAllocator& other);
H A DTokenizer.h119 Tokenizer(const Tokenizer& other); // not copyable
/system/core/libpixelflinger/codeflinger/tinyutils/
H A Dsmartpointer.h54 sp(T* other);
55 sp(const sp<T>& other);
56 template<typename U> sp(U* other);
57 template<typename U> sp(const sp<U>& other);
63 sp& operator = (T* other);
64 sp& operator = (const sp<T>& other);
66 template<typename U> sp& operator = (const sp<U>& other);
67 template<typename U> sp& operator = (U* other);
97 sp<T>::sp(T* other)
98 : m_ptr(other)
104 sp(const sp<T>& other) argument
111 sp(U* other) argument
117 sp(const sp<U>& other) argument
130 operator =(const sp<T>& other) argument
138 operator =(T* other) argument
147 operator =(const sp<U>& other) argument
156 operator =(U* other) argument
[all...]
/system/core/libutils/tests/
H A DVector_test.cpp41 Vector<int> other; local
51 other = vector;
53 EXPECT_EQ(other.size(), 3);
60 EXPECT_EQ(other.size(), 3);
63 other.add(5);
67 EXPECT_EQ(other.size(), 4);
71 EXPECT_EQ(other[3], 5);
H A DLruCache_test.cpp35 ComplexKey(const ComplexKey& other) : k(other.k) { argument
43 bool operator ==(const ComplexKey& other) const {
44 return k == other.k;
47 bool operator !=(const ComplexKey& other) const {
48 return k != other.k;
67 ComplexValue(const ComplexValue& other) : v(other.v) { argument
H A DBasicHashtable_test.cpp38 ComplexKey(const ComplexKey& other) : k(other.k) { argument
46 bool operator ==(const ComplexKey& other) const {
47 return k == other.k;
50 bool operator !=(const ComplexKey& other) const {
51 return k != other.k;
70 ComplexValue(const ComplexValue& other) : v(other.v) { argument
/system/netd/server/
H A DUidRanges.h33 void add(const UidRanges& other);
34 void remove(const UidRanges& other);
H A DUidRanges.cpp61 // Not a single uid, not a range. Found some other illegal char.
74 void UidRanges::add(const UidRanges& other) { argument
75 auto middle = mRanges.insert(mRanges.end(), other.mRanges.begin(), other.mRanges.end());
79 void UidRanges::remove(const UidRanges& other) { argument
80 auto end = std::set_difference(mRanges.begin(), mRanges.end(), other.mRanges.begin(),
81 other.mRanges.end(), mRanges.begin());
/system/extras/tests/bionic/libc/common/
H A Dtest_cpu_set.c12 * the documentation and/or other materials provided with the
69 cpu_set_t other[1]; local
72 memset(other, 0, sizeof *other);
73 TEST_INT_EQ(CPU_COUNT(other),0);
78 T(CPU_EQUAL(set, other));
79 T(CPU_EQUAL(other, set));
93 T(CPU_EQUAL(set, other));
126 T(CPU_EQUAL(set, other));
133 cpu_set_t* other; local
[all...]
/system/core/libutils/
H A DBasicHashtable.cpp35 BasicHashtableImpl::BasicHashtableImpl(const BasicHashtableImpl& other) : argument
36 mBucketSize(other.mBucketSize), mHasTrivialDestructor(other.mHasTrivialDestructor),
37 mCapacity(other.mCapacity), mLoadFactor(other.mLoadFactor),
38 mSize(other.mSize), mFilledBuckets(other.mFilledBuckets),
39 mBucketCount(other.mBucketCount), mBuckets(other.mBuckets) {
64 void BasicHashtableImpl::setTo(const BasicHashtableImpl& other) { argument
[all...]
H A DString8.cpp233 void String8::setTo(const String8& other) argument
235 SharedBuffer::bufferFromData(other.mString)->acquire();
237 mString = other.mString;
240 status_t String8::setTo(const char* other) argument
242 const char *newString = allocFromUTF8(other, strlen(other));
251 status_t String8::setTo(const char* other, size_t len) argument
253 const char *newString = allocFromUTF8(other, len);
262 status_t String8::setTo(const char16_t* other, size_t len) argument
264 const char *newString = allocFromUTF16(other, le
273 setTo(const char32_t* other, size_t len) argument
284 append(const String8& other) argument
297 append(const char* other) argument
302 append(const char* other, size_t otherLen) argument
349 real_append(const char* other, size_t otherLen) argument
400 find(const char* other, size_t start) const argument
411 removeAll(const char* other) argument
[all...]
H A DString16.cpp168 void String16::setTo(const String16& other) argument
170 SharedBuffer::bufferFromData(other.mString)->acquire();
172 mString = other.mString;
175 status_t String16::setTo(const String16& other, size_t len, size_t begin) argument
177 const size_t N = other.size();
185 setTo(other);
189 if (&other == this) {
193 return setTo(other.string()+begin, len);
196 status_t String16::setTo(const char16_t* other) argument
198 return setTo(other, strlen1
201 setTo(const char16_t* other, size_t len) argument
215 append(const String16& other) argument
[all...]
/system/extras/tests/bionic/libc/
H A DAndroid.mk138 # Third, the other tests
141 other/test_sysconf.c \
142 other/test_vfprintf_leak.c \
/system/core/fastbootd/
H A DAndroid.mk68 other/gptedit.c \
/system/keymaster/include/keymaster/
H A Dserializable.h216 void operator=(const Buffer& other);
/system/core/libpixelflinger/
H A Dtrap.cpp779 Edge* other = &edges[2]; local
787 other = &edges[0];
790 other = &edges[1];
803 ((left->y_bot == y_bot) ? right : left) = other;
804 if (other->y_top < y_mid) {
805 other->x += other->x_incr;

Completed in 496 milliseconds