Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Console/TerminalDxe/
DVtutf8.c198 UINT8 UnicodeByte0; in Utf8ToUnicode() local
225 UnicodeByte0 = (UINT8) ((Byte1 << 6) | (Byte0 & 0x3f)); in Utf8ToUnicode()
227 *UnicodeChar = (UINT16) (UnicodeByte0 | (UnicodeByte1 << 8)); in Utf8ToUnicode()
238 UnicodeByte0 = (UINT8) ((Byte1 << 6) | (Byte0 & 0x3f)); in Utf8ToUnicode()
240 *UnicodeChar = (UINT16) (UnicodeByte0 | (UnicodeByte1 << 8)); in Utf8ToUnicode()
272 UINT8 UnicodeByte0; in UnicodeToUtf8() local
277 UnicodeByte0 = (UINT8) Unicode; in UnicodeToUtf8()
282 Utf8Char->Utf8_1 = (UINT8) (UnicodeByte0 & 0x7f); in UnicodeToUtf8()
290 Utf8Char->Utf8_2[1] = (UINT8) ((UnicodeByte0 & 0x3f) + 0x80); in UnicodeToUtf8()
291 Utf8Char->Utf8_2[0] = (UINT8) ((((UnicodeByte1 << 2) + (UnicodeByte0 >> 6)) & 0x1f) + 0xc0); in UnicodeToUtf8()
[all …]