Home
last modified time | relevance | path

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

/external/lzma/CPP/Common/
DUTFConvert.cpp149 #define _UTF8_RANGE(n) (((UInt32)1) << ((n) * 5 + 6)) macro
167 if (val < _UTF8_RANGE(1)) in Utf16_To_Utf8_Calc()
190 if (val < _UTF8_RANGE(2)) size += 2; in Utf16_To_Utf8_Calc()
191 else if (val < _UTF8_RANGE(3)) size += 3; in Utf16_To_Utf8_Calc()
192 else if (val < _UTF8_RANGE(4)) size += 4; in Utf16_To_Utf8_Calc()
193 else if (val < _UTF8_RANGE(5)) size += 5; in Utf16_To_Utf8_Calc()
215 if (val < _UTF8_RANGE(1)) in Utf16_To_Utf8()
240 if (val < _UTF8_RANGE(2)) in Utf16_To_Utf8()
254 if (val < _UTF8_RANGE(3)) { numBits = 6 * 3; b = _UTF8_HEAD(3, val); } in Utf16_To_Utf8()
255 else if (val < _UTF8_RANGE(4)) { numBits = 6 * 4; b = _UTF8_HEAD(4, val); } in Utf16_To_Utf8()
[all …]
/external/lzma/C/Util/7z/
D7zMain.c58 #define _UTF8_RANGE(n) (((UInt32)1) << ((n) * 5 + 6)) macro
78 if (val < _UTF8_RANGE(1)) in Utf16_To_Utf8_Calc()
115 if (val < _UTF8_RANGE(1)) in Utf16_To_Utf8()