Home
last modified time | relevance | path

Searched refs:bytesConverted (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/common/
Ducnv_lmb.cpp759 int bytesConverted; in LMBCSConversionWorker() local
766 bytesConverted = ucnv_MBCSFromUChar32(xcnv, *pUniChar, &value, FALSE); in LMBCSConversionWorker()
769 if(bytesConverted > 0) { in LMBCSConversionWorker()
770 firstByte = (ulmbcs_byte_t)(value >> ((bytesConverted - 1) * 8)); in LMBCSConversionWorker()
788 if (bytesConverted == 1 && group >= ULMBCS_DOUBLEOPTGROUP_START) in LMBCSConversionWorker()
795 if ( bytesConverted == 1 && firstByte < 0x20 ) in LMBCSConversionWorker()
800 switch(bytesConverted) in LMBCSConversionWorker()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetLMBCS.java861 int bytesConverted; in LMBCSConversionWorker() local
866 bytesConverted = extraInfo.encoder.fromUChar32(pUniChar, value, false); in LMBCSConversionWorker()
869 if (bytesConverted > 0) { in LMBCSConversionWorker()
870 …firstByte = (short)((value[0] >> ((bytesConverted - 1) * 8)) & UConverterConstants.UNSIGNED_BYTE_M… in LMBCSConversionWorker()
887 if (bytesConverted == 1 && group >= ULMBCS_DOUBLEOPTGROUP_START) { in LMBCSConversionWorker()
893 if (bytesConverted == 1 && firstByte < 0x20) { in LMBCSConversionWorker()
898 switch (bytesConverted) { in LMBCSConversionWorker()