Lines Matching refs:other
74 void setTo(const String8& other);
75 status_t setTo(const char* other);
76 status_t setTo(const char* other, size_t numChars);
77 status_t setTo(const char16_t* other, size_t numChars);
78 status_t setTo(const char32_t* other,
81 status_t append(const String8& other);
82 status_t append(const char* other);
83 status_t append(const char* other, size_t numChars);
96 inline String8& operator=(const String8& other);
97 inline String8& operator=(const char* other);
99 inline String8& operator+=(const String8& other);
100 inline String8 operator+(const String8& other) const;
102 inline String8& operator+=(const char* other);
103 inline String8 operator+(const char* other) const;
105 inline int compare(const String8& other) const;
107 inline bool operator<(const String8& other) const;
108 inline bool operator<=(const String8& other) const;
109 inline bool operator==(const String8& other) const;
110 inline bool operator!=(const String8& other) const;
111 inline bool operator>=(const String8& other) const;
112 inline bool operator>(const String8& other) const;
114 inline bool operator<(const char* other) const;
115 inline bool operator<=(const char* other) const;
116 inline bool operator==(const char* other) const;
117 inline bool operator!=(const char* other) const;
118 inline bool operator>=(const char* other) const;
119 inline bool operator>(const char* other) const;
127 // return the index of the first byte of other in this at or after
129 ssize_t find(const char* other, size_t start = 0) const;
132 inline bool contains(const char* other) const;
136 bool removeAll(const char* other);
232 status_t real_append(const char* other, size_t numChars);
279 inline bool String8::contains(const char* other) const
281 return find(other) >= 0;
284 inline String8& String8::operator=(const String8& other)
286 setTo(other);
290 inline String8& String8::operator=(const char* other)
292 setTo(other);
296 inline String8& String8::operator+=(const String8& other)
298 append(other);
302 inline String8 String8::operator+(const String8& other) const
305 tmp += other;
309 inline String8& String8::operator+=(const char* other)
311 append(other);
315 inline String8 String8::operator+(const char* other) const
318 tmp += other;
322 inline int String8::compare(const String8& other) const
324 return strcmp(mString, other.mString);
327 inline bool String8::operator<(const String8& other) const
329 return strcmp(mString, other.mString) < 0;
332 inline bool String8::operator<=(const String8& other) const
334 return strcmp(mString, other.mString) <= 0;
337 inline bool String8::operator==(const String8& other) const
339 return strcmp(mString, other.mString) == 0;
342 inline bool String8::operator!=(const String8& other) const
344 return strcmp(mString, other.mString) != 0;
347 inline bool String8::operator>=(const String8& other) const
349 return strcmp(mString, other.mString) >= 0;
352 inline bool String8::operator>(const String8& other) const
354 return strcmp(mString, other.mString) > 0;
357 inline bool String8::operator<(const char* other) const
359 return strcmp(mString, other) < 0;
362 inline bool String8::operator<=(const char* other) const
364 return strcmp(mString, other) <= 0;
367 inline bool String8::operator==(const char* other) const
369 return strcmp(mString, other) == 0;
372 inline bool String8::operator!=(const char* other) const
374 return strcmp(mString, other) != 0;
377 inline bool String8::operator>=(const char* other) const
379 return strcmp(mString, other) >= 0;
382 inline bool String8::operator>(const char* other) const
384 return strcmp(mString, other) > 0;