Lines Matching full:mylen
220 const size_t myLen = size();
222 if (myLen == 0) {
230 ->editResize((myLen+otherLen+1)*sizeof(char16_t));
233 memcpy(str+myLen, other, (otherLen+1)*sizeof(char16_t));
242 const size_t myLen = size();
243 if (myLen == 0) {
251 ->editResize((myLen+otherLen+1)*sizeof(char16_t));
254 memcpy(str+myLen, chrs, otherLen*sizeof(char16_t));
255 str[myLen+otherLen] = 0;
269 const size_t myLen = size();
270 if (myLen == 0) {
277 if (pos > myLen) pos = myLen;
280 printf("Insert in to %s: pos=%d, len=%d, myLen=%d, chrs=%s\n",
282 len, myLen, String8(chrs, len).string());
286 ->editResize((myLen+len+1)*sizeof(char16_t));
289 if (pos < myLen) {
290 memmove(str+pos+len, str+pos, (myLen-pos)*sizeof(char16_t));
293 str[myLen+len] = 0;