Lines Matching refs:sourceChar
904 UChar32 sourceChar = 0x0000; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() local
920 if ((sourceChar = args->converter->fromUChar32)!=0) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
938 sourceChar = *source++; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
944 if (sourceChar <= ASCII_END) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
945 args->converter->fromUnicodeStatus = sourceChar; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
946 WRITE_TO_TARGET_FROM_U(args,offsets,source,target,targetLimit,sourceChar,err); in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
952 switch (sourceChar) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
975 if ((uint16_t)(INDIC_BLOCK_END-sourceChar) <= INDIC_RANGE) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
980 if (sourceChar!= DANDA && sourceChar != DOUBLE_DANDA) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
982 range =(uint16_t)((sourceChar-INDIC_BLOCK_BEGIN)/DELTA); in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
994 if (sourceChar == PNJ_TIPPI) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
996 sourceChar = PNJ_BINDI; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
997 } else if (sourceChar == PNJ_ADHAK) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
1005 sourceChar -= converterData->currentDeltaFromUnicode; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
1009 targetByteUnit=fromUnicodeTable[(uint8_t)sourceChar]; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
1012 … if ((validityTable[(uint8_t)sourceChar] & converterData->currentMaskFromUnicode)==0) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
1014 … if (converterData->currentDeltaFromUnicode!=(TELUGU_DELTA) || sourceChar!=VOCALLIC_RR) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
1035 …if (converterData->currentDeltaFromUnicode == PNJ_DELTA && (sourceChar + PNJ_DELTA) == PNJ_ADHAK) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
1043 … == PNJ_DELTA && tempContextFromUnicode == PNJ_ADHAK && isPNJConsonant((sourceChar + PNJ_DELTA))) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
1065 if (U16_IS_SURROGATE(sourceChar)) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
1066 if (U16_IS_SURROGATE_LEAD(sourceChar)) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
1074 sourceChar=U16_GET_SUPPLEMENTARY(sourceChar, trail); in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
1097 args->converter->fromUChar32=sourceChar; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
1145 #define GET_MAPPING(sourceChar,targetUniChar,data){ \ argument
1146 targetUniChar = toUnicodeTable[(sourceChar)] ; \
1148 if(sourceChar> ASCII_END && \
1186 uint8_t sourceChar = 0x0000; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC() local
1209 sourceChar = (unsigned char)*(source)++; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1219 if ((uint8_t)(PNJ-sourceChar)<=PNJ-DEV) { in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1220 … data->currentDeltaToUnicode = (uint16_t)(lookupTable[sourceChar & 0x0F][0] * DELTA); in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1221 data->currentMaskToUnicode = (MaskEnum)lookupTable[sourceChar & 0x0F][1]; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1222 } else if (sourceChar==DEF) { in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1227 if ((sourceChar >= 0x21 && sourceChar <= 0x3F)) { in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1244 if ((uint8_t) (EXT_RANGE_END - sourceChar) <= (EXT_RANGE_END - EXT_RANGE_BEGIN)) { in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1246 if (sourceChar==0xBF || sourceChar == 0xB8) { in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1247 targetUniChar = (sourceChar==0xBF) ? DEV_ABBR_SIGN : DEV_ANUDATTA; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1274 if (sourceChar==ISCII_HALANT) { in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1292 switch (sourceChar) { in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1296 *contextCharToUnicode = (UChar)sourceChar; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1316 GET_MAPPING(sourceChar,targetUniChar,data); in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1317 *contextCharToUnicode = sourceChar; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1327 GET_MAPPING(sourceChar,targetUniChar,data); in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1328 *contextCharToUnicode = sourceChar; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1334 GET_MAPPING(sourceChar,targetUniChar,data) in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1336 *contextCharToUnicode = sourceChar; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1359 GET_MAPPING(sourceChar,targetUniChar,data); in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1360 *contextCharToUnicode = sourceChar; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1431 default:GET_MAPPING(sourceChar,targetUniChar,data) in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1433 *contextCharToUnicode = sourceChar; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1487 args->converter->toUBytes[0] = (uint8_t) sourceChar; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()