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

/external/qemu/distrib/sdl-1.2.15/src/video/x11/
H A DSDL_x11events.c74 unsigned char firstOctet = utf8[0]; local
75 if (firstOctet < 0x80) {
86 } else if ((firstOctet & 0xE0) /* get the most 3 significant bits by AND'ing with 11100000 */
98 } else if ((firstOctet & 0xF0) /* get the most 4 significant bits by AND'ing with 11110000 */
110 } else if ((firstOctet & 0xF8) /* get the most 5 significant bits by AND'ing with 11111000 */
122 } else if ((firstOctet & 0xFC) /* get the most 6 significant bits by AND'ing with 11111100 */
135 } else if ((firstOctet & 0xFE) /* get the most 7 significant bits by AND'ing with 11111110 */
155 firstOctet if the character is not ASCII. If so, it's the least 7 significant bits of firstOctet.
156 This done by AND'ing firstOctet wit
[all...]

Completed in 35 milliseconds