Searched refs:sourceChar (Results 1 – 6 of 6) 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 | 1346 const uint32_t sourceChar, const uint32_t targetUniChar, in toUnicodeCallback() argument 1348 if(sourceChar>0xff){ in toUnicodeCallback() 1349 cnv->toUBytes[0] = (uint8_t)(sourceChar>>8); in toUnicodeCallback() 1350 cnv->toUBytes[1] = (uint8_t)sourceChar; in toUnicodeCallback() 1354 cnv->toUBytes[0] =(char) sourceChar; in toUnicodeCallback() 1651 UChar32 sourceChar; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local 1669 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1676 sourceChar = *(source++); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1678 if(U16_IS_SURROGATE(sourceChar)) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1679 if(U16_IS_SURROGATE_LEAD(sourceChar)) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() [all …]
|
D | ucnv_ct.c | 337 UChar32 sourceChar; in UConverter_fromUnicode_CompoundText_OFFSETS() local 351 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) { in UConverter_fromUnicode_CompoundText_OFFSETS() 358 sourceChar = *(source++); in UConverter_fromUnicode_CompoundText_OFFSETS() 360 if(U16_IS_SURROGATE(sourceChar)) { in UConverter_fromUnicode_CompoundText_OFFSETS() 361 if(U16_IS_SURROGATE_LEAD(sourceChar)) { in UConverter_fromUnicode_CompoundText_OFFSETS() 369 sourceChar=U16_GET_SUPPLEMENTARY(sourceChar, trail); in UConverter_fromUnicode_CompoundText_OFFSETS() 377 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_CompoundText_OFFSETS() 382 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_CompoundText_OFFSETS() 389 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_CompoundText_OFFSETS() 395 tmpState = getState(sourceChar); in UConverter_fromUnicode_CompoundText_OFFSETS() [all …]
|
/external/chromium_org/third_party/icu/source/common/ |
D | ucnvisci.c | 895 UChar32 sourceChar = 0x0000; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() local 911 if ((sourceChar = args->converter->fromUChar32)!=0) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() 929 sourceChar = *source++; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() 935 if (sourceChar <= ASCII_END) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() 936 args->converter->fromUnicodeStatus = sourceChar; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() 937 WRITE_TO_TARGET_FROM_U(args,offsets,source,target,targetLimit,sourceChar,err); in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() 943 switch (sourceChar) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() 966 if ((uint16_t)(INDIC_BLOCK_END-sourceChar) <= INDIC_RANGE) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() 971 if (sourceChar!= DANDA && sourceChar != DOUBLE_DANDA) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() 973 range =(uint16_t)((sourceChar-INDIC_BLOCK_BEGIN)/DELTA); in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() [all …]
|
D | ucnv2022.c | 1312 const uint32_t sourceChar, const uint32_t targetUniChar, in toUnicodeCallback() argument 1314 if(sourceChar>0xff){ in toUnicodeCallback() 1315 cnv->toUBytes[0] = (uint8_t)(sourceChar>>8); in toUnicodeCallback() 1316 cnv->toUBytes[1] = (uint8_t)sourceChar; in toUnicodeCallback() 1320 cnv->toUBytes[0] =(char) sourceChar; in toUnicodeCallback() 1617 UChar32 sourceChar; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local 1635 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1642 sourceChar = *(source++); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1644 if(UTF_IS_SURROGATE(sourceChar)) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1645 if(UTF_IS_SURROGATE_FIRST(sourceChar)) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | collationbuilder.cpp | 1213 UChar32 sourceChar = U_SENTINEL; in mergeCompositeIntoString() local 1219 if(sourceChar < 0) { in mergeCompositeIntoString() 1221 sourceChar = nfdString.char32At(sourceIndex); in mergeCompositeIntoString() 1222 sourceCC = nfd.getCombiningClass(sourceChar); in mergeCompositeIntoString() 1241 } else if(decompChar != sourceChar) { in mergeCompositeIntoString() 1248 sourceChar = U_SENTINEL; in mergeCompositeIntoString() 1252 if(sourceChar >= 0) { // more characters from nfdString but not from decomp in mergeCompositeIntoString()
|