Home
last modified time | relevance | path

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

/external/icu4c/common/
Dushape.c481 UChar *tempbuffer=NULL; in removeLamAlefSpaces() local
485 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR); in removeLamAlefSpaces()
487 if(tempbuffer == NULL) { in removeLamAlefSpaces()
492 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); in removeLamAlefSpaces()
501 tempbuffer[j] = dest[i]; in removeLamAlefSpaces()
507 tempbuffer[i] = 0x0000; in removeLamAlefSpaces()
512 uprv_memcpy(dest, tempbuffer, sourceLength*U_SIZEOF_UCHAR); in removeLamAlefSpaces()
528 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR); in removeLamAlefSpaces()
531 if(tempbuffer == NULL) { in removeLamAlefSpaces()
536 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR); in removeLamAlefSpaces()
[all …]
/external/icu4c/i18n/
Ducol.cpp3785 UChar *tempbuffer = source->writableBuffer + in ucol_prv_getSpecialPrevCE() local
3787 *(tempbuffer) = 0; in ucol_prv_getSpecialPrevCE()
3789 *(tempbuffer - 1) = (UChar)T; in ucol_prv_getSpecialPrevCE()
3790 *(tempbuffer - 2) = (UChar)V; in ucol_prv_getSpecialPrevCE()
3791 *(tempbuffer - 3) = (UChar)L; in ucol_prv_getSpecialPrevCE()
3792 *(tempbuffer - 4) = 0; in ucol_prv_getSpecialPrevCE()
3794 *(tempbuffer - 1) = (UChar)V; in ucol_prv_getSpecialPrevCE()
3795 *(tempbuffer - 2) = (UChar)L; in ucol_prv_getSpecialPrevCE()
3796 *(tempbuffer - 3) = 0; in ucol_prv_getSpecialPrevCE()
3809 source->pos = tempbuffer; in ucol_prv_getSpecialPrevCE()