Home
last modified time | relevance | path

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

/system/core/libutils/binder/
DString16.cpp217 const size_t myLen = size(); in append() local
219 if (myLen == 0) return setTo(chrs, otherLen); in append()
223 size_t size = myLen; in append()
232 memcpy(str + myLen, chrs, otherLen * sizeof(char16_t)); in append()
233 str[myLen + otherLen] = 0; in append()
243 const size_t myLen = size(); in insert() local
245 if (myLen == 0) return setTo(chrs, otherLen); in insert()
249 if (pos > myLen) pos = myLen; in insert()
251 size_t size = myLen; in insert()
260 if (pos < myLen) memmove(str + pos + otherLen, str + pos, (myLen - pos) * sizeof(char16_t)); in insert()
[all …]
DString8.cpp322 const size_t myLen = bytes(); in real_append() local
326 if (__builtin_add_overflow(myLen, otherLen, &newLen) || in real_append()
334 str += myLen; in real_append()