Searched refs:codepoint (Results 1 - 3 of 3) sorted by last modified time

/haiku/src/apps/serialconnect/libvterm/src/
H A Dunicode.c325 INTERNAL int vterm_unicode_width(int codepoint) argument
327 return mk_wcwidth(codepoint);
330 INTERNAL int vterm_unicode_is_combining(int codepoint) argument
332 return bisearch(codepoint, combining, sizeof(combining) / sizeof(struct interval) - 1);
H A Dutf8.h5 static inline unsigned int utf8_seqlen(long codepoint) argument
7 if(codepoint < 0x0000080) return 1;
8 if(codepoint < 0x0000800) return 2;
9 if(codepoint < 0x0010000) return 3;
10 if(codepoint < 0x0200000) return 4;
11 if(codepoint < 0x4000000) return 5;
16 static int fill_utf8(long codepoint, char *str) argument
18 int nbytes = utf8_seqlen(codepoint);
24 str[b] = 0x80 | (codepoint & 0x3f);
25 codepoint >>
[all...]
H A Dvterm_internal.h206 int vterm_unicode_width(int codepoint);
207 int vterm_unicode_is_combining(int codepoint);

Completed in 48 milliseconds