Lines Matching full:sourcechar
895 UChar32 sourceChar = 0x0000;
911 if ((sourceChar = args->converter->fromUChar32)!=0) {
929 sourceChar = *source++;
935 if (sourceChar <= ASCII_END) {
936 args->converter->fromUnicodeStatus = sourceChar;
937 WRITE_TO_TARGET_FROM_U(args,offsets,source,target,targetLimit,sourceChar,err);
943 switch (sourceChar) {
965 /* is the sourceChar in the INDIC_RANGE? */
966 if ((uint16_t)(INDIC_BLOCK_END-sourceChar) <= INDIC_RANGE) {
971 if (sourceChar!= DANDA && sourceChar != DOUBLE_DANDA) {
973 range =(uint16_t)((sourceChar-INDIC_BLOCK_BEGIN)/DELTA);
985 if (sourceChar == PNJ_TIPPI) {
987 sourceChar = PNJ_BINDI;
988 } else if (sourceChar == PNJ_ADHAK) {
995 /* now subtract the new delta from sourceChar*/
996 sourceChar -= converterData->currentDeltaFromUnicode;
1000 targetByteUnit=fromUnicodeTable[(uint8_t)sourceChar];
1003 if ((validityTable[(uint8_t)sourceChar] & converterData->currentMaskFromUnicode)==0) {
1005 if (converterData->currentDeltaFromUnicode!=(TELUGU_DELTA) || sourceChar!=VOCALLIC_RR) {
1012 * previous sourceChar's script block write ATR and language codes
1026 if (converterData->currentDeltaFromUnicode == PNJ_DELTA && (sourceChar + PNJ_DELTA) == PNJ_ADHAK) {
1034 if (converterData->currentDeltaFromUnicode == PNJ_DELTA && tempContextFromUnicode == PNJ_ADHAK && uset_contains(PNJ_CONSONANT_SET, (sourceChar + PNJ_DELTA))) {
1056 if (UTF_IS_SURROGATE(sourceChar)) {
1057 if (UTF_IS_SURROGATE_FIRST(sourceChar)) {
1065 sourceChar=UTF16_GET_PAIR_VALUE(sourceChar, trail);
1088 args->converter->fromUChar32=sourceChar;
1136 #define GET_MAPPING(sourceChar,targetUniChar,data){ \
1137 targetUniChar = toUnicodeTable[(sourceChar)] ; \
1139 if(sourceChar> ASCII_END && \
1176 uint8_t sourceChar = 0x0000;
1199 sourceChar = (unsigned char)*(source)++;
1205 * state to the Indic Script specified by sourceChar
1208 /* check if the sourceChar is supported script range*/
1209 if ((uint8_t)(PNJ-sourceChar)<=PNJ-DEV) {
1210 data->currentDeltaToUnicode = (uint16_t)(lookupTable[sourceChar & 0x0F][0] * DELTA);
1211 data->currentMaskToUnicode = (MaskEnum)lookupTable[sourceChar & 0x0F][1];
1212 } else if (sourceChar==DEF) {
1217 if ((sourceChar >= 0x21 && sourceChar <= 0x3F)) {
1233 /* check if sourceChar is in 0xA1-0xEE range */
1234 if ((uint8_t) (EXT_RANGE_END - sourceChar) <= (EXT_RANGE_END - EXT_RANGE_BEGIN)) {
1236 if (sourceChar==0xBF || sourceChar == 0xB8) {
1237 targetUniChar = (sourceChar==0xBF) ? DEV_ABBR_SIGN : DEV_ANUDATTA;
1264 if (sourceChar==ISCII_HALANT) {
1282 switch (sourceChar) {
1286 *contextCharToUnicode = (UChar)sourceChar;
1306 GET_MAPPING(sourceChar,targetUniChar,data);
1307 *contextCharToUnicode = sourceChar;
1317 GET_MAPPING(sourceChar,targetUniChar,data);
1318 *contextCharToUnicode = sourceChar;
1325 GET_MAPPING(sourceChar,targetUniChar,data)
1327 *contextCharToUnicode = sourceChar;
1349 GET_MAPPING(sourceChar,targetUniChar,data);
1350 *contextCharToUnicode = sourceChar;
1420 default:GET_MAPPING(sourceChar,targetUniChar,data)
1422 *contextCharToUnicode = sourceChar;
1476 args->converter->toUBytes[0] = (uint8_t) sourceChar;