Lines Matching refs:String8

148 String8::String8()  in String8()  function in android::String8
153 String8::String8(StaticLinkage) in String8() function in android::String8
166 String8::String8(const String8& o) in String8() function in android::String8
172 String8::String8(const char* o) in String8() function in android::String8
180 String8::String8(const char* o, size_t len) in String8() function in android::String8
188 String8::String8(const String16& o) in String8() function in android::String8
193 String8::String8(const char16_t* o) in String8() function in android::String8
198 String8::String8(const char16_t* o, size_t len) in String8() function in android::String8
203 String8::String8(const char32_t* o) in String8() function in android::String8
208 String8::String8(const char32_t* o, size_t len) in String8() function in android::String8
213 String8::~String8() in ~String8()
218 size_t String8::length() const in length()
223 String8 String8::format(const char* fmt, ...) in format()
228 String8 result(formatV(fmt, args)); in format()
234 String8 String8::formatV(const char* fmt, va_list args) in formatV()
236 String8 result; in formatV()
241 void String8::clear() { in clear()
246 void String8::setTo(const String8& other) in setTo()
253 status_t String8::setTo(const char* other) in setTo()
264 status_t String8::setTo(const char* other, size_t len) in setTo()
275 status_t String8::setTo(const char16_t* other, size_t len) in setTo()
286 status_t String8::setTo(const char32_t* other, size_t len) in setTo()
297 status_t String8::append(const String8& other) in append()
310 status_t String8::append(const char* other) in append()
315 status_t String8::append(const char* other, size_t otherLen) in append()
326 status_t String8::appendFormat(const char* fmt, ...) in appendFormat()
337 status_t String8::appendFormatV(const char* fmt, va_list args) in appendFormatV()
362 status_t String8::real_append(const char* other, size_t otherLen) in real_append()
379 char* String8::lockBuffer(size_t size) in lockBuffer()
391 void String8::unlockBuffer() in unlockBuffer()
396 status_t String8::unlockBuffer(size_t size) in unlockBuffer()
413 ssize_t String8::find(const char* other, size_t start) const in find()
424 bool String8::removeAll(const char* other) { in removeAll()
448 void String8::toLower() in toLower()
453 void String8::toLower(size_t start, size_t length) in toLower()
472 void String8::toUpper() in toUpper()
477 void String8::toUpper(size_t start, size_t length) in toUpper()
496 size_t String8::getUtf32Length() const in getUtf32Length()
501 int32_t String8::getUtf32At(size_t index, size_t *next_index) const in getUtf32At()
506 void String8::getUtf32(char32_t* dst) const in getUtf32()
514 void String8::setPathName(const char* name) in setPathName()
519 void String8::setPathName(const char* name, size_t len) in setPathName()
534 String8 String8::getPathLeaf(void) const in getPathLeaf()
541 return String8(*this); in getPathLeaf()
543 return String8(cp+1); in getPathLeaf()
546 String8 String8::getPathDir(void) const in getPathDir()
553 return String8(""); in getPathDir()
555 return String8(str, cp - str); in getPathDir()
558 String8 String8::walkPath(String8* outRemains) const in walkPath()
572 String8 res = buf != str ? String8(buf) : *this; in walkPath()
573 if (outRemains) *outRemains = String8(""); in walkPath()
577 String8 res(buf, cp-buf); in walkPath()
578 if (outRemains) *outRemains = String8(cp+1); in walkPath()
587 char* String8::find_extension(void) const in find_extension()
609 String8 String8::getPathExtension(void) const in getPathExtension()
615 return String8(ext); in getPathExtension()
617 return String8(""); in getPathExtension()
620 String8 String8::getBasePath(void) const in getBasePath()
627 return String8(*this); in getBasePath()
629 return String8(str, ext - str); in getBasePath()
632 String8& String8::appendPath(const char* name) in appendPath()
669 String8& String8::convertToResPath() in convertToResPath()