Home
last modified time | relevance | path

Searched refs:myLen (Results 1 – 2 of 2) sorted by relevance

/system/core/libutils/
DString16.cpp201 const size_t myLen = size(); in append() local
203 if (myLen == 0) { in append()
210 if (myLen >= SIZE_MAX / sizeof(char16_t) - otherLen) { in append()
216 ->editResize((myLen+otherLen+1)*sizeof(char16_t)); in append()
219 memcpy(str+myLen, other, (otherLen+1)*sizeof(char16_t)); in append()
228 const size_t myLen = size(); in append() local
229 if (myLen == 0) { in append()
236 if (myLen >= SIZE_MAX / sizeof(char16_t) - otherLen) { in append()
242 ->editResize((myLen+otherLen+1)*sizeof(char16_t)); in append()
245 memcpy(str+myLen, chrs, otherLen*sizeof(char16_t)); in append()
[all …]
DString8.cpp345 const size_t myLen = bytes(); in real_append() local
348 ->editResize(myLen+otherLen+1); in real_append()
352 str += myLen; in real_append()