Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Ducnv.c156 UConverter *localConverter, *allocatedConverter; in ucnv_safeClone() local
246 localConverter = allocatedConverter = (UConverter *) uprv_malloc (bufferSizeNeeded); in ucnv_safeClone()
248 if(localConverter == NULL) { in ucnv_safeClone()
259 localConverter = (UConverter*) stackBuffer; in ucnv_safeClone()
263 uprv_memset(localConverter, 0, bufferSizeNeeded); in ucnv_safeClone()
266 uprv_memcpy(localConverter, cnv, sizeof(UConverter)); in ucnv_safeClone()
267 localConverter->isCopyLocal = localConverter->isExtraLocal = FALSE; in ucnv_safeClone()
271 localConverter->subChars = (uint8_t *)localConverter->subUChars; in ucnv_safeClone()
273localConverter->subChars = (uint8_t *)uprv_malloc(UCNV_ERROR_BUFFER_LENGTH * U_SIZEOF_UCHAR); in ucnv_safeClone()
274 if (localConverter->subChars == NULL) { in ucnv_safeClone()
[all …]