Lines Matching full:otherlen
215 const size_t otherLen = other.size();
219 } else if (otherLen == 0) {
223 if (myLen >= SIZE_MAX / sizeof(char16_t) - otherLen) {
229 ->editResize((myLen+otherLen+1)*sizeof(char16_t));
232 memcpy(str+myLen, other, (otherLen+1)*sizeof(char16_t));
239 status_t String16::append(const char16_t* chrs, size_t otherLen)
243 setTo(chrs, otherLen);
245 } else if (otherLen == 0) {
249 if (myLen >= SIZE_MAX / sizeof(char16_t) - otherLen) {
255 ->editResize((myLen+otherLen+1)*sizeof(char16_t));
258 memcpy(str+myLen, chrs, otherLen*sizeof(char16_t));
259 str[myLen+otherLen] = 0;