Lines Matching refs:sourceChar
1374 const uint32_t sourceChar, const uint32_t targetUniChar, in toUnicodeCallback() argument
1376 if(sourceChar>0xff){ in toUnicodeCallback()
1377 cnv->toUBytes[0] = (uint8_t)(sourceChar>>8); in toUnicodeCallback()
1378 cnv->toUBytes[1] = (uint8_t)sourceChar; in toUnicodeCallback()
1382 cnv->toUBytes[0] =(char) sourceChar; in toUnicodeCallback()
1679 UChar32 sourceChar; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
1697 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1704 sourceChar = *(source++); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1706 if(U16_IS_SURROGATE(sourceChar)) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1707 if(U16_IS_SURROGATE_LEAD(sourceChar)) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1715 sourceChar=U16_GET_SUPPLEMENTARY(sourceChar, trail); 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()
1741 if(IS_2022_CONTROL(sourceChar)) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1744 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1808 if(sourceChar <= 0x7f) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1809 targetValue = (uint32_t)sourceChar; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1816 if(GR96_START <= sourceChar && sourceChar <= GR96_END) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1817 targetValue = (uint32_t)sourceChar - 0x80; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1824 if((uint32_t)(sourceChar - HWKANA_START) <= (HWKANA_END - HWKANA_START)) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1828 targetValue = (uint32_t)(sourceChar - (HWKANA_START - 0x21)); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1835 targetValue = (uint32_t)(sourceChar - (HWKANA_START - 0xa1)); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1851 value = jisx201FromU(sourceChar); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1864 sourceChar, &value, in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1876 … (uint32_t)(sourceChar - HWKANA_START) <= (HWKANA_END - HWKANA_START)) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1877 targetValue = hwkana_fb[sourceChar - HWKANA_START]; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1888 sourceChar, &value, in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1902 sourceChar, &value, in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1978 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1982 if(sourceChar == CR || sourceChar == LF) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1998 int32_t sourceIndex = (int32_t)(source - args->source - U16_LENGTH(sourceChar)); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2007 &offsets, (int32_t)(source - args->source - U16_LENGTH(sourceChar)), in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2371 UChar32 sourceChar = 0x0000; in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC() local
2396 if((sourceChar = args->converter->fromUChar32)!=0 && target <targetLimit) { in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2404 sourceChar = *source++; in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2407 if(IS_2022_CONTROL(sourceChar)) { in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2410 args->converter->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2414 …length = MBCS_FROM_UCHAR32_ISO2022(sharedData,sourceChar,&targetByteUnit,useFallback,MBCS_OUTPUT_2… in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2483 if(U16_IS_SURROGATE(sourceChar)) { in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2484 if(U16_IS_SURROGATE_LEAD(sourceChar)) { in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2492 sourceChar=U16_GET_SUPPLEMENTARY(sourceChar, trail); in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2515 args->converter->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2931 UChar32 sourceChar; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC() local
2946 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) { in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
2953 sourceChar = *(source++); in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
2955 if(U16_IS_SURROGATE(sourceChar)) { in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
2956 if(U16_IS_SURROGATE_LEAD(sourceChar)) { in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
2964 sourceChar=U16_GET_SUPPLEMENTARY(sourceChar, trail); 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()
2990 if(sourceChar <= 0x007f ){ in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
2992 if(IS_2022_CONTROL(sourceChar)) { in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
2995 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3001 buffer[0] = (char)sourceChar; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3005 buffer[1] = (char)sourceChar; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3010 if(sourceChar == CR || sourceChar == LF) { in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3090 sourceChar, in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3119 sourceChar, in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3181 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3196 int32_t sourceIndex = (int32_t)(source - args->source - U16_LENGTH(sourceChar)); in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3205 &offsets, (int32_t)(source - args->source - U16_LENGTH(sourceChar)), in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()