HomeSort by: relevance | last modified time | path
    Searched defs:utfchar (Results 1 - 2 of 2) sorted by relevancy

  /src/sbin/gpt/
gpt.c 132 uint32_t utfchar; local in function:utf16_to_utf8
142 utfchar = le16toh(s16[s16idx++]);
143 if ((utfchar & 0xf800) == 0xd800) {
145 if ((utfchar & 0x400) != 0 || (c & 0xfc00) != 0xdc00)
146 utfchar = 0xfffd;
150 if (utfchar < 0x80) {
153 s8[s8idx++] = (uint8_t)utfchar;
154 } else if (utfchar < 0x800) {
157 s8[s8idx++] = (uint8_t)(0xc0 | (utfchar >> 6));
158 s8[s8idx++] = (uint8_t)(0x80 | (utfchar & 0x3f))
185 uint32_t utfchar = 0; local in function:utf8_to_utf16
    [all...]
gpt.c 132 uint32_t utfchar; local in function:utf16_to_utf8
142 utfchar = le16toh(s16[s16idx++]);
143 if ((utfchar & 0xf800) == 0xd800) {
145 if ((utfchar & 0x400) != 0 || (c & 0xfc00) != 0xdc00)
146 utfchar = 0xfffd;
150 if (utfchar < 0x80) {
153 s8[s8idx++] = (uint8_t)utfchar;
154 } else if (utfchar < 0x800) {
157 s8[s8idx++] = (uint8_t)(0xc0 | (utfchar >> 6));
158 s8[s8idx++] = (uint8_t)(0x80 | (utfchar & 0x3f))
185 uint32_t utfchar = 0; local in function:utf8_to_utf16
    [all...]

Completed in 213 milliseconds