/third_party/node/deps/npm/node_modules/wcwidth/test/ |
D | index.js | 3 var wcwidth = require('../') variable 7 t.strictEqual(wcwidth('abc'), 3) 12 t.strictEqual(wcwidth('字的模块'), 8) 17 t.strictEqual(wcwidth('abc 字的模块'), 12) 22 t.strictEqual(wcwidth('abc\n字的模块\ndef'), 14) 27 t.strictEqual(wcwidth(''), 0) 28 t.strictEqual(wcwidth(3), 0) 29 t.strictEqual(wcwidth({}), 0) 30 t.strictEqual(wcwidth([]), 0) 31 t.strictEqual(wcwidth(), 0) [all …]
|
/third_party/musl/libc-test/src/functionalext/supplement/ctype/ |
D | wcwidth.c | 33 int result = wcwidth(0); in wcwidth_0100() 46 int result = wcwidth(INPUT_VALUE[0]); in wcwidth_0200() 59 int result = wcwidth(INPUT_VALUE[1]); in wcwidth_0300() 72 int result = wcwidth(INPUT_VALUE[2]); in wcwidth_0400() 85 int result = wcwidth(INPUT_VALUE[3]); in wcwidth_0500() 98 int result = wcwidth(INPUT_VALUE[4]); in wcwidth_0600() 111 int result = wcwidth(INPUT_VALUE[5]); in wcwidth_0700() 124 int result = wcwidth(INPUT_VALUE[6]); in wcwidth_0800() 137 int result = wcwidth(INPUT_VALUE[7]); in wcwidth_0900() 150 int result = wcwidth(INPUT_VALUE[8]); in wcwidth_1000() [all …]
|
D | test_src_functionalext_supplement_ctype.gni | 23 "wcwidth",
|
/third_party/node/deps/npm/node_modules/columnify/ |
D | utils.js | 3 var wcwidth = require('./width') variable 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) { 133 var w = wcwidth(word.charAt(i)) 173 var w = wcwidth(str.charAt(i))
|
D | width.js | 2 var wcwidth = require('wcwidth') variable 5 return wcwidth(stripAnsi(str))
|
D | index.js | 3 const wcwidth = require('./width') constant 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))))
|
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))));
|
/third_party/node/deps/npm/node_modules/wcwidth/ |
D | index.js | 11 module.exports = function wcwidth(str) { function 17 return function wcwidth(str) { function 47 if (typeof str !== 'string') return wcwidth(str, opts) 51 var n = wcwidth(str.charCodeAt(i), opts) 59 function wcwidth(ucs, opts) {
|
D | LICENSE | 1 wcwidth.js: JavaScript Portng of Markus Kuhn's wcwidth() Implementation 6 This package is a JavaScript porting of `wcwidth()` implementation 7 [by Markus Kuhn](http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c).
|
/third_party/node/deps/npm/node_modules/wcwidth/docs/ |
D | index.md | 1 ### Javascript porting of Markus Kuhn's wcwidth() implementation 5 This is an implementation of wcwidth() and wcswidth() (defined in 8 http://www.opengroup.org/onlinepubs/007904975/functions/wcwidth.html 62 Latest version: http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c
|
/third_party/alsa-utils/alsamixer/ |
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/ |
D | wcswidth.c | 8 for (; n-- && *wcs && (k = wcwidth(*wcs)) >= 0; l+=k, wcs++); in wcswidth()
|
/third_party/musl/src/ctype/ |
D | wcswidth.c | 8 for (; n-- && *wcs && (k = wcwidth(*wcs)) >= 0; l+=k, wcs++); in wcswidth()
|
D | wcwidth.c | 11 int wcwidth(wchar_t wc) in wcwidth() function
|
/third_party/toybox/toys/posix/ |
D | paste.c | 88 if (!(dlen = wcwidth(wc))) continue;
|
D | cut.c | 62 if (0<(i = wcwidth(wc))) { in unicolumns()
|
D | file.c | 425 if ((bytes = utf8towc(&wc, s+i, len-i))>0 && wcwidth(wc)>=0) { in do_regular_file()
|
/third_party/toybox/lib/ |
D | portability.h | 92 int wcwidth(wchar_t wc);
|
D | linestack.c | 99 if ((bytes = utf8towc(&wc, end, 4))>0 && (col = wcwidth(wc))>=0) { in crunch_str()
|
/third_party/musl/libc-test/src/api/ |
D | wchar.c | 95 {int(*p)(wchar_t) = wcwidth;} in f()
|
/third_party/musl/porting/liteos_a/kernel/include/ |
D | wchar.h | 178 int wcwidth (wchar_t);
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | wchar.h | 178 int wcwidth (wchar_t);
|
/third_party/musl/include/ |
D | wchar.h | 179 int wcwidth (wchar_t);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | wchar.h | 178 int wcwidth (wchar_t);
|
/third_party/elfio/tests/elf_examples/ |
D | ls.readelf | 229 000000619220 004500000007 R_X86_64_JUMP_SLO 0000000000000000 wcwidth + 0 340 69: 0000000000000000 0 FUNC GLOBAL DEFAULT UND wcwidth@GLIBC_2.2.5 (3)
|