• Home
  • Raw
  • Download

Lines Matching refs:cnv

157 _SCSUReset(UConverter *cnv, UConverterResetChoice choice) {  in _SCSUReset()  argument
158 SCSUData *scsu=(SCSUData *)cnv->extraInfo; in _SCSUReset()
169 cnv->toULength=0; in _SCSUReset()
188 cnv->fromUChar32=0; in _SCSUReset()
193 _SCSUOpen(UConverter *cnv, in _SCSUOpen() argument
200 cnv->extraInfo=uprv_malloc(sizeof(SCSUData)); in _SCSUOpen()
201 if(cnv->extraInfo!=NULL) { in _SCSUOpen()
203 ((SCSUData *)cnv->extraInfo)->locale=l_ja; in _SCSUOpen()
205 ((SCSUData *)cnv->extraInfo)->locale=lGeneric; in _SCSUOpen()
207 _SCSUReset(cnv, UCNV_RESET_BOTH); in _SCSUOpen()
213 cnv->subUChars[0]=0xfffd; in _SCSUOpen()
214 cnv->subCharLen=-1; in _SCSUOpen()
218 _SCSUClose(UConverter *cnv) { in _SCSUClose() argument
219 if(cnv->extraInfo!=NULL) { in _SCSUClose()
220 if(!cnv->isExtraLocal) { in _SCSUClose()
221 uprv_free(cnv->extraInfo); in _SCSUClose()
223 cnv->extraInfo=NULL; in _SCSUClose()
232 UConverter *cnv; in _SCSUToUnicodeWithOffsets() local
247 cnv=pArgs->converter; in _SCSUToUnicodeWithOffsets()
248 scsu=(SCSUData *)cnv->extraInfo; in _SCSUToUnicodeWithOffsets()
321 cnv->UCharErrorBuffer[0]=(UChar)(0xdc00|(c&0x3ff)); in _SCSUToUnicodeWithOffsets()
322 cnv->UCharErrorBufferLength=1; in _SCSUToUnicodeWithOffsets()
377 cnv->toUBytes[0]=b; in _SCSUToUnicodeWithOffsets()
378 cnv->toULength=1; in _SCSUToUnicodeWithOffsets()
383 cnv->toUBytes[0]=b; in _SCSUToUnicodeWithOffsets()
384 cnv->toULength=1; in _SCSUToUnicodeWithOffsets()
388 cnv->toUBytes[1]=b; in _SCSUToUnicodeWithOffsets()
389 cnv->toULength=2; in _SCSUToUnicodeWithOffsets()
429 cnv->UCharErrorBuffer[0]=(UChar)(0xdc00|(c&0x3ff)); in _SCSUToUnicodeWithOffsets()
430 cnv->UCharErrorBufferLength=1; in _SCSUToUnicodeWithOffsets()
442 cnv->toUBytes[1]=b; in _SCSUToUnicodeWithOffsets()
443 cnv->toULength=2; in _SCSUToUnicodeWithOffsets()
454 cnv->toUBytes[1]=b; in _SCSUToUnicodeWithOffsets()
455 cnv->toULength=2; in _SCSUToUnicodeWithOffsets()
465 cnv->toUBytes[1]=b; in _SCSUToUnicodeWithOffsets()
466 cnv->toULength=2; in _SCSUToUnicodeWithOffsets()
503 cnv->toUBytes[0]=b; in _SCSUToUnicodeWithOffsets()
504 cnv->toULength=1; in _SCSUToUnicodeWithOffsets()
514 cnv->toUBytes[0]=b; in _SCSUToUnicodeWithOffsets()
515 cnv->toULength=1; in _SCSUToUnicodeWithOffsets()
520 cnv->toUBytes[0]=b; in _SCSUToUnicodeWithOffsets()
521 cnv->toULength=1; in _SCSUToUnicodeWithOffsets()
525 cnv->toUBytes[0]=b; in _SCSUToUnicodeWithOffsets()
526 cnv->toULength=1; in _SCSUToUnicodeWithOffsets()
531 cnv->toUBytes[0]=b; in _SCSUToUnicodeWithOffsets()
532 cnv->toULength=1; in _SCSUToUnicodeWithOffsets()
538 cnv->toUBytes[1]=b; in _SCSUToUnicodeWithOffsets()
539 cnv->toULength=2; in _SCSUToUnicodeWithOffsets()
561 cnv->toULength=0; in _SCSUToUnicodeWithOffsets()
586 UConverter *cnv; in _SCSUToUnicode() local
598 cnv=pArgs->converter; in _SCSUToUnicode()
599 scsu=(SCSUData *)cnv->extraInfo; in _SCSUToUnicode()
653 cnv->UCharErrorBuffer[0]=(UChar)(0xdc00|(c&0x3ff)); in _SCSUToUnicode()
654 cnv->UCharErrorBufferLength=1; in _SCSUToUnicode()
701 cnv->toUBytes[0]=b; in _SCSUToUnicode()
702 cnv->toULength=1; in _SCSUToUnicode()
707 cnv->toUBytes[0]=b; in _SCSUToUnicode()
708 cnv->toULength=1; in _SCSUToUnicode()
712 cnv->toUBytes[1]=b; in _SCSUToUnicode()
713 cnv->toULength=2; in _SCSUToUnicode()
736 cnv->UCharErrorBuffer[0]=(UChar)(0xdc00|(c&0x3ff)); in _SCSUToUnicode()
737 cnv->UCharErrorBufferLength=1; in _SCSUToUnicode()
748 cnv->toUBytes[1]=b; in _SCSUToUnicode()
749 cnv->toULength=2; in _SCSUToUnicode()
759 cnv->toUBytes[1]=b; in _SCSUToUnicode()
760 cnv->toULength=2; in _SCSUToUnicode()
770 cnv->toUBytes[1]=b; in _SCSUToUnicode()
771 cnv->toULength=2; in _SCSUToUnicode()
801 cnv->toUBytes[0]=b; in _SCSUToUnicode()
802 cnv->toULength=1; in _SCSUToUnicode()
811 cnv->toUBytes[0]=b; in _SCSUToUnicode()
812 cnv->toULength=1; in _SCSUToUnicode()
817 cnv->toUBytes[0]=b; in _SCSUToUnicode()
818 cnv->toULength=1; in _SCSUToUnicode()
822 cnv->toUBytes[0]=b; in _SCSUToUnicode()
823 cnv->toULength=1; in _SCSUToUnicode()
828 cnv->toUBytes[0]=b; in _SCSUToUnicode()
829 cnv->toULength=1; in _SCSUToUnicode()
835 cnv->toUBytes[1]=b; in _SCSUToUnicode()
836 cnv->toULength=2; in _SCSUToUnicode()
854 cnv->toULength=0; in _SCSUToUnicode()
1011 UConverter *cnv; in _SCSUFromUnicodeWithOffsets() local
1035 cnv=pArgs->converter; in _SCSUFromUnicodeWithOffsets()
1036 scsu=(SCSUData *)cnv->extraInfo; in _SCSUFromUnicodeWithOffsets()
1050 c=cnv->fromUChar32; in _SCSUFromUnicodeWithOffsets()
1381 cnv->fromUChar32=c; in _SCSUFromUnicodeWithOffsets()
1446 p=(uint8_t *)cnv->charErrorBuffer; in _SCSUFromUnicodeWithOffsets()
1461 cnv->charErrorBufferLength=(int8_t)length; in _SCSUFromUnicodeWithOffsets()
1504 UConverter *cnv; in _SCSUFromUnicode() local
1525 cnv=pArgs->converter; in _SCSUFromUnicode()
1526 scsu=(SCSUData *)cnv->extraInfo; in _SCSUFromUnicode()
1539 c=cnv->fromUChar32; in _SCSUFromUnicode()
1841 cnv->fromUChar32=c; in _SCSUFromUnicode()
1883 p=(uint8_t *)cnv->charErrorBuffer; in _SCSUFromUnicode()
1898 cnv->charErrorBufferLength=(int8_t)length; in _SCSUFromUnicode()
1925 _SCSUGetName(const UConverter *cnv) { in _SCSUGetName() argument
1926 SCSUData *scsu=(SCSUData *)cnv->extraInfo; in _SCSUGetName()
1939 UConverter cnv; member
1944 _SCSUSafeClone(const UConverter *cnv, in _SCSUSafeClone() argument
1964 uprv_memcpy(&localClone->mydata, cnv->extraInfo, sizeof(SCSUData)); in _SCSUSafeClone()
1965 localClone->cnv.extraInfo = &localClone->mydata; in _SCSUSafeClone()
1966 localClone->cnv.isExtraLocal = TRUE; in _SCSUSafeClone()
1968 return &localClone->cnv; in _SCSUSafeClone()