Searched refs:sourceChar (Results 1 – 7 of 7) sorted by relevance
/external/chromium_org/third_party/icu/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 | 1341 const uint32_t sourceChar, const uint32_t targetUniChar, in toUnicodeCallback() argument 1343 if(sourceChar>0xff){ in toUnicodeCallback() 1344 cnv->toUBytes[0] = (uint8_t)(sourceChar>>8); in toUnicodeCallback() 1345 cnv->toUBytes[1] = (uint8_t)sourceChar; in toUnicodeCallback() 1349 cnv->toUBytes[0] =(char) sourceChar; in toUnicodeCallback() 1646 UChar32 sourceChar; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() local 1664 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1671 sourceChar = *(source++); in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1673 if(U16_IS_SURROGATE(sourceChar)) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1674 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/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/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()
|