Home
last modified time | relevance | path

Searched refs:newElems (Results 1 – 3 of 3) sorted by relevance

/external/opencore/oscl/oscl/osclbase/src/
Doscl_queue.cpp41 OsclAny* newElems = pOpaqueType->allocate(n * sizeof_T); in reserve() local
48 pOpaqueType->construct(increment_T(newElems, i++), front()); in reserve()
56 elems = newElems; in reserve()
/external/icu4c/common/
Duvectr32.cpp197 int32_t* newElems = (int32_t *)uprv_malloc(sizeof(int32_t)*newCap); in expandCapacity() local
198 if (newElems == 0) { in expandCapacity()
202 uprv_memcpy(newElems, elements, sizeof(elements[0]) * count); in expandCapacity()
204 elements = newElems; in expandCapacity()
Duvector.cpp333 UHashTok* newElems = (UHashTok *)uprv_malloc(sizeof(UHashTok)*newCap); in ensureCapacity() local
334 if (newElems == 0) { in ensureCapacity()
338 uprv_memcpy(newElems, elements, sizeof(elements[0]) * count); in ensureCapacity()
340 elements = newElems; in ensureCapacity()