Lines Matching refs:str
46 char* str = static_cast<char*>(buf->data()); in getEmptyString() local
47 *str = 0; in getEmptyString()
66 char* str = (char*)buf->data(); in allocFromUTF8() local
67 memcpy(str, in, len); in allocFromUTF8()
68 str[len] = 0; in allocFromUTF8()
69 return str; in allocFromUTF8()
331 char* str = (char*)buf->data(); in real_append() local
332 mString = str; in real_append()
333 str += myLen; in real_append()
334 memcpy(str, other, otherLen); in real_append()
335 str[otherLen] = '\0'; in real_append()
346 char* str = (char*)buf->data(); in lockBuffer() local
347 mString = str; in lockBuffer()
348 return str; in lockBuffer()
367 char* str = (char*)buf->data(); in unlockBuffer() local
368 str[size] = 0; in unlockBuffer()
369 mString = str; in unlockBuffer()
496 const char*const str = mString; in getPathDir() local
498 cp = strrchr(str, OS_PATH_SEPARATOR); in getPathDir()
502 return String8(str, cp - str); in getPathDir()
508 const char*const str = mString; in walkPath() local
509 const char* buf = str; in walkPath()
519 String8 res = buf != str ? String8(buf) : *this; in walkPath()
538 const char* const str = mString; in find_extension() local
541 lastSlash = strrchr(str, OS_PATH_SEPARATOR); in find_extension()
543 lastSlash = str; in find_extension()
570 const char* const str = mString; in getBasePath() local
576 return String8(str, ext - str); in getBasePath()