Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.12/src/video/x11/
DSDL_x11events.c68 unsigned char firstOctet = utf8[0]; in Utf8ToUcs4() local
69 if (firstOctet < 0x80) { in Utf8ToUcs4()
80 } else if ((firstOctet & 0xE0) /* get the most 3 significant bits by AND'ing with 11100000 */ in Utf8ToUcs4()
92 } else if ((firstOctet & 0xF0) /* get the most 4 significant bits by AND'ing with 11110000 */ in Utf8ToUcs4()
104 } else if ((firstOctet & 0xF8) /* get the most 5 significant bits by AND'ing with 11111000 */ in Utf8ToUcs4()
116 } else if ((firstOctet & 0xFC) /* get the most 6 significant bits by AND'ing with 11111100 */ in Utf8ToUcs4()
129 } else if ((firstOctet & 0xFE) /* get the most 7 significant bits by AND'ing with 11111110 */ in Utf8ToUcs4()
156 c = firstOctet & firstOctetMask; in Utf8ToUcs4()