• Home
  • Raw
  • Download

Lines Matching refs:str

39     char16_t* str = (char16_t*)buf->data();  in initialize_string16()  local
40 *str = 0; in initialize_string16()
42 gEmptyString = str; in initialize_string16()
91 char16_t* str = (char16_t*)buf->data(); in allocFromUTF16() local
92 memcpy(str, u16str, u16len * sizeof(char16_t)); in allocFromUTF16()
93 str[u16len] = 0; in allocFromUTF16()
94 return str; in allocFromUTF16()
203 char16_t* str = (char16_t*)buf->data(); in setTo() local
204 memmove(str, other, len*sizeof(char16_t)); in setTo()
205 str[len] = 0; in setTo()
206 mString = str; in setTo()
231 char16_t* str = (char16_t*)buf->data(); in append() local
232 memcpy(str+myLen, other, (otherLen+1)*sizeof(char16_t)); in append()
233 mString = str; in append()
257 char16_t* str = (char16_t*)buf->data(); in append() local
258 memcpy(str+myLen, chrs, otherLen*sizeof(char16_t)); in append()
259 str[myLen+otherLen] = 0; in append()
260 mString = str; in append()
292 char16_t* str = (char16_t*)buf->data(); in insert() local
294 memmove(str+pos+len, str+pos, (myLen-pos)*sizeof(char16_t)); in insert()
296 memcpy(str+pos, chrs, len*sizeof(char16_t)); in insert()
297 str[myLen+len] = 0; in insert()
298 mString = str; in insert()
309 const char16_t* str = string(); in findFirst() local
310 const char16_t* p = str; in findFirst()
314 return p-str; in findFirst()
323 const char16_t* str = string(); in findLast() local
324 const char16_t* p = str; in findLast()
329 return e-str; in findLast()
357 const char16_t* str = string(); in makeLower() local
360 const char16_t v = str[i]; in makeLower()
368 mString = str = edit; in makeLower()
379 const char16_t* str = string(); in replaceAll() local
382 if (str[i] == replaceThis) { in replaceAll()
389 mString = str = edit; in replaceAll()
416 char16_t* str = (char16_t*)buf->data(); in remove() local
417 memmove(str, str+begin, (N-begin+1)*sizeof(char16_t)); in remove()
418 mString = str; in remove()
423 char16_t* str = (char16_t*)buf->data(); in remove() local
424 str[len] = 0; in remove()
425 mString = str; in remove()