Home
last modified time | relevance | path

Searched refs:wcwidth (Results 1 - 22 of 22) sorted by relevance

/third_party/musl/libc-test/src/functionalext/supplement/ctype/
H A Dwcwidth.c28 * @tc.desc : Test that the wcwidth method returns the desired number of columns
33 int result = wcwidth(0); in wcwidth_0100()
35 t_error("%s wcwidth get result is %d are not want 0\n", __func__, result); in wcwidth_0100()
46 int result = wcwidth(INPUT_VALUE[0]); in wcwidth_0200()
48 t_error("%s wcwidth get result is %d are not want 0\n", __func__, result); in wcwidth_0200()
59 int result = wcwidth(INPUT_VALUE[1]); in wcwidth_0300()
61 t_error("%s wcwidth get result is %d are not want 0\n", __func__, result); in wcwidth_0300()
72 int result = wcwidth(INPUT_VALUE[2]); in wcwidth_0400()
74 t_error("%s wcwidth get result is %d are not want 1\n", __func__, result); in wcwidth_0400()
85 int result = wcwidth(INPUT_VALU in wcwidth_0500()
[all...]
/third_party/node/deps/npm/node_modules/columnify/
H A Dutils.js3 var wcwidth = require('./width')
29 var length = max - wcwidth(str)
47 var length = max - wcwidth(str)
67 var length = max - wcwidth(str)
85 if (line && wcwidth(line.join(' ')) + wcwidth(word) < max) {
117 var truncationWidth = wcwidth(truncationChar)
127 if (wcwidth(word) > max) {
128 // slice is based on length no wcwidth
133 var w = wcwidth(wor
[all...]
H A Dcolumnify.js3 var wcwidth = require('./width'); variable
150 return Math.max(min, Math.min(column.maxWidth, Math.max(column.minWidth, wcwidth(cur))));
172 item[columnName] = splitIntoLines(cell, column.width - wcwidth(column.truncateMarker));
187 return Math.max(min, Math.min(column.maxWidth, Math.max(column.minWidth, wcwidth(cur))));
H A Dindex.js3 const wcwidth = require('./width')
140 return Math.max(min, Math.min(column.maxWidth, Math.max(column.minWidth, wcwidth(cur))))
162 item[columnName] = splitIntoLines(cell, column.width - wcwidth(column.truncateMarker))
177 return Math.max(min, Math.min(column.maxWidth, Math.max(column.minWidth, wcwidth(cur))))
/third_party/node/deps/npm/node_modules/wcwidth/
H A Dindex.js11 module.exports = function wcwidth(str) { function
17 return function wcwidth(str) {
47 if (typeof str !== 'string') return wcwidth(str, opts)
51 var n = wcwidth(str.charCodeAt(i), opts)
59 function wcwidth(ucs, opts) {
/third_party/alsa-utils/alsamixer/
H A Dutils.c68 w = wcwidth(wc); in mbs_at_width()
77 w = wcwidth(wc); in mbs_at_width()
/third_party/musl/porting/liteos_a/user/src/ctype/
H A Dwcswidth.c8 for (; n-- && *wcs && (k = wcwidth(*wcs)) >= 0; l+=k, wcs++); in wcswidth()
/third_party/musl/src/ctype/
H A Dwcswidth.c8 for (; n-- && *wcs && (k = wcwidth(*wcs)) >= 0; l+=k, wcs++); in wcswidth()
H A Dwcwidth.c11 int wcwidth(wchar_t wc) in wcwidth() function
/third_party/toybox/toys/posix/
H A Dpaste.c88 if (!(dlen = wcwidth(wc))) continue; in paste_files()
H A Dcut.c62 if (0<(i = wcwidth(wc))) { in unicolumns()
H A Dfile.c425 if ((bytes = utf8towc(&wc, s+i, len-i))>0 && wcwidth(wc)>=0) { in do_regular_file()
/third_party/musl/libc-test/src/api/
H A Dwchar.c95 {int(*p)(wchar_t) = wcwidth;} in f()
/third_party/toybox/lib/
H A Dlinestack.c99 if ((bytes = utf8towc(&wc, end, 4))>0 && (col = wcwidth(wc))>=0) { in crunch_str()
H A Dportability.h90 // http://pubs.opengroup.org/onlinepubs/9699919799/functions/wcwidth.html
92 int wcwidth(wchar_t wc);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dwchar.h178 int wcwidth (wchar_t);
/third_party/musl/porting/liteos_a/kernel/include/
H A Dwchar.h178 int wcwidth (wchar_t);
/third_party/musl/porting/uniproton/kernel/include/
H A Dwchar.h178 int wcwidth (wchar_t);
/third_party/musl/include/
H A Dwchar.h179 int wcwidth (wchar_t);
/third_party/toybox/toys/pending/
H A Dvi.c94 else *width = wcwidth(wc); in utf8_lnw()
1320 if ((bytes = utf8towc(&wc, end, 4))>0 && (col = wcwidth(wc))>=0) { in crunch_nstr()
/third_party/mksh/
H A Dsh.h2450 #define utf_wcwidth(i) wcwidth((wchar_t)(i))
/third_party/rust/crates/bindgen/bindgen-tests/tests/
H A Dstylo.hpp488 extern int wcwidth (wchar_t __c) throw ();
[all...]

Completed in 41 milliseconds