Searched refs:newElems (Results 1 – 3 of 3) sorted by relevance
41 OsclAny* newElems = pOpaqueType->allocate(n * sizeof_T); in reserve() local48 pOpaqueType->construct(increment_T(newElems, i++), front()); in reserve()56 elems = newElems; in reserve()
197 int32_t* newElems = (int32_t *)uprv_malloc(sizeof(int32_t)*newCap); in expandCapacity() local198 if (newElems == 0) { in expandCapacity()202 uprv_memcpy(newElems, elements, sizeof(elements[0]) * count); in expandCapacity()204 elements = newElems; in expandCapacity()
333 UHashTok* newElems = (UHashTok *)uprv_malloc(sizeof(UHashTok)*newCap); in ensureCapacity() local334 if (newElems == 0) { in ensureCapacity()338 uprv_memcpy(newElems, elements, sizeof(elements[0]) * count); in ensureCapacity()340 elements = newElems; in ensureCapacity()