Searched defs:sourceChar (Results 1 - 6 of 6) sorted by relevance
/external/icu/icu4c/source/common/ |
H A D | ucnv_ct.c | 337 UChar32 sourceChar; local 351 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) { 358 sourceChar = *(source++); 360 if(U16_IS_SURROGATE(sourceChar)) { 361 if(U16_IS_SURROGATE_LEAD(sourceChar)) { 369 sourceChar=U16_GET_SUPPLEMENTARY(sourceChar, trail); 377 cnv->fromUChar32=sourceChar; 382 cnv->fromUChar32=sourceChar; 389 cnv->fromUChar32=sourceChar; [all...] |
H A D | ucnvisci.c | 900 UChar32 sourceChar = 0x0000; local 916 if ((sourceChar = args->converter->fromUChar32)!=0) { 934 sourceChar = *source++; 940 if (sourceChar <= ASCII_END) { 941 args->converter->fromUnicodeStatus = sourceChar; 942 WRITE_TO_TARGET_FROM_U(args,offsets,source,target,targetLimit,sourceChar,err); 948 switch (sourceChar) { 970 /* is the sourceChar in the INDIC_RANGE? */ 971 if ((uint16_t)(INDIC_BLOCK_END-sourceChar) <= INDIC_RANGE) { 976 if (sourceChar! 1181 uint8_t sourceChar = 0x0000; local [all...] |
H A D | ucnv2022.cpp | 1374 const uint32_t sourceChar, const uint32_t targetUniChar, 1376 if(sourceChar>0xff){ 1377 cnv->toUBytes[0] = (uint8_t)(sourceChar>>8); 1378 cnv->toUBytes[1] = (uint8_t)sourceChar; 1382 cnv->toUBytes[0] =(char) sourceChar; 1679 UChar32 sourceChar; local 1697 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) { 1704 sourceChar = *(source++); 1706 if(U16_IS_SURROGATE(sourceChar)) { 1707 if(U16_IS_SURROGATE_LEAD(sourceChar)) { 1373 toUnicodeCallback(UConverter *cnv, const uint32_t sourceChar, const uint32_t targetUniChar, UErrorCode* err) argument 2371 UChar32 sourceChar = 0x0000; local 2931 UChar32 sourceChar; local [all...] |
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
H A D | CharsetISCII.java | 832 short sourceChar = 0x0000; 845 sourceChar = (short)(source.get() & UConverterConstants.UNSIGNED_BYTE_MASK); 850 * state to Indic Script specified by sourceChar 852 /* check if the sourceChar is supported script range */ 853 if (((short)(ISCIILang.PNJ - sourceChar) & UConverterConstants.UNSIGNED_BYTE_MASK) <= (ISCIILang.PNJ - ISCIILang.DEV)) { 854 data.currentDeltaToUnicode = (short)(lookupTable[sourceChar & 0x0F][0] * UniLang.DELTA); 855 data.currentMaskToUnicode = lookupTable[sourceChar & 0x0F][1]; 856 } else if (sourceChar == ISCIILang.DEF) { 861 if ((sourceChar >= 0x21 && sourceChar < 1174 GetMapping(short sourceChar, int targetUniChar, UConverterDataISCII data) argument [all...] |
H A D | CharsetISO2022.java | 762 private static CoderResult toUnicodeCallback(CharsetDecoderICU cnv, int sourceChar, int targetUniChar) { argument 764 if (sourceChar > 0xff) { 765 cnv.toUBytesArray[0] = (byte)(sourceChar>>8); 766 cnv.toUBytesArray[1] = (byte)sourceChar; 769 cnv.toUBytesArray[0] = (byte)sourceChar; 1737 int sourceChar; 1751 if ((sourceChar = fromUChar32) != 0 && target.hasRemaining()) { 1759 sourceChar = source.get(); 1762 if (getTrail || UTF16.isSurrogate((char)sourceChar)) { 1763 if (getTrail || UTF16.isLeadSurrogate((char)sourceChar)) { [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | collationbuilder.cpp | 1248 UChar32 sourceChar = U_SENTINEL; local 1254 if(sourceChar < 0) { 1256 sourceChar = nfdString.char32At(sourceIndex); 1257 sourceCC = nfd.getCombiningClass(sourceChar); 1271 // Composite + sourceChar would not be FCD. 1276 } else if(decompChar != sourceChar) { 1279 } else { // match: decompChar == sourceChar 1283 sourceChar = U_SENTINEL; 1287 if(sourceChar >= 0) { // more characters from nfdString but not from decomp
|
Completed in 186 milliseconds