Home
last modified time | relevance | path

Searched refs:other (Results 1 – 25 of 61) sorted by relevance

123

/system/core/include/utils/
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) const;
[all …]
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);
[all …]
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) in sp() argument
[all …]
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 …]
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) {
138 value &= other.value;
141 inline BitSet32 operator| (const BitSet32& other) const {
142 return BitSet32(value | other.value);
144 inline BitSet32& operator|= (const BitSet32& other) {
145 value |= other.value;
[all …]
DBasicHashtable.h54 BasicHashtableImpl(const BasicHashtableImpl& other);
65 void setTo(const BasicHashtableImpl& other);
186 BasicHashtable(const BasicHashtable& other);
197 inline BasicHashtable<TKey, TEntry>& operator =(const BasicHashtable<TKey, TEntry> & other) {
198 setTo(other);
368 BasicHashtable<TKey, TEntry>::BasicHashtable(const BasicHashtable<TKey, TEntry>& other) : in BasicHashtable() argument
369 BasicHashtableImpl(other) { in BasicHashtable()
DTokenizer.h119 Tokenizer(const Tokenizer& other); // not copyable
/system/core/libpixelflinger/codeflinger/tinyutils/
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) in sp() argument
98 : m_ptr(other) in sp()
[all …]
/system/core/libutils/tests/
DVector_test.cpp41 Vector<int> other; in TEST_F() local
51 other = vector; in TEST_F()
53 EXPECT_EQ(other.size(), 3); in TEST_F()
60 EXPECT_EQ(other.size(), 3); in TEST_F()
63 other.add(5); in TEST_F()
67 EXPECT_EQ(other.size(), 4); in TEST_F()
71 EXPECT_EQ(other[3], 5); in TEST_F()
DLruCache_test.cpp35 ComplexKey(const ComplexKey& other) : k(other.k) { in ComplexKey()
43 bool operator ==(const ComplexKey& other) const { in operator ==()
44 return k == other.k; in operator ==()
47 bool operator !=(const ComplexKey& other) const { in operator !=()
48 return k != other.k; in operator !=()
63 ComplexValue(const ComplexValue& other) : v(other.v) { in ComplexValue()
DBasicHashtable_test.cpp38 ComplexKey(const ComplexKey& other) : k(other.k) { in ComplexKey()
46 bool operator ==(const ComplexKey& other) const { in operator ==()
47 return k == other.k; in operator ==()
50 bool operator !=(const ComplexKey& other) const { in operator !=()
51 return k != other.k; in operator !=()
66 ComplexValue(const ComplexValue& other) : v(other.v) { in ComplexValue()
/system/core/libutils/
DString8.cpp239 void String8::setTo(const String8& other) in setTo() argument
241 SharedBuffer::bufferFromData(other.mString)->acquire(); in setTo()
243 mString = other.mString; in setTo()
246 status_t String8::setTo(const char* other) in setTo() argument
248 const char *newString = allocFromUTF8(other, strlen(other)); in setTo()
257 status_t String8::setTo(const char* other, size_t len) in setTo() argument
259 const char *newString = allocFromUTF8(other, len); in setTo()
268 status_t String8::setTo(const char16_t* other, size_t len) in setTo() argument
270 const char *newString = allocFromUTF16(other, len); in setTo()
279 status_t String8::setTo(const char32_t* other, size_t len) in setTo() argument
[all …]
DBasicHashtable.cpp35 BasicHashtableImpl::BasicHashtableImpl(const BasicHashtableImpl& other) : in BasicHashtableImpl() argument
36 mBucketSize(other.mBucketSize), mHasTrivialDestructor(other.mHasTrivialDestructor), in BasicHashtableImpl()
37 mCapacity(other.mCapacity), mLoadFactor(other.mLoadFactor), in BasicHashtableImpl()
38 mSize(other.mSize), mFilledBuckets(other.mFilledBuckets), in BasicHashtableImpl()
39 mBucketCount(other.mBucketCount), mBuckets(other.mBuckets) { in BasicHashtableImpl()
64 void BasicHashtableImpl::setTo(const BasicHashtableImpl& other) { in setTo() argument
69 mCapacity = other.mCapacity; in setTo()
70 mLoadFactor = other.mLoadFactor; in setTo()
71 mSize = other.mSize; in setTo()
72 mFilledBuckets = other.mFilledBuckets; in setTo()
[all …]
DString16.cpp168 void String16::setTo(const String16& other) in setTo() argument
170 SharedBuffer::bufferFromData(other.mString)->acquire(); in setTo()
172 mString = other.mString; in setTo()
175 status_t String16::setTo(const String16& other, size_t len, size_t begin) in setTo() argument
177 const size_t N = other.size(); in setTo()
185 setTo(other); in setTo()
189 if (&other == this) { in setTo()
193 return setTo(other.string()+begin, len); in setTo()
196 status_t String16::setTo(const char16_t* other) in setTo() argument
198 return setTo(other, strlen16(other)); in setTo()
[all …]
/system/netd/server/
DUidRanges.cpp74 void UidRanges::add(const UidRanges& other) { in add() argument
75 auto middle = mRanges.insert(mRanges.end(), other.mRanges.begin(), other.mRanges.end()); in add()
79 void UidRanges::remove(const UidRanges& other) { in remove() argument
80 auto end = std::set_difference(mRanges.begin(), mRanges.end(), other.mRanges.begin(), in remove()
81 other.mRanges.end(), mRanges.begin()); in remove()
DUidRanges.h33 void add(const UidRanges& other);
34 void remove(const UidRanges& other);
/system/extras/perfprofd/quipper/
Dperf_parser.h32 bool operator<(const DSOInfo& other) const {
33 if (name == other.name)
34 return build_id < other.build_id;
35 return name < other.name;
/system/extras/tests/bionic/libc/
DREADME.TXT9 All test programs, except those in the 'other' directory, should exit
21 other/
/system/core/toolbox/
DNOTICE27 the documentation and/or other materials provided with the
55 documentation and/or other materials provided with the distribution.
84 documentation and/or other materials provided with the distribution.
116 documentation and/or other materials provided with the distribution.
145 documentation and/or other materials provided with the distribution.
177 documentation and/or other materials provided with the distribution.
206 documentation and/or other materials provided with the distribution.
235 documentation and/or other materials provided with the distribution.
267 documentation and/or other materials provided with the distribution.
299 documentation and/or other materials provided with the distribution.
[all …]
/system/extras/timeinfo/
DNOTICE29 other entities that control, are controlled by, or are under common
46 and conversions to other media types.
55 editorial revisions, annotations, elaborations, or other modifications
107 (a) You must give any other recipients of the Work or
175 other commercial damages or losses), even if such Contributor
181 or other liability obligations and/or rights consistent with this
184 of any other Contributor, and only if You agree to indemnify,
/system/core/libpixelflinger/
DNOTICE29 other entities that control, are controlled by, or are under common
46 and conversions to other media types.
55 editorial revisions, annotations, elaborations, or other modifications
107 (a) You must give any other recipients of the Work or
175 other commercial damages or losses), even if such Contributor
181 or other liability obligations and/or rights consistent with this
184 of any other Contributor, and only if You agree to indemnify,
/system/extras/ext4_utils/
DNOTICE29 other entities that control, are controlled by, or are under common
46 and conversions to other media types.
55 editorial revisions, annotations, elaborations, or other modifications
107 (a) You must give any other recipients of the Work or
175 other commercial damages or losses), even if such Contributor
181 or other liability obligations and/or rights consistent with this
184 of any other Contributor, and only if You agree to indemnify,
/system/extras/ksmutils/
DNOTICE29 other entities that control, are controlled by, or are under common
46 and conversions to other media types.
55 editorial revisions, annotations, elaborations, or other modifications
107 (a) You must give any other recipients of the Work or
175 other commercial damages or losses), even if such Contributor
181 or other liability obligations and/or rights consistent with this
184 of any other Contributor, and only if You agree to indemnify,
/system/core/init/
DNOTICE29 other entities that control, are controlled by, or are under common
46 and conversions to other media types.
55 editorial revisions, annotations, elaborations, or other modifications
107 (a) You must give any other recipients of the Work or
175 other commercial damages or losses), even if such Contributor
181 or other liability obligations and/or rights consistent with this
184 of any other Contributor, and only if You agree to indemnify,
/system/core/debuggerd/
DNOTICE29 other entities that control, are controlled by, or are under common
46 and conversions to other media types.
55 editorial revisions, annotations, elaborations, or other modifications
107 (a) You must give any other recipients of the Work or
175 other commercial damages or losses), even if such Contributor
181 or other liability obligations and/or rights consistent with this
184 of any other Contributor, and only if You agree to indemnify,

123