Searched refs:ucs (Results 1 - 4 of 4) sorted by relevance

/haiku/src/apps/serialconnect/libvterm/src/
H A Dunicode.c3 // ### The following from http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c
67 * Latest version: http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c
132 static int bisearch(wchar_t ucs, const struct interval *table, int max) { argument
136 if (ucs < table[0].first || ucs > table[max].last)
140 if (ucs > table[mid].last)
142 else if (ucs < table[mid].first)
185 static int mk_wcwidth(wchar_t ucs) argument
188 if (ucs == 0)
190 if (ucs < 3
[all...]
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dunistr.c1034 ntfschar *ucs; local
1084 ucs = ntfs_malloc(ucs_len * sizeof(ntfschar));
1085 if (!ucs)
1099 tc = realloc(ucs, ucs_len);
1102 ucs = tc;
1129 ucs[o] = cpu_to_le16(wc);
1140 ucs[o] = const_cpu_to_le16(L'\0');
1141 *outs = ucs;
1144 free(ucs);
1452 ntfschar *ucs local
1478 ntfs_ucsfree(ntfschar *ucs) argument
[all...]
H A Dunistr.h69 extern void ntfs_ucsfree(ntfschar *ucs);
/haiku/src/libs/iconv/
H A Djisx0213.h5901 static unsigned short ucs4_to_jisx0213 (ucs4_t ucs) argument
5903 if (ucs < (sizeof(jisx0213_from_ucs_level1)/sizeof(jisx0213_from_ucs_level1[0])) << 6) {
5904 int index1 = jisx0213_from_ucs_level1[ucs >> 6];
5906 const Summary16 *summary = &jisx0213_from_ucs_level2_2indx[((index1 << 6) + (ucs & 0x3f)) >> 4];
5908 unsigned int i = ucs & 0x0f;

Completed in 56 milliseconds