• Home
  • Raw
  • Download

Lines Matching refs:newCapacity

481         size_t newCapacity = expandedSize(requiredLength, base->preCapacity);  in expandCapacity()  local
483 base->buf = reallocChars(base->buf, newCapacity); in expandCapacity()
488 base->capacity = newCapacity - base->preCapacity; in expandCapacity()
513 size_t newCapacity = expandedSize(capacity, base->preCapacity); in reserveCapacity() local
515 base->buf = reallocChars(base->buf, newCapacity); in reserveCapacity()
520 base->capacity = newCapacity - base->preCapacity; in reserveCapacity()
540 size_t newCapacity = expandedSize(requiredPreCap, base->capacity); in expandPreCapacity() local
541 int delta = newCapacity - base->capacity - base->preCapacity; in expandPreCapacity()
543 UChar* newBuf = allocChars(newCapacity); in expandPreCapacity()
552 base->preCapacity = newCapacity - base->capacity; in expandPreCapacity()
658 size_t newCapacity = expandedSize(length, 0); in concatenate() local
659 UChar* d = allocChars(newCapacity); in concatenate()
666 rep->baseString()->capacity = newCapacity; in concatenate()
714 size_t newCapacity = expandedSize(length, 0); in concatenate() local
715 UChar* d = allocChars(newCapacity); in concatenate()
723 rep->baseString()->capacity = newCapacity; in concatenate()
802 size_t newCapacity = expandedSize(length, 0); in concatenate() local
803 UChar* d = allocChars(newCapacity); in concatenate()
809 result->baseString()->capacity = newCapacity; in concatenate()
1155 size_t newCapacity = expandedSize(length, 0); in append() local
1156 UChar* d = allocChars(newCapacity); in append()
1163 m_rep->baseString()->capacity = newCapacity; in append()
1208 size_t newCapacity = expandedSize(1, 0); in append() local
1209 UChar* d = allocChars(newCapacity); in append()
1215 m_rep->baseString()->capacity = newCapacity; in append()
1236 size_t newCapacity = expandedSize(length + 1, 0); in append() local
1237 UChar* d = allocChars(newCapacity); in append()
1244 m_rep->baseString()->capacity = newCapacity; in append()