Home
last modified time | relevance | path

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

/haiku/src/apps/serialconnect/libvterm/src/
H A Dencoding.c18 int this_cp; member
66 data->this_cp <<= 6; in decode_utf8()
67 data->this_cp |= c & 0x3f; in decode_utf8()
72 printf(" UTF-8 raw char U+%04x bytelen=%d ", data->this_cp, data->bytes_total); in decode_utf8()
77 if(data->this_cp < 0x0080) data->this_cp = UNICODE_INVALID; in decode_utf8()
80 if(data->this_cp < 0x0800) data->this_cp = UNICODE_INVALID; in decode_utf8()
83 if(data->this_cp < 0x10000) data->this_cp = UNICODE_INVALID; in decode_utf8()
86 if(data->this_cp < 0x200000) data->this_cp = UNICODE_INVALID; in decode_utf8()
89 if(data->this_cp < 0x4000000) data->this_cp = UNICODE_INVALID; in decode_utf8()
93 if((data->this_cp >= 0xD800 && data->this_cp <= 0xDFFF) || in decode_utf8()
[all …]