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