Lines Matching refs:String8

125 String8::String8()  in String8()  function in android::String8
130 String8::String8(const String8& o) in String8() function in android::String8
136 String8::String8(const char* o) in String8() function in android::String8
144 String8::String8(const char* o, size_t len) in String8() function in android::String8
152 String8::String8(const String16& o) in String8() function in android::String8
157 String8::String8(const char16_t* o) in String8() function in android::String8
162 String8::String8(const char16_t* o, size_t len) in String8() function in android::String8
167 String8::String8(const char32_t* o) in String8() function in android::String8
170 String8::String8(const char32_t* o, size_t len) in String8() function in android::String8
175 String8::~String8() in ~String8()
180 size_t String8::length() const in length()
185 String8 String8::format(const char* fmt, ...) in format()
190 String8 result(formatV(fmt, args)); in format()
196 String8 String8::formatV(const char* fmt, va_list args) in formatV()
198 String8 result; in formatV()
203 void String8::clear() { in clear()
208 void String8::setTo(const String8& other) in setTo()
215 status_t String8::setTo(const char* other) in setTo()
226 status_t String8::setTo(const char* other, size_t len) in setTo()
237 status_t String8::setTo(const char16_t* other, size_t len) in setTo()
248 status_t String8::setTo(const char32_t* other, size_t len) in setTo()
259 status_t String8::append(const String8& other) in append()
272 status_t String8::append(const char* other) in append()
277 status_t String8::append(const char* other, size_t otherLen) in append()
288 status_t String8::appendFormat(const char* fmt, ...) in appendFormat()
299 status_t String8::appendFormatV(const char* fmt, va_list args) in appendFormatV()
330 status_t String8::real_append(const char* other, size_t otherLen) { in real_append()
349 char* String8::lockBuffer(size_t size) in lockBuffer()
361 void String8::unlockBuffer() in unlockBuffer()
366 status_t String8::unlockBuffer(size_t size) in unlockBuffer()
383 ssize_t String8::find(const char* other, size_t start) const in find()
394 bool String8::removeAll(const char* other) { in removeAll()
418 void String8::toLower() in toLower()
434 void String8::setPathName(const char* name) in setPathName()
439 void String8::setPathName(const char* name, size_t len) in setPathName()
454 String8 String8::getPathLeaf(void) const in getPathLeaf()
461 return String8(*this); in getPathLeaf()
463 return String8(cp+1); in getPathLeaf()
466 String8 String8::getPathDir(void) const in getPathDir()
473 return String8(""); in getPathDir()
475 return String8(str, cp - str); in getPathDir()
478 String8 String8::walkPath(String8* outRemains) const in walkPath()
492 String8 res = buf != str ? String8(buf) : *this; in walkPath()
493 if (outRemains) *outRemains = String8(""); in walkPath()
497 String8 res(buf, cp-buf); in walkPath()
498 if (outRemains) *outRemains = String8(cp+1); in walkPath()
507 char* String8::find_extension(void) const in find_extension()
529 String8 String8::getPathExtension(void) const in getPathExtension()
535 return String8(ext); in getPathExtension()
537 return String8(""); in getPathExtension()
540 String8 String8::getBasePath(void) const in getBasePath()
547 return String8(*this); in getBasePath()
549 return String8(str, ext - str); in getBasePath()
552 String8& String8::appendPath(const char* name) in appendPath()
589 String8& String8::convertToResPath() in convertToResPath()