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

/haiku-fatelf/src/apps/serialconnect/libvterm/src/
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;
15 static int fill_utf8(long codepoint, char *str) argument
18 int nbytes = utf8_seqlen(codepoint);
26 str[b] = 0x80 | (codepoint & 0x3f);
27 codepoint >>
[all...]
H A Dvterm_internal.h164 int vterm_unicode_width(int codepoint);
165 int vterm_unicode_is_combining(int codepoint);
H A Dunicode.c324 int vterm_unicode_width(int codepoint) argument
326 return mk_wcwidth(codepoint);
329 int vterm_unicode_is_combining(int codepoint) argument
331 return bisearch(codepoint, combining, sizeof(combining) / sizeof(struct interval) - 1);
/haiku-fatelf/src/add-ons/media/plugins/asf_reader/libasf/
H A Dutf.h76 uint32_t codepoint; local
82 codepoint = 0x10000;
83 codepoint += ((wchar1 & 0x03FF) << 10);
84 codepoint |= (wchar2 & 0x03FF);
86 codepoint = wchar1;
89 if (codepoint > 0xFFFF) {
90 ret[pos++] = 0xF0 | ((codepoint >> 18) & 0x07);
91 ret[pos++] = 0x80 | ((codepoint >> 12) & 0x3F);
92 ret[pos++] = 0x80 | ((codepoint >> 6) & 0x3F);
93 ret[pos++] = 0x80 | (codepoint
[all...]
/haiku-fatelf/src/tools/docbook/libxml2/
H A Dxmlregexp.c184 int codepoint; member in struct:_xmlRegAtom
345 static int xmlRegCheckCharacter(xmlRegAtomPtr atom, int codepoint);
346 static int xmlRegCheckCharacterRange(xmlRegAtomType type, int codepoint,
689 * @start: the start codepoint
690 * @end: the end codepoint
1007 fprintf(output, "char %c\n", atom->codepoint);
1050 fprintf(output, "char %c ", trans->atom->codepoint);
1942 int codepoint; local
1955 for (codepoint = range1->start;codepoint <
2592 xmlRegCheckCharacterRange(xmlRegAtomType type, int codepoint, int neg, int start, int end, const xmlChar *blockName) argument
2762 xmlRegCheckCharacter(xmlRegAtomPtr atom, int codepoint) argument
2986 int ret, codepoint = 0, len, deter; local
5065 int codepoint, len; local
[all...]
H A Dparser.c9452 int codepoint; local
9470 codepoint = (utf[ix] & 0x1f) << 6;
9471 codepoint |= utf[ix+1] & 0x3f;
9472 if (!xmlIsCharQ(codepoint))
9480 codepoint = (utf[ix] & 0xf) << 12;
9481 codepoint |= (utf[ix+1] & 0x3f) << 6;
9482 codepoint |= utf[ix+2] & 0x3f;
9483 if (!xmlIsCharQ(codepoint))
9492 codepoint = (utf[ix] & 0x7) << 18;
9493 codepoint |
[all...]

Completed in 176 milliseconds