Lines Matching refs:bufferSizeNeeded
162 int32_t bufferSizeNeeded; in ucnv_safeClone() local
203 bufferSizeNeeded = 0; in ucnv_safeClone()
204 cnv->sharedData->impl->safeClone(cnv, NULL, &bufferSizeNeeded, status); in ucnv_safeClone()
213 bufferSizeNeeded = sizeof(UConverter); in ucnv_safeClone()
222 *pBufferSize = bufferSizeNeeded; in ucnv_safeClone()
223 UTRACE_EXIT_VALUE(bufferSizeNeeded); in ucnv_safeClone()
235 if (bufferSizeNeeded + pointerAdjustment <= stackBufferSize) { in ucnv_safeClone()
245 if (stackBufferSize < bufferSizeNeeded || stackBuffer == NULL) in ucnv_safeClone()
248 localConverter = allocatedConverter = (UConverter *) uprv_malloc (bufferSizeNeeded); in ucnv_safeClone()
261 *pBufferSize = bufferSizeNeeded; in ucnv_safeClone()
268 uprv_memset(localConverter, 0, bufferSizeNeeded); in ucnv_safeClone()