Searched refs:sourceChar (Results 1 – 8 of 8) sorted by relevance
/external/icu/icu4c/source/common/ |
D | ucnvisci.c | 898 UChar32 sourceChar = 0x0000; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() local 914 if ((sourceChar = args->converter->fromUChar32)!=0) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() 932 sourceChar = *source++; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() 938 if (sourceChar <= ASCII_END) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() 939 args->converter->fromUnicodeStatus = sourceChar; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() 940 WRITE_TO_TARGET_FROM_U(args,offsets,source,target,targetLimit,sourceChar,err); in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() 946 switch (sourceChar) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() 969 if ((uint16_t)(INDIC_BLOCK_END-sourceChar) <= INDIC_RANGE) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() 974 if (sourceChar!= DANDA && sourceChar != DOUBLE_DANDA) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() 976 range =(uint16_t)((sourceChar-INDIC_BLOCK_BEGIN)/DELTA); in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() [all …]
|
D | ucnv2022.cpp | 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() [all …]
|
D | ucnv_ct.c | 335 UChar32 sourceChar; in UConverter_fromUnicode_CompoundText_OFFSETS() local 349 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) { in UConverter_fromUnicode_CompoundText_OFFSETS() 356 sourceChar = *(source++); in UConverter_fromUnicode_CompoundText_OFFSETS() 358 if(U16_IS_SURROGATE(sourceChar)) { in UConverter_fromUnicode_CompoundText_OFFSETS() 359 if(U16_IS_SURROGATE_LEAD(sourceChar)) { in UConverter_fromUnicode_CompoundText_OFFSETS() 367 sourceChar=U16_GET_SUPPLEMENTARY(sourceChar, trail); in UConverter_fromUnicode_CompoundText_OFFSETS() 375 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_CompoundText_OFFSETS() 380 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_CompoundText_OFFSETS() 387 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_CompoundText_OFFSETS() 393 tmpState = getState(sourceChar); in UConverter_fromUnicode_CompoundText_OFFSETS() [all …]
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetISO2022.java | 763 …private static CoderResult toUnicodeCallback(CharsetDecoderICU cnv, int sourceChar, int targetUniC… in toUnicodeCallback() argument 765 if (sourceChar > 0xff) { in toUnicodeCallback() 766 cnv.toUBytesArray[0] = (byte)(sourceChar>>8); in toUnicodeCallback() 767 cnv.toUBytesArray[1] = (byte)sourceChar; in toUnicodeCallback() 770 cnv.toUBytesArray[0] = (byte)sourceChar; in toUnicodeCallback() 1729 int sourceChar; in encodeLoop() local 1743 if ((sourceChar = fromUChar32) != 0 && target.hasRemaining()) { in encodeLoop() 1751 sourceChar = source.get(); in encodeLoop() 1754 if (getTrail || UTF16.isSurrogate((char)sourceChar)) { in encodeLoop() 1755 if (getTrail || UTF16.isLeadSurrogate((char)sourceChar)) { in encodeLoop() [all …]
|
D | CharsetISCII.java | 834 short sourceChar = 0x0000; in decodeLoop() local 847 … sourceChar = (short)((short)source.get() & UConverterConstants.UNSIGNED_BYTE_MASK); in decodeLoop() 855 …if (((short)(ISCIILang.PNJ - sourceChar) & UConverterConstants.UNSIGNED_BYTE_MASK) <= (ISCIILang.P… in decodeLoop() 856 … data.currentDeltaToUnicode = (short)(lookupTable[sourceChar & 0x0F][0] * UniLang.DELTA); in decodeLoop() 857 data.currentMaskToUnicode = lookupTable[sourceChar & 0x0F][1]; in decodeLoop() 858 } else if (sourceChar == ISCIILang.DEF) { in decodeLoop() 863 if ((sourceChar >= 0x21 && sourceChar <= 0x3F)) { in decodeLoop() 879 …if (((short)(EXT_RANGE_END - sourceChar) & UConverterConstants.UNSIGNED_BYTE_MASK) <= (EXT_RANGE_E… in decodeLoop() 881 if (sourceChar == 0xBF || sourceChar == 0xB8) { in decodeLoop() 882 targetUniChar = (sourceChar == 0xBF) ? DEV_ABBR_SIGN : DEV_ANUDATTA; in decodeLoop() [all …]
|
D | CharsetCompoundText.java | 342 int sourceChar; in encodeLoop() local 358 if ((sourceChar = fromUChar32) != 0 && target.hasRemaining()) { in encodeLoop() 366 sourceChar = source.get(); in encodeLoop() 374 if (UTF16.isSurrogate((char)sourceChar) || gotoGetTrail) { in encodeLoop() 375 if (UTF16.isLeadSurrogate((char)sourceChar) || gotoGetTrail) { in encodeLoop() 387 sourceChar = UCharacter.getCodePoint((char)sourceChar, trail); in encodeLoop() 395 fromUChar32 = sourceChar; in encodeLoop() 400 fromUChar32 = sourceChar; in encodeLoop() 407 fromUChar32 = sourceChar; in encodeLoop() 412 tmpState = getState(sourceChar); in encodeLoop() [all …]
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationBuilder.java | 986 int sourceChar = Collation.SENTINEL_CP; 992 if(sourceChar < 0) { 994 sourceChar = Character.codePointAt(nfdString, sourceIndex); 995 sourceCC = nfd.getCombiningClass(sourceChar); 1014 } else if(decompChar != sourceChar) { 1021 sourceChar = Collation.SENTINEL_CP; 1025 if(sourceChar >= 0) { // more characters from nfdString but not from decomp
|
/external/icu/icu4c/source/i18n/ |
D | collationbuilder.cpp | 1246 UChar32 sourceChar = U_SENTINEL; in mergeCompositeIntoString() local 1252 if(sourceChar < 0) { in mergeCompositeIntoString() 1254 sourceChar = nfdString.char32At(sourceIndex); in mergeCompositeIntoString() 1255 sourceCC = nfd.getCombiningClass(sourceChar); in mergeCompositeIntoString() 1274 } else if(decompChar != sourceChar) { in mergeCompositeIntoString() 1281 sourceChar = U_SENTINEL; in mergeCompositeIntoString() 1285 if(sourceChar >= 0) { // more characters from nfdString but not from decomp in mergeCompositeIntoString()
|