Lines Matching defs:sourceChar
1348 const uint32_t sourceChar, const uint32_t targetUniChar,
1350 if(sourceChar>0xff){
1351 cnv->toUBytes[0] = (uint8_t)(sourceChar>>8);
1352 cnv->toUBytes[1] = (uint8_t)sourceChar;
1356 cnv->toUBytes[0] =(char) sourceChar;
1653 UChar32 sourceChar;
1671 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) {
1678 sourceChar = *(source++);
1680 if(U16_IS_SURROGATE(sourceChar)) {
1681 if(U16_IS_SURROGATE_LEAD(sourceChar)) {
1689 sourceChar=U16_GET_SUPPLEMENTARY(sourceChar, trail);
1697 cnv->fromUChar32=sourceChar;
1702 cnv->fromUChar32=sourceChar;
1709 cnv->fromUChar32=sourceChar;
1715 if(IS_2022_CONTROL(sourceChar)) {
1718 cnv->fromUChar32=sourceChar;
1782 if(sourceChar <= 0x7f) {
1783 targetValue = (uint32_t)sourceChar;
1790 if(GR96_START <= sourceChar && sourceChar <= GR96_END) {
1791 targetValue = (uint32_t)sourceChar - 0x80;
1798 if((uint32_t)(sourceChar - HWKANA_START) <= (HWKANA_END - HWKANA_START)) {
1802 targetValue = (uint32_t)(sourceChar - (HWKANA_START - 0x21));
1809 targetValue = (uint32_t)(sourceChar - (HWKANA_START - 0xa1));
1825 value = jisx201FromU(sourceChar);
1838 sourceChar, &value,
1850 (uint32_t)(sourceChar - HWKANA_START) <= (HWKANA_END - HWKANA_START)) {
1851 targetValue = hwkana_fb[sourceChar - HWKANA_START];
1862 sourceChar, &value,
1876 sourceChar, &value,
1952 cnv->fromUChar32=sourceChar;
1956 if(sourceChar == CR || sourceChar == LF) {
1972 int32_t sourceIndex = (int32_t)(source - args->source - U16_LENGTH(sourceChar));
1981 &offsets, (int32_t)(source - args->source - U16_LENGTH(sourceChar)),
2345 UChar32 sourceChar = 0x0000;
2370 if((sourceChar = args->converter->fromUChar32)!=0 && target <targetLimit) {
2378 sourceChar = *source++;
2381 if(IS_2022_CONTROL(sourceChar)) {
2384 args->converter->fromUChar32=sourceChar;
2388 length = MBCS_FROM_UCHAR32_ISO2022(sharedData,sourceChar,&targetByteUnit,useFallback,MBCS_OUTPUT_2);
2457 if(U16_IS_SURROGATE(sourceChar)) {
2458 if(U16_IS_SURROGATE_LEAD(sourceChar)) {
2466 sourceChar=U16_GET_SUPPLEMENTARY(sourceChar, trail);
2489 args->converter->fromUChar32=sourceChar;
2905 UChar32 sourceChar;
2920 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) {
2927 sourceChar = *(source++);
2929 if(U16_IS_SURROGATE(sourceChar)) {
2930 if(U16_IS_SURROGATE_LEAD(sourceChar)) {
2938 sourceChar=U16_GET_SUPPLEMENTARY(sourceChar, trail);
2946 cnv->fromUChar32=sourceChar;
2951 cnv->fromUChar32=sourceChar;
2958 cnv->fromUChar32=sourceChar;
2964 if(sourceChar <= 0x007f ){
2966 if(IS_2022_CONTROL(sourceChar)) {
2969 cnv->fromUChar32=sourceChar;
2975 buffer[0] = (char)sourceChar;
2979 buffer[1] = (char)sourceChar;
2984 if(sourceChar == CR || sourceChar == LF) {
3064 sourceChar,
3093 sourceChar,
3155 cnv->fromUChar32=sourceChar;
3170 int32_t sourceIndex = (int32_t)(source - args->source - U16_LENGTH(sourceChar));
3179 &offsets, (int32_t)(source - args->source - U16_LENGTH(sourceChar)),