Home
last modified time | relevance | path

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

/external/chromium_org/third_party/icu/source/common/
Ducnv.c158 int32_t bufferSizeNeeded; in ucnv_safeClone() local
200 bufferSizeNeeded = 0; in ucnv_safeClone()
201 cnv->sharedData->impl->safeClone(cnv, NULL, &bufferSizeNeeded, status); in ucnv_safeClone()
210 bufferSizeNeeded = sizeof(UConverter); in ucnv_safeClone()
219 *pBufferSize = bufferSizeNeeded; in ucnv_safeClone()
220 UTRACE_EXIT_VALUE(bufferSizeNeeded); in ucnv_safeClone()
243 if (stackBufferSize < bufferSizeNeeded || stackBuffer == NULL) in ucnv_safeClone()
246 localConverter = allocatedConverter = (UConverter *) uprv_malloc (bufferSizeNeeded); in ucnv_safeClone()
256 *pBufferSize = bufferSizeNeeded; in ucnv_safeClone()
263 uprv_memset(localConverter, 0, bufferSizeNeeded); in ucnv_safeClone()
Ducnvhz.c545 int32_t size, bufferSizeNeeded = sizeof(struct cloneHZStruct); in _HZ_SafeClone() local
552 *pBufferSize = bufferSizeNeeded; in _HZ_SafeClone()
Ducnvscsu.c1950 int32_t bufferSizeNeeded = sizeof(struct cloneSCSUStruct); in _SCSUSafeClone() local
1957 *pBufferSize = bufferSizeNeeded; in _SCSUSafeClone()
Ducnvisci.c1530 int32_t bufferSizeNeeded = sizeof(struct cloneISCIIStruct); in _ISCII_SafeClone() local
1537 *pBufferSize = bufferSizeNeeded; in _ISCII_SafeClone()
/external/icu/icu4c/source/common/
Ducnv.c158 int32_t bufferSizeNeeded; in ucnv_safeClone() local
200 bufferSizeNeeded = 0; in ucnv_safeClone()
201 cnv->sharedData->impl->safeClone(cnv, NULL, &bufferSizeNeeded, status); in ucnv_safeClone()
210 bufferSizeNeeded = sizeof(UConverter); in ucnv_safeClone()
219 *pBufferSize = bufferSizeNeeded; in ucnv_safeClone()
220 UTRACE_EXIT_VALUE(bufferSizeNeeded); in ucnv_safeClone()
243 if (stackBufferSize < bufferSizeNeeded || stackBuffer == NULL) in ucnv_safeClone()
246 localConverter = allocatedConverter = (UConverter *) uprv_malloc (bufferSizeNeeded); in ucnv_safeClone()
256 *pBufferSize = bufferSizeNeeded; in ucnv_safeClone()
263 uprv_memset(localConverter, 0, bufferSizeNeeded); in ucnv_safeClone()
Ducnvhz.c545 int32_t size, bufferSizeNeeded = sizeof(struct cloneHZStruct); in _HZ_SafeClone() local
552 *pBufferSize = bufferSizeNeeded; in _HZ_SafeClone()
Ducnvisci.c1530 int32_t bufferSizeNeeded = sizeof(struct cloneISCIIStruct); in _ISCII_SafeClone() local
1537 *pBufferSize = bufferSizeNeeded; in _ISCII_SafeClone()
Ducnvscsu.c1950 int32_t bufferSizeNeeded = sizeof(struct cloneSCSUStruct); in _SCSUSafeClone() local
1957 *pBufferSize = bufferSizeNeeded; in _SCSUSafeClone()
/external/chromium_org/third_party/icu/source/i18n/
Ducol.cpp562 int32_t bufferSizeNeeded = (int32_t)sizeof(UCollator); in ucol_safeClone() local
585 rulesPadding = (int32_t)(bufferSizeNeeded % sizeof(UChar)); in ucol_safeClone()
586 bufferSizeNeeded += rulesSize + rulesPadding; in ucol_safeClone()
591 bufferSizeNeeded += defaultReorderCodesSize; in ucol_safeClone()
595 bufferSizeNeeded += reorderCodesSize; in ucol_safeClone()
598 bufferSizeNeeded += 256 * sizeof(uint8_t); in ucol_safeClone()
609 char *stackBufferChars = (char *)uprv_malloc(bufferSizeNeeded); in ucol_safeClone()