Home
last modified time | relevance | path

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

/external/lzma/CPP/Common/
DUTFConvert.cpp151 #define _UTF8_HEAD(n, val) ((char)(_UTF8_START(n) + (val >> (6 * (n))))) macro
217 dest[0] = _UTF8_HEAD(1, val); in Utf16_To_Utf8()
230 dest[0] = _UTF8_HEAD(3, val); in Utf16_To_Utf8()
243 dest[0] = _UTF8_HEAD(2, val); 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()
256 else if (val < _UTF8_RANGE(5)) { numBits = 6 * 5; b = _UTF8_HEAD(5, val); } in Utf16_To_Utf8()
/external/lzma/C/Util/7z/
D7zMain.c48 #define _UTF8_HEAD(n, val) ((Byte)(_UTF8_START(n) + (val >> (6 * (n))))) macro
105 dest[0] = _UTF8_HEAD(1, val); in Utf16_To_Utf8()
118 dest[0] = _UTF8_HEAD(3, val); in Utf16_To_Utf8()
127 dest[0] = _UTF8_HEAD(2, val); in Utf16_To_Utf8()