Lines Matching refs:newCapacity
108 int32_t newCapacity; in add() local
110 newCapacity=1024; in add()
112 newCapacity=4*elementsCapacity; in add()
114 UCharsTrieElement *newElements=new UCharsTrieElement[newCapacity]; in add()
124 elementsCapacity=newCapacity; in add()
328 int32_t newCapacity=ucharsCapacity; in ensureCapacity() local
330 newCapacity*=2; in ensureCapacity()
331 } while(newCapacity<=length); in ensureCapacity()
332 UChar *newUChars=static_cast<UChar *>(uprv_malloc(newCapacity*2)); in ensureCapacity()
340 u_memcpy(newUChars+(newCapacity-ucharsLength), in ensureCapacity()
344 ucharsCapacity=newCapacity; in ensureCapacity()