Lines Matching refs:str
48 char* str = static_cast<char*>(buf->data()); in getEmptyString() local
49 *str = 0; in getEmptyString()
68 char* str = (char*)buf->data(); in allocFromUTF8() local
69 memcpy(str, in, len); in allocFromUTF8()
70 str[len] = 0; in allocFromUTF8()
71 return str; in allocFromUTF8()
341 char* str = (char*)buf->data(); in real_append() local
342 mString = str; in real_append()
343 str += myLen; in real_append()
344 memcpy(str, other, otherLen); in real_append()
345 str[otherLen] = '\0'; in real_append()
354 char* str = (char*)buf->data(); in lockBuffer() local
355 mString = str; in lockBuffer()
356 return str; in lockBuffer()
375 char* str = (char*)buf->data(); in unlockBuffer() local
376 str[size] = 0; in unlockBuffer()
377 mString = str; in unlockBuffer()
469 const char*const str = mString; in getPathDir() local
471 cp = strrchr(str, OS_PATH_SEPARATOR); in getPathDir()
475 return String8(str, cp - str); in getPathDir()
481 const char*const str = mString; in walkPath() local
482 const char* buf = str; in walkPath()
492 String8 res = buf != str ? String8(buf) : *this; in walkPath()
511 const char* const str = mString; in find_extension() local
514 lastSlash = strrchr(str, OS_PATH_SEPARATOR); in find_extension()
516 lastSlash = str; in find_extension()
543 const char* const str = mString; in getBasePath() local
549 return String8(str, ext - str); in getBasePath()