Home
last modified time | relevance | path

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

/third_party/icu/icu4c/source/common/
Duvectr64.cpp149 int64_t* newElems = (int64_t *)uprv_realloc(elements, sizeof(int64_t)*newCap); in expandCapacity() local
150 if (newElems == NULL) { in expandCapacity()
155 elements = newElems; in expandCapacity()
177 int64_t* newElems = (int64_t *)uprv_realloc(elements, sizeof(int64_t)*maxCapacity); in setMaxCapacity() local
178 if (newElems == NULL) { in setMaxCapacity()
183 elements = newElems; in setMaxCapacity()
Duvectr32.cpp231 int32_t* newElems = (int32_t *)uprv_realloc(elements, sizeof(int32_t)*newCap); in expandCapacity() local
232 if (newElems == NULL) { in expandCapacity()
237 elements = newElems; in expandCapacity()
259 int32_t* newElems = (int32_t *)uprv_realloc(elements, sizeof(int32_t)*maxCapacity); in setMaxCapacity() local
260 if (newElems == NULL) { in setMaxCapacity()
265 elements = newElems; in setMaxCapacity()
Duvector.cpp348 UElement* newElems = (UElement *)uprv_realloc(elements, sizeof(UElement)*newCap); in ensureCapacity() local
349 if (newElems == nullptr) { in ensureCapacity()
354 elements = newElems; in ensureCapacity()
/third_party/skia/third_party/externals/icu/source/common/
Duvectr64.cpp149 int64_t* newElems = (int64_t *)uprv_realloc(elements, sizeof(int64_t)*newCap); in expandCapacity() local
150 if (newElems == NULL) { in expandCapacity()
155 elements = newElems; in expandCapacity()
177 int64_t* newElems = (int64_t *)uprv_realloc(elements, sizeof(int64_t)*maxCapacity); in setMaxCapacity() local
178 if (newElems == NULL) { in setMaxCapacity()
183 elements = newElems; in setMaxCapacity()
Duvectr32.cpp231 int32_t* newElems = (int32_t *)uprv_realloc(elements, sizeof(int32_t)*newCap); in expandCapacity() local
232 if (newElems == NULL) { in expandCapacity()
237 elements = newElems; in expandCapacity()
259 int32_t* newElems = (int32_t *)uprv_realloc(elements, sizeof(int32_t)*maxCapacity); in setMaxCapacity() local
260 if (newElems == NULL) { in setMaxCapacity()
265 elements = newElems; in setMaxCapacity()
Duvector.cpp350 UElement* newElems = (UElement *)uprv_realloc(elements, sizeof(UElement)*newCap); in ensureCapacity() local
351 if (newElems == NULL) { in ensureCapacity()
356 elements = newElems; in ensureCapacity()
/third_party/node/deps/icu-small/source/common/
Duvectr64.cpp149 int64_t* newElems = (int64_t *)uprv_realloc(elements, sizeof(int64_t)*newCap); in expandCapacity() local
150 if (newElems == nullptr) { in expandCapacity()
155 elements = newElems; in expandCapacity()
177 int64_t* newElems = (int64_t *)uprv_realloc(elements, sizeof(int64_t)*maxCapacity); in setMaxCapacity() local
178 if (newElems == nullptr) { in setMaxCapacity()
183 elements = newElems; in setMaxCapacity()
Duvectr32.cpp231 int32_t* newElems = (int32_t *)uprv_realloc(elements, sizeof(int32_t)*newCap); in expandCapacity() local
232 if (newElems == nullptr) { in expandCapacity()
237 elements = newElems; in expandCapacity()
259 int32_t* newElems = (int32_t *)uprv_realloc(elements, sizeof(int32_t)*maxCapacity); in setMaxCapacity() local
260 if (newElems == nullptr) { in setMaxCapacity()
265 elements = newElems; in setMaxCapacity()
Duvector.cpp348 UElement* newElems = (UElement *)uprv_realloc(elements, sizeof(UElement)*newCap); in ensureCapacity() local
349 if (newElems == nullptr) { in ensureCapacity()
354 elements = newElems; in ensureCapacity()