/freebsd-12-stable/tools/tools/locale/tools/ |
H A D | convert_map.pl | 25 my $ucs = shift; 28 if ($ucs <= 0x7f) { 29 $utf8 = sprintf("\\x%02X", $ucs).$utf8; 30 } elsif ($ucs <= 0x7ff) { 31 $utf8 = sprintf("\\x%02X", ($ucs & 0x3f) | 0x80).$utf8; 32 $ucs >>= 6; 33 $utf8 = sprintf("\\x%02X", $ucs | 0xc0).$utf8; 35 } elsif ($ucs <= 0xffff) { 36 $utf8 = sprintf("\\x%02X", ($ucs & 0x3f) | 0x80).$utf8; 37 $ucs >> [all...] |
/freebsd-12-stable/contrib/ncurses/ncurses/win32con/ |
H A D | wcwidth.c | 33 #define mk_wcwidth(ucs) _nc_wcwidth(ucs) 35 #define mk_wcwidth_cjk(ucs) _nc_wcwidth_cjk(ucs)
|
/freebsd-12-stable/contrib/subversion/subversion/libsvn_subr/ |
H A D | utf_width.c | 59 * Latest version: http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c 76 bisearch(apr_uint32_t ucs, const struct interval *table, apr_uint32_t max) argument 81 if (ucs < table[0].first || ucs > table[max].last) 85 if (ucs > table[mid].last) 87 else if (ucs < table[mid].first) 88 max = mid - 1; /* this is safe because ucs >= table[0].first */ 130 mk_wcwidth(apr_uint32_t ucs) argument 186 if (ucs == 0) 188 if (ucs < 3 231 apr_uint32_t ucs; local [all...] |
/freebsd-12-stable/sys/teken/ |
H A D | teken_wcwidth.h | 8 * Latest version: http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c 19 static int bisearch(teken_char_t ucs, const struct interval *table, int max) { argument 23 if (ucs < table[0].first || ucs > table[max].last) 27 if (ucs > table[mid].last) 29 else if (ucs < table[mid].first) 38 static int teken_wcwidth(teken_char_t ucs) argument 94 if (ucs == 0) 96 if (ucs < 32 || (ucs > [all...] |
/freebsd-12-stable/contrib/libxo/libxo/ |
H A D | xo_wcwidth.h | 59 * Latest version: http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c 71 xo_bisearch (wchar_t ucs, const struct interval *table, int max) argument 76 if (ucs < table[0].first || ucs > table[max].last) 80 if (ucs > table[mid].last) 82 else if (ucs < table[mid].first) 125 xo_wcwidth (wchar_t ucs) argument 181 if (ucs == 0) 183 if (ucs < 32 || (ucs > 233 mk_wcwidth_cjk(wchar_t ucs) argument [all...] |
/freebsd-12-stable/contrib/ncurses/ncurses/ |
H A D | wcwidth.h | 59 * Latest version: http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c 70 static int bisearch(wchar_t ucs, const struct interval *table, int max) { argument 74 if (ucs < table[0].first || ucs > table[max].last) 78 if (ucs > table[mid].last) 80 else if (ucs < table[mid].first) 122 int mk_wcwidth(wchar_t ucs) argument 178 if (ucs == 0) 180 if (ucs < 32 || (ucs > 233 mk_wcwidth_cjk(wchar_t ucs) argument [all...] |
/freebsd-12-stable/contrib/ncurses/include/ |
H A D | nc_mingw.h | 66 #define wcwidth(ucs) _nc_wcwidth(ucs)
|
/freebsd-12-stable/sys/libkern/ |
H A D | iconv_ucs.c | 71 static uint32_t decode_surrogate(const u_char *ucs); 178 u_char ucs[4], *q; local 223 /* can't handle with ucs-2 */ 231 /* save UCS-4 into ucs[] */ 232 for (q = ucs, i = ucslen - 1 ; i >= 0 ; i--) 239 q = ucs; 249 q = ucs; 295 p = ucs; 302 code = (ucs[0] << 8) | ucs[ 535 decode_surrogate(const u_char *ucs) argument [all...] |
/freebsd-12-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-pcieepx-defs.h | 3906 uint32_t ucs : 1; /**< Unexpected Completion Status */ member in struct:cvmx_pcieepx_cfg065::cvmx_pcieepx_cfg065_s 3924 uint32_t ucs : 1; 3943 uint32_t ucs : 1; /**< Unexpected Completion Status */ member in struct:cvmx_pcieepx_cfg065::cvmx_pcieepx_cfg065_cn52xx 3961 uint32_t ucs : 1; 3981 uint32_t ucs : 1; /**< Unexpected Completion Status */ member in struct:cvmx_pcieepx_cfg065::cvmx_pcieepx_cfg065_cn61xx 3999 uint32_t ucs : 1; 4025 uint32_t ucs : 1; /**< Unexpected Completion Status */ member in struct:cvmx_pcieepx_cfg065::cvmx_pcieepx_cfg065_cnf71xx 4041 uint32_t ucs : 1; 4244 uint32_t ucs : 1; /**< Unexpected Completion Severity */ member in struct:cvmx_pcieepx_cfg067::cvmx_pcieepx_cfg067_s 4262 uint32_t ucs 4281 uint32_t ucs : 1; /**< Unexpected Completion Severity */ member in struct:cvmx_pcieepx_cfg067::cvmx_pcieepx_cfg067_cn52xx 4319 uint32_t ucs : 1; /**< Unexpected Completion Severity */ member in struct:cvmx_pcieepx_cfg067::cvmx_pcieepx_cfg067_cn61xx 4363 uint32_t ucs : 1; /**< Unexpected Completion Severity */ member in struct:cvmx_pcieepx_cfg067::cvmx_pcieepx_cfg067_cnf71xx [all...] |
H A D | cvmx-pciercx-defs.h | 3601 uint32_t ucs : 1; /**< Unexpected Completion Status */ member in struct:cvmx_pciercx_cfg065::cvmx_pciercx_cfg065_s 3619 uint32_t ucs : 1; 3638 uint32_t ucs : 1; /**< Unexpected Completion Status */ member in struct:cvmx_pciercx_cfg065::cvmx_pciercx_cfg065_cn52xx 3656 uint32_t ucs : 1; 3676 uint32_t ucs : 1; /**< Unexpected Completion Status */ member in struct:cvmx_pciercx_cfg065::cvmx_pciercx_cfg065_cn61xx 3694 uint32_t ucs : 1; 3863 uint32_t ucs : 1; /**< Unexpected Completion Severity */ member in struct:cvmx_pciercx_cfg067::cvmx_pciercx_cfg067_s 3881 uint32_t ucs : 1; 3900 uint32_t ucs : 1; /**< Unexpected Completion Severity */ member in struct:cvmx_pciercx_cfg067::cvmx_pciercx_cfg067_cn52xx 3918 uint32_t ucs 3938 uint32_t ucs : 1; /**< Unexpected Completion Severity */ member in struct:cvmx_pciercx_cfg067::cvmx_pciercx_cfg067_cn61xx [all...] |