Lines Matching refs:newCapacity
255 reallocCEs(collIterate *data, int32_t newCapacity) {
261 uint32_t *newCEs = (uint32_t *)uprv_malloc(newCapacity * 4);
268 data->extendCEsSize = newCapacity;
305 int32_t newCapacity = 2 * offsetBufferSize + UCOL_EXPAND_CE_BUFFER_SIZE;
306 int32_t *newBuffer = reinterpret_cast<int32_t *>(uprv_malloc(newCapacity * 4));
317 offsetBufferSize = newCapacity;
4424 int32_t newCapacity = 2 * capacity_;
4426 if (newCapacity < altCapacity) {
4427 newCapacity = altCapacity;
4429 if (newCapacity < 1024) {
4430 newCapacity = 1024;
4432 char *newBuffer = (char *)uprv_malloc(newCapacity);
4439 capacity_ = newCapacity;