Lines Matching refs:String8
123 String8::String8() in String8() function in android::String8
128 String8::String8(StaticLinkage) in String8() function in android::String8
141 String8::String8(const String8& o) in String8() function in android::String8
147 String8::String8(const char* o) in String8() function in android::String8
155 String8::String8(const char* o, size_t len) in String8() function in android::String8
163 String8::String8(const String16& o) in String8() function in android::String8
168 String8::String8(const char16_t* o) in String8() function in android::String8
173 String8::String8(const char16_t* o, size_t len) in String8() function in android::String8
178 String8::String8(const char32_t* o) in String8() function in android::String8
183 String8::String8(const char32_t* o, size_t len) in String8() function in android::String8
188 String8::~String8() in ~String8()
193 size_t String8::length() const in length()
198 String8 String8::format(const char* fmt, ...) in format()
203 String8 result(formatV(fmt, args)); in format()
209 String8 String8::formatV(const char* fmt, va_list args) in formatV()
211 String8 result; in formatV()
216 void String8::clear() { in clear()
221 void String8::setTo(const String8& other) in setTo()
228 status_t String8::setTo(const char* other) in setTo()
239 status_t String8::setTo(const char* other, size_t len) in setTo()
250 status_t String8::setTo(const char16_t* other, size_t len) in setTo()
261 status_t String8::setTo(const char32_t* other, size_t len) in setTo()
272 status_t String8::append(const String8& other) in append()
285 status_t String8::append(const char* other) in append()
290 status_t String8::append(const char* other, size_t otherLen) in append()
301 status_t String8::appendFormat(const char* fmt, ...) in appendFormat()
312 status_t String8::appendFormatV(const char* fmt, va_list args) in appendFormatV()
343 status_t String8::real_append(const char* other, size_t otherLen) in real_append()
360 char* String8::lockBuffer(size_t size) in lockBuffer()
372 void String8::unlockBuffer() in unlockBuffer()
377 status_t String8::unlockBuffer(size_t size) in unlockBuffer()
394 ssize_t String8::find(const char* other, size_t start) const in find()
405 bool String8::removeAll(const char* other) { in removeAll()
429 void String8::toLower() in toLower()
434 void String8::toLower(size_t start, size_t length) in toLower()
453 void String8::toUpper() in toUpper()
458 void String8::toUpper(size_t start, size_t length) in toUpper()
477 size_t String8::getUtf32Length() const in getUtf32Length()
482 int32_t String8::getUtf32At(size_t index, size_t *next_index) const in getUtf32At()
487 void String8::getUtf32(char32_t* dst) const in getUtf32()
495 void String8::setPathName(const char* name) in setPathName()
500 void String8::setPathName(const char* name, size_t len) in setPathName()
515 String8 String8::getPathLeaf(void) const in getPathLeaf()
522 return String8(*this); in getPathLeaf()
524 return String8(cp+1); in getPathLeaf()
527 String8 String8::getPathDir(void) const in getPathDir()
534 return String8(""); in getPathDir()
536 return String8(str, cp - str); in getPathDir()
539 String8 String8::walkPath(String8* outRemains) const in walkPath()
553 String8 res = buf != str ? String8(buf) : *this; in walkPath()
554 if (outRemains) *outRemains = String8(""); in walkPath()
558 String8 res(buf, cp-buf); in walkPath()
559 if (outRemains) *outRemains = String8(cp+1); in walkPath()
568 char* String8::find_extension(void) const in find_extension()
590 String8 String8::getPathExtension(void) const in getPathExtension()
596 return String8(ext); in getPathExtension()
598 return String8(""); in getPathExtension()
601 String8 String8::getBasePath(void) const in getBasePath()
608 return String8(*this); in getBasePath()
610 return String8(str, ext - str); in getBasePath()
613 String8& String8::appendPath(const char* name) in appendPath()
650 String8& String8::convertToResPath() in convertToResPath()