Lines Matching defs:sourceChar

898     UChar32 sourceChar = 0x0000;
914 if ((sourceChar = args->converter->fromUChar32)!=0) {
932 sourceChar = *source++;
938 if (sourceChar <= ASCII_END) {
939 args->converter->fromUnicodeStatus = sourceChar;
940 WRITE_TO_TARGET_FROM_U(args,offsets,source,target,targetLimit,sourceChar,err);
946 switch (sourceChar) {
968 /* is the sourceChar in the INDIC_RANGE? */
969 if ((uint16_t)(INDIC_BLOCK_END-sourceChar) <= INDIC_RANGE) {
974 if (sourceChar!= DANDA && sourceChar != DOUBLE_DANDA) {
976 range =(uint16_t)((sourceChar-INDIC_BLOCK_BEGIN)/DELTA);
988 if (sourceChar == PNJ_TIPPI) {
990 sourceChar = PNJ_BINDI;
991 } else if (sourceChar == PNJ_ADHAK) {
998 /* now subtract the new delta from sourceChar*/
999 sourceChar -= converterData->currentDeltaFromUnicode;
1003 targetByteUnit=fromUnicodeTable[(uint8_t)sourceChar];
1006 if ((validityTable[(uint8_t)sourceChar] & converterData->currentMaskFromUnicode)==0) {
1008 if (converterData->currentDeltaFromUnicode!=(TELUGU_DELTA) || sourceChar!=VOCALLIC_RR) {
1015 * previous sourceChar's script block write ATR and language codes
1029 if (converterData->currentDeltaFromUnicode == PNJ_DELTA && (sourceChar + PNJ_DELTA) == PNJ_ADHAK) {
1037 if (converterData->currentDeltaFromUnicode == PNJ_DELTA && tempContextFromUnicode == PNJ_ADHAK && isPNJConsonant((sourceChar + PNJ_DELTA))) {
1059 if (U16_IS_SURROGATE(sourceChar)) {
1060 if (U16_IS_SURROGATE_LEAD(sourceChar)) {
1068 sourceChar=U16_GET_SUPPLEMENTARY(sourceChar, trail);
1091 args->converter->fromUChar32=sourceChar;
1139 #define GET_MAPPING(sourceChar,targetUniChar,data){ \
1140 targetUniChar = toUnicodeTable[(sourceChar)] ; \
1142 if(sourceChar> ASCII_END && \
1179 uint8_t sourceChar = 0x0000;
1202 sourceChar = (unsigned char)*(source)++;
1208 * state to the Indic Script specified by sourceChar
1211 /* check if the sourceChar is supported script range*/
1212 if ((uint8_t)(PNJ-sourceChar)<=PNJ-DEV) {
1213 data->currentDeltaToUnicode = (uint16_t)(lookupTable[sourceChar & 0x0F][0] * DELTA);
1214 data->currentMaskToUnicode = (MaskEnum)lookupTable[sourceChar & 0x0F][1];
1215 } else if (sourceChar==DEF) {
1220 if ((sourceChar >= 0x21 && sourceChar <= 0x3F)) {
1236 /* check if sourceChar is in 0xA1-0xEE range */
1237 if ((uint8_t) (EXT_RANGE_END - sourceChar) <= (EXT_RANGE_END - EXT_RANGE_BEGIN)) {
1239 if (sourceChar==0xBF || sourceChar == 0xB8) {
1240 targetUniChar = (sourceChar==0xBF) ? DEV_ABBR_SIGN : DEV_ANUDATTA;
1267 if (sourceChar==ISCII_HALANT) {
1285 switch (sourceChar) {
1289 *contextCharToUnicode = (UChar)sourceChar;
1309 GET_MAPPING(sourceChar,targetUniChar,data);
1310 *contextCharToUnicode = sourceChar;
1320 GET_MAPPING(sourceChar,targetUniChar,data);
1321 *contextCharToUnicode = sourceChar;
1328 GET_MAPPING(sourceChar,targetUniChar,data)
1330 *contextCharToUnicode = sourceChar;
1353 GET_MAPPING(sourceChar,targetUniChar,data);
1354 *contextCharToUnicode = sourceChar;
1424 default:GET_MAPPING(sourceChar,targetUniChar,data)
1426 *contextCharToUnicode = sourceChar;
1480 args->converter->toUBytes[0] = (uint8_t) sourceChar;