Lines Matching refs:sourceChar

1385                   const uint32_t sourceChar, const uint32_t targetUniChar,  in toUnicodeCallback()  argument
1387 if(sourceChar>0xff){ in toUnicodeCallback()
1388 cnv->toUBytes[0] = (uint8_t)(sourceChar>>8); in toUnicodeCallback()
1389 cnv->toUBytes[1] = (uint8_t)sourceChar; in toUnicodeCallback()
1393 cnv->toUBytes[0] =(char) sourceChar; in toUnicodeCallback()
1690 UChar32 sourceChar; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
1708 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1715 sourceChar = *(source++); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1717 if(U16_IS_SURROGATE(sourceChar)) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1718 if(U16_IS_SURROGATE_LEAD(sourceChar)) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1726 sourceChar=U16_GET_SUPPLEMENTARY(sourceChar, trail); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1734 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1739 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1746 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1752 if(IS_2022_CONTROL(sourceChar)) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1755 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1819 if(sourceChar <= 0x7f) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1820 targetValue = (uint32_t)sourceChar; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1827 if(GR96_START <= sourceChar && sourceChar <= GR96_END) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1828 targetValue = (uint32_t)sourceChar - 0x80; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1835 if((uint32_t)(sourceChar - HWKANA_START) <= (HWKANA_END - HWKANA_START)) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1839 targetValue = (uint32_t)(sourceChar - (HWKANA_START - 0x21)); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1846 targetValue = (uint32_t)(sourceChar - (HWKANA_START - 0xa1)); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1862 value = jisx201FromU(sourceChar); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1875 sourceChar, &value, in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1887 … (uint32_t)(sourceChar - HWKANA_START) <= (HWKANA_END - HWKANA_START)) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1888 targetValue = hwkana_fb[sourceChar - HWKANA_START]; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1899 sourceChar, &value, in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1913 sourceChar, &value, in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1989 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1993 if(sourceChar == CR || sourceChar == LF) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2009 int32_t sourceIndex = (int32_t)(source - args->source - U16_LENGTH(sourceChar)); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2018 &offsets, (int32_t)(source - args->source - U16_LENGTH(sourceChar)), in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2383 UChar32 sourceChar = 0x0000; in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC() local
2408 if((sourceChar = args->converter->fromUChar32)!=0 && target <targetLimit) { in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2416 sourceChar = *source++; in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2419 if(IS_2022_CONTROL(sourceChar)) { in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2422 args->converter->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2426 …length = MBCS_FROM_UCHAR32_ISO2022(sharedData,sourceChar,&targetByteUnit,useFallback,MBCS_OUTPUT_2… in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2495 if(U16_IS_SURROGATE(sourceChar)) { in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2496 if(U16_IS_SURROGATE_LEAD(sourceChar)) { in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2504 sourceChar=U16_GET_SUPPLEMENTARY(sourceChar, trail); in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2527 args->converter->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2943 UChar32 sourceChar; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC() local
2958 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) { in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
2965 sourceChar = *(source++); in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
2967 if(U16_IS_SURROGATE(sourceChar)) { in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
2968 if(U16_IS_SURROGATE_LEAD(sourceChar)) { in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
2976 sourceChar=U16_GET_SUPPLEMENTARY(sourceChar, trail); in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
2984 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
2989 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
2996 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3002 if(sourceChar <= 0x007f ){ in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3004 if(IS_2022_CONTROL(sourceChar)) { in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3007 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3013 buffer[0] = (char)sourceChar; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3017 buffer[1] = (char)sourceChar; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3022 if(sourceChar == CR || sourceChar == LF) { in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3102 sourceChar, in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3131 sourceChar, in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3193 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3208 int32_t sourceIndex = (int32_t)(source - args->source - U16_LENGTH(sourceChar)); in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
3217 &offsets, (int32_t)(source - args->source - U16_LENGTH(sourceChar)), in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()