Searched refs:bufferSizeNeeded (Results 1 – 9 of 9) sorted by relevance
/external/chromium_org/third_party/icu/source/common/ |
D | ucnv.c | 158 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()
|
D | ucnvhz.c | 545 int32_t size, bufferSizeNeeded = sizeof(struct cloneHZStruct); in _HZ_SafeClone() local 552 *pBufferSize = bufferSizeNeeded; in _HZ_SafeClone()
|
D | ucnvscsu.c | 1950 int32_t bufferSizeNeeded = sizeof(struct cloneSCSUStruct); in _SCSUSafeClone() local 1957 *pBufferSize = bufferSizeNeeded; in _SCSUSafeClone()
|
D | ucnvisci.c | 1530 int32_t bufferSizeNeeded = sizeof(struct cloneISCIIStruct); in _ISCII_SafeClone() local 1537 *pBufferSize = bufferSizeNeeded; in _ISCII_SafeClone()
|
/external/icu/icu4c/source/common/ |
D | ucnv.c | 158 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()
|
D | ucnvhz.c | 545 int32_t size, bufferSizeNeeded = sizeof(struct cloneHZStruct); in _HZ_SafeClone() local 552 *pBufferSize = bufferSizeNeeded; in _HZ_SafeClone()
|
D | ucnvisci.c | 1530 int32_t bufferSizeNeeded = sizeof(struct cloneISCIIStruct); in _ISCII_SafeClone() local 1537 *pBufferSize = bufferSizeNeeded; in _ISCII_SafeClone()
|
D | ucnvscsu.c | 1950 int32_t bufferSizeNeeded = sizeof(struct cloneSCSUStruct); in _SCSUSafeClone() local 1957 *pBufferSize = bufferSizeNeeded; in _SCSUSafeClone()
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | ucol.cpp | 562 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()
|