Lines Matching refs:String8
147 String8::String8() in String8() function in android::String8
152 String8::String8(StaticLinkage) in String8() function in android::String8
165 String8::String8(const String8& o) in String8() function in android::String8
171 String8::String8(const char* o) in String8() function in android::String8
179 String8::String8(const char* o, size_t len) in String8() function in android::String8
187 String8::String8(const String16& o) in String8() function in android::String8
192 String8::String8(const char16_t* o) in String8() function in android::String8
197 String8::String8(const char16_t* o, size_t len) in String8() function in android::String8
202 String8::String8(const char32_t* o) in String8() function in android::String8
207 String8::String8(const char32_t* o, size_t len) in String8() function in android::String8
212 String8::~String8() in ~String8()
217 String8 String8::format(const char* fmt, ...) in format()
222 String8 result(formatV(fmt, args)); in format()
228 String8 String8::formatV(const char* fmt, va_list args) in formatV()
230 String8 result; in formatV()
235 void String8::clear() { in clear()
240 void String8::setTo(const String8& other) in setTo()
247 status_t String8::setTo(const char* other) in setTo()
258 status_t String8::setTo(const char* other, size_t len) in setTo()
269 status_t String8::setTo(const char16_t* other, size_t len) in setTo()
280 status_t String8::setTo(const char32_t* other, size_t len) in setTo()
291 status_t String8::append(const String8& other) in append()
304 status_t String8::append(const char* other) in append()
309 status_t String8::append(const char* other, size_t otherLen) in append()
320 status_t String8::appendFormat(const char* fmt, ...) in appendFormat()
331 status_t String8::appendFormatV(const char* fmt, va_list args) in appendFormatV()
356 status_t String8::real_append(const char* other, size_t otherLen) in real_append()
373 char* String8::lockBuffer(size_t size) in lockBuffer()
385 void String8::unlockBuffer() in unlockBuffer()
390 status_t String8::unlockBuffer(size_t size) in unlockBuffer()
407 ssize_t String8::find(const char* other, size_t start) const in find()
418 bool String8::removeAll(const char* other) { in removeAll()
442 void String8::toLower() in toLower()
447 void String8::toLower(size_t start, size_t length) in toLower()
466 void String8::toUpper() in toUpper()
471 void String8::toUpper(size_t start, size_t length) in toUpper()
490 size_t String8::getUtf32Length() const in getUtf32Length()
495 int32_t String8::getUtf32At(size_t index, size_t *next_index) const in getUtf32At()
500 void String8::getUtf32(char32_t* dst) const in getUtf32()
508 void String8::setPathName(const char* name) in setPathName()
513 void String8::setPathName(const char* name, size_t len) in setPathName()
528 String8 String8::getPathLeaf(void) const in getPathLeaf()
535 return String8(*this); in getPathLeaf()
537 return String8(cp+1); in getPathLeaf()
540 String8 String8::getPathDir(void) const in getPathDir()
547 return String8(""); in getPathDir()
549 return String8(str, cp - str); in getPathDir()
552 String8 String8::walkPath(String8* outRemains) const in walkPath()
566 String8 res = buf != str ? String8(buf) : *this; in walkPath()
567 if (outRemains) *outRemains = String8(""); in walkPath()
571 String8 res(buf, cp-buf); in walkPath()
572 if (outRemains) *outRemains = String8(cp+1); in walkPath()
581 char* String8::find_extension(void) const in find_extension()
603 String8 String8::getPathExtension(void) const in getPathExtension()
609 return String8(ext); in getPathExtension()
611 return String8(""); in getPathExtension()
614 String8 String8::getBasePath(void) const in getBasePath()
621 return String8(*this); in getBasePath()
623 return String8(str, ext - str); in getBasePath()
626 String8& String8::appendPath(const char* name) in appendPath()
663 String8& String8::convertToResPath() in convertToResPath()