Home
last modified time | relevance | path

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

/external/libvterm/src/
Dencoding.c17 int this_cp; member
68 data->this_cp <<= 6; in decode_utf8()
69 data->this_cp |= c & 0x3f; in decode_utf8()
74 printf(" UTF-8 raw char U+%04x bytelen=%d ", data->this_cp, data->bytes_total); in decode_utf8()
79 if(data->this_cp < 0x0080) data->this_cp = UNICODE_INVALID; in decode_utf8()
82 if(data->this_cp < 0x0800) data->this_cp = UNICODE_INVALID; in decode_utf8()
85 if(data->this_cp < 0x10000) data->this_cp = UNICODE_INVALID; in decode_utf8()
88 if(data->this_cp < 0x200000) data->this_cp = UNICODE_INVALID; in decode_utf8()
91 if(data->this_cp < 0x4000000) data->this_cp = UNICODE_INVALID; in decode_utf8()
95 if((data->this_cp >= 0xD800 && data->this_cp <= 0xDFFF) || in decode_utf8()
[all …]