Home | History | Annotate | Download | only in common

Lines Matching refs:cnv

156 _SCSUReset(UConverter *cnv, UConverterResetChoice choice) {
157 SCSUData *scsu=(SCSUData *)cnv->extraInfo;
168 cnv->toULength=0;
187 cnv->fromUChar32=0;
192 _SCSUOpen(UConverter *cnv,
199 cnv->extraInfo=uprv_malloc(sizeof(SCSUData));
200 if(cnv->extraInfo!=NULL) {
202 ((SCSUData *)cnv->extraInfo)->locale=l_ja;
204 ((SCSUData *)cnv->extraInfo)->locale=lGeneric;
206 _SCSUReset(cnv, UCNV_RESET_BOTH);
212 cnv->subUChars[0]=0xfffd;
213 cnv->subCharLen=-1;
217 _SCSUClose(UConverter *cnv) {
218 if(cnv->extraInfo!=NULL) {
219 if(!cnv->isExtraLocal) {
220 uprv_free(cnv->extraInfo);
222 cnv->extraInfo=NULL;
231 UConverter *cnv;
246 cnv=pArgs->converter;
247 scsu=(SCSUData *)cnv->extraInfo;
320 cnv->UCharErrorBuffer[0]=(UChar)(0xdc00|(c&0x3ff));
321 cnv->UCharErrorBufferLength=1;
376 cnv->toUBytes[0]=b;
377 cnv->toULength=1;
382 cnv->toUBytes[0]=b;
383 cnv->toULength=1;
387 cnv->toUBytes[1]=b;
388 cnv->toULength=2;
428 cnv->UCharErrorBuffer[0]=(UChar)(0xdc00|(c&0x3ff));
429 cnv->UCharErrorBufferLength=1;
441 cnv->toUBytes[1]=b;
442 cnv->toULength=2;
453 cnv->toUBytes[1]=b;
454 cnv->toULength=2;
464 cnv->toUBytes[1]=b;
465 cnv->toULength=2;
502 cnv->toUBytes[0]=b;
503 cnv->toULength=1;
513 cnv->toUBytes[0]=b;
514 cnv->toULength=1;
519 cnv->toUBytes[0]=b;
520 cnv->toULength=1;
524 cnv->toUBytes[0]=b;
525 cnv->toULength=1;
530 cnv->toUBytes[0]=b;
531 cnv->toULength=1;
537 cnv->toUBytes[1]=b;
538 cnv->toULength=2;
560 cnv->toULength=0;
585 UConverter *cnv;
597 cnv=pArgs->converter;
598 scsu=(SCSUData *)cnv->extraInfo;
652 cnv->UCharErrorBuffer[0]=(UChar)(0xdc00|(c&0x3ff));
653 cnv->UCharErrorBufferLength=1;
700 cnv->toUBytes[0]=b;
701 cnv->toULength=1;
706 cnv->toUBytes[0]=b;
707 cnv->toULength=1;
711 cnv->toUBytes[1]=b;
712 cnv->toULength=2;
735 cnv->UCharErrorBuffer[0]=(UChar)(0xdc00|(c&0x3ff));
736 cnv->UCharErrorBufferLength=1;
747 cnv->toUBytes[1]=b;
748 cnv->toULength=2;
758 cnv->toUBytes[1]=b;
759 cnv->toULength=2;
769 cnv->toUBytes[1]=b;
770 cnv->toULength=2;
800 cnv->toUBytes[0]=b;
801 cnv->toULength=1;
810 cnv->toUBytes[0]=b;
811 cnv->toULength=1;
816 cnv->toUBytes[0]=b;
817 cnv->toULength=1;
821 cnv->toUBytes[0]=b;
822 cnv->toULength=1;
827 cnv->toUBytes[0]=b;
828 cnv->toULength=1;
834 cnv->toUBytes[1]=b;
835 cnv->toULength=2;
853 cnv->toULength=0;
1010 UConverter *cnv;
1034 cnv=pArgs->converter;
1035 scsu=(SCSUData *)cnv->extraInfo;
1049 c=cnv->fromUChar32;
1380 cnv->fromUChar32=c;
1445 p=(uint8_t *)cnv->charErrorBuffer;
1460 cnv->charErrorBufferLength=(int8_t)length;
1503 UConverter *cnv;
1524 cnv=pArgs->converter;
1525 scsu=(SCSUData *)cnv->extraInfo;
1538 c=cnv->fromUChar32;
1840 cnv->fromUChar32=c;
1882 p=(uint8_t *)cnv->charErrorBuffer;
1897 cnv->charErrorBufferLength=(int8_t)length;
1924 _SCSUGetName(const UConverter *cnv) {
1925 SCSUData *scsu=(SCSUData *)cnv->extraInfo;
1938 UConverter cnv;
1943 _SCSUSafeClone(const UConverter *cnv,
1963 uprv_memcpy(&localClone->mydata, cnv->extraInfo, sizeof(SCSUData));
1964 localClone->cnv.extraInfo = &localClone->mydata;
1965 localClone->cnv.isExtraLocal = TRUE;
1967 return &localClone->cnv;