Home
last modified time | relevance | path

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

/system/core/libutils/
DString16.cpp214 const size_t myLen = size(); in append() local
216 if (myLen == 0) { in append()
223 if (myLen >= SIZE_MAX / sizeof(char16_t) - otherLen) { in append()
229 ->editResize((myLen+otherLen+1)*sizeof(char16_t)); in append()
232 memcpy(str+myLen, other, (otherLen+1)*sizeof(char16_t)); in append()
241 const size_t myLen = size(); in append() local
242 if (myLen == 0) { in append()
249 if (myLen >= SIZE_MAX / sizeof(char16_t) - otherLen) { in append()
255 ->editResize((myLen+otherLen+1)*sizeof(char16_t)); in append()
258 memcpy(str+myLen, chrs, otherLen*sizeof(char16_t)); in append()
[all …]
DString8.cpp369 const size_t myLen = bytes(); in real_append() local
372 ->editResize(myLen+otherLen+1); in real_append()
376 str += myLen; in real_append()