Lines Matching defs:other
221 void String8::setTo(const String8& other)
223 SharedBuffer::bufferFromData(other.mString)->acquire();
225 mString = other.mString;
228 status_t String8::setTo(const char* other)
230 const char *newString = allocFromUTF8(other, strlen(other));
239 status_t String8::setTo(const char* other, size_t len)
241 const char *newString = allocFromUTF8(other, len);
250 status_t String8::setTo(const char16_t* other, size_t len)
252 const char *newString = allocFromUTF16(other, len);
261 status_t String8::setTo(const char32_t* other, size_t len)
263 const char *newString = allocFromUTF32(other, len);
272 status_t String8::append(const String8& other)
274 const size_t otherLen = other.bytes();
276 setTo(other);
282 return real_append(other.string(), otherLen);
285 status_t String8::append(const char* other)
287 return append(other, strlen(other));
290 status_t String8::append(const char* other, size_t otherLen)
293 return setTo(other, otherLen);
298 return real_append(other, otherLen);
328 status_t String8::real_append(const char* other, size_t otherLen)
338 memcpy(str, other, otherLen);
379 ssize_t String8::find(const char* other, size_t start) const
386 const char* p = strstr(s, other);