Lines Matching defs:newCapacity
94 unsigned int newCapacity = theCount;
103 newCapacity = theCapacity;
106 if (!initWithCapacity(newCapacity))
124 unsigned int newCapacity = theCount;
133 newCapacity = theCapacity;
136 if (!initWithCapacity(newCapacity))
160 unsigned int newCapacity;
165 newCapacity = dict->count;
171 newCapacity = theCapacity;
174 if (!initWithCapacity(newCapacity))
278 unsigned int OSDictionary::ensureCapacity(unsigned int newCapacity)
283 if (newCapacity <= capacity)
287 finalCapacity = (((newCapacity - 1) / capacityIncrement) + 1)
291 if (finalCapacity < newCapacity || (finalCapacity > (UINT_MAX / sizeof(dictEntry))))