Lines Matching full:mylen
425 const size_t myLen = size();
427 if (myLen == 0) {
435 ->editResize((myLen+otherLen+1)*sizeof(char16_t));
438 memcpy(str+myLen, other, (otherLen+1)*sizeof(char16_t));
447 const size_t myLen = size();
448 if (myLen == 0) {
456 ->editResize((myLen+otherLen+1)*sizeof(char16_t));
459 memcpy(str+myLen, chrs, otherLen*sizeof(char16_t));
460 str[myLen+otherLen] = 0;
474 const size_t myLen = size();
475 if (myLen == 0) {
482 if (pos > myLen) pos = myLen;
485 printf("Insert in to %s: pos=%d, len=%d, myLen=%d, chrs=%s\n",
487 len, myLen, String8(chrs, len).string());
491 ->editResize((myLen+len+1)*sizeof(char16_t));
494 if (pos < myLen) {
495 memmove(str+pos+len, str+pos, (myLen-pos)*sizeof(char16_t));
498 str[myLen+len] = 0;