/third_party/musl/libc-test/src/functionalext/supplement/ctype/ |
H A D | wcwidth.c | 28 * @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 D | utils.js | 3 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 D | columnify.js | 3 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 D | index.js | 3 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 D | index.js | 11 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 D | utils.c | 68 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 D | wcswidth.c | 8 for (; n-- && *wcs && (k = wcwidth(*wcs)) >= 0; l+=k, wcs++); in wcswidth()
|
/third_party/musl/src/ctype/ |
H A D | wcswidth.c | 8 for (; n-- && *wcs && (k = wcwidth(*wcs)) >= 0; l+=k, wcs++); in wcswidth()
|
H A D | wcwidth.c | 11 int wcwidth(wchar_t wc) in wcwidth() function
|
/third_party/toybox/toys/posix/ |
H A D | paste.c | 88 if (!(dlen = wcwidth(wc))) continue; in paste_files()
|
H A D | cut.c | 62 if (0<(i = wcwidth(wc))) { in unicolumns()
|
H A D | file.c | 425 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 D | wchar.c | 95 {int(*p)(wchar_t) = wcwidth;} in f()
|
/third_party/toybox/lib/ |
H A D | linestack.c | 99 if ((bytes = utf8towc(&wc, end, 4))>0 && (col = wcwidth(wc))>=0) { in crunch_str()
|
H A D | portability.h | 90 // 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 D | wchar.h | 178 int wcwidth (wchar_t);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | wchar.h | 178 int wcwidth (wchar_t);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | wchar.h | 178 int wcwidth (wchar_t);
|
/third_party/musl/include/ |
H A D | wchar.h | 179 int wcwidth (wchar_t);
|
/third_party/toybox/toys/pending/ |
H A D | vi.c | 94 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 D | sh.h | 2450 #define utf_wcwidth(i) wcwidth((wchar_t)(i))
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
H A D | stylo.hpp | 488 extern int wcwidth (wchar_t __c) throw (); [all...] |