Home | History | Annotate | Download | only in common

Lines Matching full:tempbuffer

737     UChar *tempbuffer=NULL;
752 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR);
754 if(tempbuffer == NULL) {
761 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR);
770 tempbuffer[j] = dest[i];
777 tempbuffer[i] = 0x0000;
782 u_memcpy(dest, tempbuffer, sourceLength);
820 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR);
830 tempbuffer[j] = dest[i];
837 tempbuffer[i] = SPACE_CHAR;
840 u_memcpy(dest, tempbuffer, sourceLength);
861 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR);
870 tempbuffer[j] = dest[i];
877 tempbuffer[i] = SPACE_CHAR;
882 u_memcpy(dest, tempbuffer, sourceLength);
887 if(tempbuffer){
888 uprv_free(tempbuffer);
908 UChar *tempbuffer=NULL;
910 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR);
913 if(tempbuffer == NULL) {
918 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR);
930 tempbuffer[j] = LAM_CHAR;
934 tempbuffer[j-1] = convertLamAlef[ dest[i] - 0xFEF5 ];
941 tempbuffer[j] = dest[i];
946 tempbuffer, sourceLength);
948 uprv_free(tempbuffer);
971 UChar *tempbuffer=NULL;
972 tempbuffer = (UChar *)uprv_malloc((sourceLength+1)*U_SIZEOF_UCHAR);
975 if(tempbuffer == NULL) {
980 uprv_memset(tempbuffer, 0, (sourceLength+1)*U_SIZEOF_UCHAR);
992 tempbuffer[j] = LAM_CHAR;
993 tempbuffer[j-1] = convertLamAlef[ dest[i] - 0xFEF5 ];
1000 tempbuffer[j] = dest[i];
1007 u_memmove(tempbuffer, tempbuffer+countr, sourceLength);
1008 if(u_strlen(tempbuffer) < sourceLength) {
1010 tempbuffer[i] = SPACE_CHAR;
1014 u_memcpy(dest, tempbuffer, sourceLength);
1016 uprv_free(tempbuffer);
1091 UChar *tempbuffer=NULL;
1159 tempbuffer = (UChar *)uprv_malloc((destSize+1)*U_SIZEOF_UCHAR);
1162 if(tempbuffer == NULL) {
1167 uprv_memset(tempbuffer, 0, (destSize+1)*U_SIZEOF_UCHAR);
1172 tempbuffer[j] = convertLamAlef[ dest[i] - 0xFEF5 ];
1173 tempbuffer[j+1] = LAM_CHAR;
1176 tempbuffer[j] = dest[i];
1182 u_memcpy(dest, tempbuffer, destSize);
1186 if(tempbuffer) {
1187 uprv_free(tempbuffer);
1499 UChar *tempbuffer, *tempsource = NULL;
1565 tempbuffer=buffer;
1567 tempbuffer = (UChar *)uprv_malloc(outputSize*U_SIZEOF_UCHAR);
1570 if(tempbuffer == NULL) {
1576 u_memcpy(tempbuffer, source, sourceLength);
1582 uprv_memset(tempbuffer+sourceLength, 0, (outputSize-sourceLength)*U_SIZEOF_UCHAR);
1586 countSpaces(tempbuffer,sourceLength,options,&spacesCountl,&spacesCountr);
1587 invertBuffer(tempbuffer,sourceLength,options,spacesCountl,spacesCountr);
1605 destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,2,shapeVars);
1608 destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,1,shapeVars);
1612 destLength = handleTashkeelWithTatweel(tempbuffer,destLength,destCapacity,options,pErrorCode);
1618 destLength = shapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,0,shapeVars);
1623 destLength = deShapeUnicode(tempbuffer,sourceLength,destCapacity,options,pErrorCode,shapeVars);
1635 * except for the adjustment above before the tempbuffer allocation
1639 countSpaces(tempbuffer,destLength,options,&spacesCountl,&spacesCountr);
1640 invertBuffer(tempbuffer,destLength,options,spacesCountl,spacesCountr);
1642 u_memcpy(dest, tempbuffer, uprv_min(destLength, destCapacity));
1644 if(tempbuffer!=buffer) {
1645 uprv_free(tempbuffer);