Lines Matching refs:str
78 char16_t* str = (char16_t*)buf->data(); in allocFromUTF16() local
79 memcpy(str, u16str, u16len * sizeof(char16_t)); in allocFromUTF16()
80 str[u16len] = 0; in allocFromUTF16()
81 return str; in allocFromUTF16()
180 char16_t* str = (char16_t*)buf->data(); in setTo() local
181 memmove(str, other, len*sizeof(char16_t)); in setTo()
182 str[len] = 0; in setTo()
183 mString = str; in setTo()
208 char16_t* str = (char16_t*)buf->data(); in append() local
209 memcpy(str+myLen, other, (otherLen+1)*sizeof(char16_t)); in append()
210 mString = str; in append()
234 char16_t* str = (char16_t*)buf->data(); in append() local
235 memcpy(str+myLen, chrs, otherLen*sizeof(char16_t)); in append()
236 str[myLen+otherLen] = 0; in append()
237 mString = str; in append()
269 char16_t* str = (char16_t*)buf->data(); in insert() local
271 memmove(str+pos+len, str+pos, (myLen-pos)*sizeof(char16_t)); in insert()
273 memcpy(str+pos, chrs, len*sizeof(char16_t)); in insert()
274 str[myLen+len] = 0; in insert()
275 mString = str; in insert()
286 const char16_t* str = string(); in findFirst() local
287 const char16_t* p = str; in findFirst()
291 return p-str; in findFirst()
300 const char16_t* str = string(); in findLast() local
301 const char16_t* p = str; in findLast()
306 return e-str; in findLast()
396 const char16_t* str = string(); in makeLower() local
399 const char16_t v = str[i]; in makeLower()
407 mString = str = edited; in makeLower()
418 const char16_t* str = string(); in replaceAll() local
421 if (str[i] == replaceThis) { in replaceAll()
428 mString = str = edited; in replaceAll()
454 char16_t* str = (char16_t*)buf->data(); in remove() local
455 memmove(str, str+begin, (N-begin+1)*sizeof(char16_t)); in remove()
456 mString = str; in remove()
460 char16_t* str = (char16_t*)buf->data(); in remove() local
461 str[len] = 0; in remove()
462 mString = str; in remove()