• Home
  • Raw
  • Download

Lines Matching refs:cnv

389 _ISO2022Open(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode);
399 _ISO2022getName(const UConverter* cnv);
407 _ISO_2022_SafeClone(const UConverter *cnv, void *stackBuffer, int32_t *pBufferSize, UErrorCode *sta…
432 fromUWriteUInt8(UConverter *cnv, in fromUWriteUInt8() argument
440 ucnv_fromUWriteBytes(cnv, bytes, length, &targetChars, targetLimit, in fromUWriteUInt8()
449 UConverter *cnv = myConverterData->currentConverter; in setInitialStateToUnicodeKR() local
451 cnv->toUnicodeStatus=0; /* offset */ in setInitialStateToUnicodeKR()
452 cnv->mode=0; /* state */ in setInitialStateToUnicodeKR()
453 cnv->toULength=0; /* byteIndex */ in setInitialStateToUnicodeKR()
471 UConverter *cnv = myConverterData->currentConverter; in setInitialStateFromUnicodeKR() local
473 cnv->fromUChar32=0; in setInitialStateFromUnicodeKR()
474 cnv->fromUnicodeStatus=1; /* prevLength */ in setInitialStateFromUnicodeKR()
479 _ISO2022Open(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode){ in _ISO2022Open() argument
483 cnv->extraInfo = uprv_malloc (sizeof (UConverterDataISO2022)); in _ISO2022Open()
484 if(cnv->extraInfo != NULL) { in _ISO2022Open()
487 UConverterDataISO2022 *myConverterData=(UConverterDataISO2022 *) cnv->extraInfo; in _ISO2022Open()
494 cnv->fromUnicodeStatus =FALSE; in _ISO2022Open()
533 cnv->sharedData=(UConverterSharedData*)(&_ISO2022JPData); in _ISO2022Open()
563 uprv_free(cnv->extraInfo); in _ISO2022Open()
564 cnv->extraInfo=NULL; in _ISO2022Open()
569 _ISO2022Close(cnv); in _ISO2022Open()
575 uprv_memcpy(cnv->subChars, myConverterData->currentConverter->subChars, 4); in _ISO2022Open()
576 cnv->subCharLen = myConverterData->currentConverter->subCharLen; in _ISO2022Open()
582 setInitialStateToUnicodeKR(cnv, myConverterData); in _ISO2022Open()
583 setInitialStateFromUnicodeKR(cnv, myConverterData); in _ISO2022Open()
586 cnv->sharedData=(UConverterSharedData*)&_ISO2022KRData; in _ISO2022Open()
615 cnv->sharedData=(UConverterSharedData*)&_ISO2022CNData; in _ISO2022Open()
635 cnv->charErrorBufferLength = 3; in _ISO2022Open()
636 cnv->charErrorBuffer[0] = 0x1b; in _ISO2022Open()
637 cnv->charErrorBuffer[1] = 0x25; in _ISO2022Open()
638 cnv->charErrorBuffer[2] = 0x42; in _ISO2022Open()
640 cnv->sharedData=(UConverterSharedData*)&_ISO2022Data; in _ISO2022Open()
651 cnv->maxBytesPerUChar=cnv->sharedData->staticData->maxBytesPerChar; in _ISO2022Open()
654 _ISO2022Close(cnv); in _ISO2022Open()
733 _ISO2022getName(const UConverter* cnv){ in _ISO2022getName() argument
734 if(cnv->extraInfo){ in _ISO2022getName()
735 UConverterDataISO2022* myData= (UConverterDataISO2022*)cnv->extraInfo; in _ISO2022getName()
1373 toUnicodeCallback(UConverter *cnv, in toUnicodeCallback() argument
1377 cnv->toUBytes[0] = (uint8_t)(sourceChar>>8); in toUnicodeCallback()
1378 cnv->toUBytes[1] = (uint8_t)sourceChar; in toUnicodeCallback()
1379 cnv->toULength = 2; in toUnicodeCallback()
1382 cnv->toUBytes[0] =(char) sourceChar; in toUnicodeCallback()
1383 cnv->toULength = 1; in toUnicodeCallback()
1671 UConverter *cnv = args->converter; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
1691 converterData = (UConverterDataISO2022*)cnv->extraInfo; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1697 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1716 cnv->fromUChar32=0x00; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1723 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1728 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1735 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1744 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1800 useFallback = cnv->useFallback; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1978 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2004 cnv, in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2033 args->flush && source>=sourceLimit && cnv->fromUChar32==0 in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2072 cnv, in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2923 UConverter *cnv = args->converter; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC() local
2940 converterData = (UConverterDataISO2022*)cnv->extraInfo; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
2946 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) { in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
2965 cnv->fromUChar32=0x00; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
2972 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
2977 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
2984 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
2995 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3080 useFallback = cnv->useFallback; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3181 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3202 cnv, in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3231 args->flush && source>=sourceLimit && cnv->fromUChar32==0 in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3259 cnv, in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3370 UConverterSharedData *cnv; in UConverter_toUnicode_ISO_2022_CN_OFFSETS_LOGIC() local
3393 cnv = myData->myConverterArray[CNS_11643]; in UConverter_toUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3401 cnv = myData->myConverterArray[tempState]; in UConverter_toUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3406 … targetUniChar = ucnv_MBCSSimpleGetNextUChar(cnv, tempBuf, tempBufLen, FALSE); in UConverter_toUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3476 UConverter *cnv = args->converter; in _ISO_2022_WriteSub() local
3477 UConverterDataISO2022 *myConverterData=(UConverterDataISO2022 *) cnv->extraInfo; in _ISO_2022_WriteSub()
3483 subchar=(char *)cnv->subChars; in _ISO_2022_WriteSub()
3484 length=cnv->subCharLen; /* assume length==1 for most variants */ in _ISO_2022_WriteSub()
3548 myConverterData->currentConverter->fromUChar32 = cnv->fromUChar32; in _ISO_2022_WriteSub()
3550 cnv->fromUChar32 = myConverterData->currentConverter->fromUChar32; in _ISO_2022_WriteSub()
3551 args->converter = cnv; in _ISO_2022_WriteSub()
3560 cnv->charErrorBuffer, in _ISO_2022_WriteSub()
3564cnv->charErrorBufferLength = myConverterData->currentConverter->charErrorBufferLength; in _ISO_2022_WriteSub()
3591 UConverter cnv; member
3602 const UConverter *cnv, in _ISO_2022_SafeClone() argument
3616 cnvData = (UConverterDataISO2022 *)cnv->extraInfo; in _ISO_2022_SafeClone()
3622 localClone->cnv.extraInfo = &localClone->mydata; /* set pointer to extra data */ in _ISO_2022_SafeClone()
3623 localClone->cnv.isExtraLocal = TRUE; in _ISO_2022_SafeClone()
3644 return &localClone->cnv; in _ISO_2022_SafeClone()
3650 _ISO_2022_GetUnicodeSet(const UConverter *cnv, in _ISO_2022_GetUnicodeSet() argument
3662 if (cnv->sharedData == &_ISO2022Data) { in _ISO_2022_GetUnicodeSet()
3670 cnvData = (UConverterDataISO2022*)cnv->extraInfo; in _ISO_2022_GetUnicodeSet()