HomeSort by relevance Sort by last modified time
    Searched defs:otherLen (Results 1 - 2 of 2) sorted by null

  /frameworks/base/libs/utils/
String16.cpp 426 const size_t otherLen = other.size();
430 } else if (otherLen == 0) {
435 ->editResize((myLen+otherLen+1)*sizeof(char16_t));
438 memcpy(str+myLen, other, (otherLen+1)*sizeof(char16_t));
445 status_t String16::append(const char16_t* chrs, size_t otherLen)
449 setTo(chrs, otherLen);
451 } else if (otherLen == 0) {
456 ->editResize((myLen+otherLen+1)*sizeof(char16_t));
459 memcpy(str+myLen, chrs, otherLen*sizeof(char16_t));
460 str[myLen+otherLen] = 0
    [all...]
String8.cpp 348 const size_t otherLen = other.bytes();
352 } else if (otherLen == 0) {
356 return real_append(other.string(), otherLen);
364 status_t String8::append(const char* other, size_t otherLen)
367 return setTo(other, otherLen);
368 } else if (otherLen == 0) {
372 return real_append(other, otherLen);
396 status_t String8::real_append(const char* other, size_t otherLen)
401 ->editResize(myLen+otherLen+1);
406 memcpy(str, other, otherLen);
    [all...]

Completed in 61 milliseconds