Searched refs:other (Results 1 - 19 of 19) 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);
283 operator =(const String8& other) argument
289 operator =(const char* other) argument
295 operator +=(const String8& other) argument
308 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 DBitSet.h102 inline bool operator== (const BitSet32& other) const { return value == other.value; }
103 inline bool operator!= (const BitSet32& other) const { return value != other.value; }
104 inline BitSet32 operator& (const BitSet32& other) const {
105 return BitSet32(value & other.value);
107 inline BitSet32& operator&= (const BitSet32& other) { argument
108 value &= other.value;
111 inline BitSet32 operator| (const BitSet32& other) const {
112 return BitSet32(value | other
114 operator |=(const BitSet32& 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 DRefBase.h216 wp(T* other);
217 wp(const wp<T>& other);
218 wp(const sp<T>& other);
219 template<typename U> wp(U* other);
220 template<typename U> wp(const sp<U>& other);
221 template<typename U> wp(const wp<U>& other);
227 wp& operator = (T* other);
228 wp& operator = (const wp<T>& other);
229 wp& operator = (const sp<T>& other);
231 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/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 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
340 real_append(const char* other, size_t otherLen) argument
391 find(const char* other, size_t start) const argument
[all...]
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 DString16.cpp171 void String16::setTo(const String16& other) argument
173 SharedBuffer::bufferFromData(other.mString)->acquire();
175 mString = other.mString;
178 status_t String16::setTo(const String16& other, size_t len, size_t begin) argument
180 const size_t N = other.size();
188 setTo(other);
192 if (&other == this) {
196 return setTo(other.string()+begin, len);
199 status_t String16::setTo(const char16_t* other) argument
201 return setTo(other, strlen1
204 setTo(const char16_t* other, size_t len) argument
218 append(const String16& other) argument
[all...]
H A DLinearAllocator.cpp11 * documentation and/or other materials provided with the distribution.
106 Page(const Page& other) {} argument
/system/extras/tests/bionic/libc/
H A DAndroid.mk151 # Third, the other tests
154 other/bench_locks.c \
155 other/test_arc4random.c \
156 other/test_sysconf.c \
157 other/test_system.c \
158 other/test_thread_max.c \
159 other/test_timer_create.c \
160 other/test_timer_create2.c \
161 other/test_timer_create3.c \
162 other/test_vfprintf_lea
[all...]
/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 178 milliseconds