/third_party/node/deps/npm/node_modules/@isaacs/cliui/build/lib/ |
D | index.js | 54 if (columns.length > 1 && mixin.stringWidth(columns[0]) > leftColumnWidth) { 55 … leftColumnWidth = Math.min(Math.floor(this.width * 0.5), mixin.stringWidth(columns[0])); 102 if (wrapWidth > mixin.stringWidth(col)) { 103 ts += ' '.repeat(wrapWidth - mixin.stringWidth(col)); 109 if (mixin.stringWidth(ts) < wrapWidth) { 113 ts += ' '.repeat(w - mixin.stringWidth(ts) - 1); 149 const targetTextWidth = mixin.stringWidth(target.trimEnd()); 219 return col.width || mixin.stringWidth(col.text); 277 const strWidth = mixin.stringWidth(str); 285 const strWidth = mixin.stringWidth(str);
|
/third_party/node/deps/npm/node_modules/gauge/lib/ |
D | wide-truncate.js | 2 var stringWidth = require('string-width') variable 8 if (stringWidth(str) === 0) { 14 if (stringWidth(str) <= target) { 27 while (stringWidth(truncated) > target) {
|
D | progress-bar.js | 5 var stringWidth = require('string-width') variable 38 } while (n && stringWidth(result) < width)
|
D | template-item.js | 2 var stringWidth = require('string-width') variable 62 length = stringWidth(this.value)
|
/third_party/node/deps/npm/node_modules/node-gyp/node_modules/gauge/lib/ |
D | wide-truncate.js | 2 var stringWidth = require('string-width') variable 8 if (stringWidth(str) === 0) { 14 if (stringWidth(str) <= target) { 27 while (stringWidth(truncated) > target) {
|
D | progress-bar.js | 5 var stringWidth = require('string-width') variable 38 } while (n && stringWidth(result) < width)
|
D | template-item.js | 2 var stringWidth = require('string-width') variable 62 length = stringWidth(this.value)
|
/third_party/node/deps/npm/node_modules/wide-align/ |
D | align.js | 2 var stringWidth = require('string-width') variable 29 var strWidth = stringWidth(trimmed) 42 var strWidth = stringWidth(trimmed) 56 var strWidth = stringWidth(trimmed)
|
/third_party/node/deps/npm/node_modules/@isaacs/cliui/build/ |
D | index.cjs | 55 if (columns.length > 1 && mixin.stringWidth(columns[0]) > leftColumnWidth) { 56 … leftColumnWidth = Math.min(Math.floor(this.width * 0.5), mixin.stringWidth(columns[0])); 103 if (wrapWidth > mixin.stringWidth(col)) { 104 ts += ' '.repeat(wrapWidth - mixin.stringWidth(col)); 110 if (mixin.stringWidth(ts) < wrapWidth) { 114 ts += ' '.repeat(w - mixin.stringWidth(ts) - 1); 150 const targetTextWidth = mixin.stringWidth(target.trimEnd()); 220 return col.width || mixin.stringWidth(col.text); 278 const strWidth = mixin.stringWidth(str); 286 const strWidth = mixin.stringWidth(str); [all …]
|
/third_party/node/deps/npm/node_modules/wrap-ansi/ |
D | index.js | 1 import stringWidth from 'string-width'; 22 const wordLengths = string => string.split(' ').map(character => stringWidth(character)); 31 let visible = stringWidth(stripAnsi(rows[rows.length - 1])); 34 const characterLength = stringWidth(character); 82 if (stringWidth(words[last - 1]) > 0) { 118 let rowLength = stringWidth(rows[rows.length - 1]);
|
/third_party/node/deps/npm/node_modules/wrap-ansi-cjs/ |
D | index.js | 2 const stringWidth = require('string-width'); constant 24 const wordLengths = string => string.split(' ').map(character => stringWidth(character)); 33 let visible = stringWidth(stripAnsi(rows[rows.length - 1])); 36 const characterLength = stringWidth(character); 84 if (stringWidth(words[last - 1]) > 0) { 120 let rowLength = stringWidth(rows[rows.length - 1]);
|
/third_party/node/deps/npm/node_modules/string-width/ |
D | index.js | 6 const stringWidth = string => { function 45 module.exports = stringWidth; 47 module.exports.default = stringWidth;
|
/third_party/node/deps/npm/node_modules/string-width-cjs/ |
D | index.js | 6 const stringWidth = string => { function 45 module.exports = stringWidth; 47 module.exports.default = stringWidth;
|
/third_party/node/deps/npm/node_modules/cli-columns/ |
D | index.js | 3 const stringWidth = require('string-width'); constant 39 const valueWidth = stringWidth(value); 67 Math.max.apply(null, cells.map(stringWidth)) + options.padding;
|
/third_party/node/deps/npm/node_modules/@isaacs/cliui/ |
D | index.mjs | 4 import stringWidth from 'string-width' 10 stringWidth, property
|
/third_party/node/deps/npm/node_modules/cli-table3/src/ |
D | utils.js | 1 const stringWidth = require('string-width'); constant 12 return stringWidth(s) > memo ? stringWidth(s) : memo;
|
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/ |
D | CalendarPanel.java | 224 h -= fm.stringWidth(dayName) / 2; in paint() 318 x = cellx + (int)cellWidth - XINSET - fm.stringWidth(dayNum); in paint() 337 x = cellx + (int)cellWidth - XINSET - fm.stringWidth(month); in paint()
|
D | CalendarFrame.java | 384 g.drawString(text, fm.stringWidth("\u00a0"), in paint() 396 return new Dimension( fm.stringWidth(text) + 2*fm.stringWidth("\u00a0"), in getMinimumSize()
|
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/ |
D | DumbTextComponent.java | 606 width = fm.stringWidth( in offset2Point() 657 int highWidth = fm.stringWidth(contents.substring(lineStarts[line],highGuess)); in point2Offset() 665 int width = fm.stringWidth(contents.substring(lineStarts[line],guess)); in point2Offset() 680 lowWidth = fm.stringWidth(contents.substring(lineStarts[line],lowBound)); in point2Offset() 682 highWidth = fm.stringWidth(contents.substring(lineStarts[line],highBound)); in point2Offset() 775 return fMtr.stringWidth(s.substring(0,i+1)); in visibleWidth()
|
/third_party/node/deps/npm/node_modules/@isaacs/cliui/node_modules/string-width/ |
D | index.js | 5 export default function stringWidth(string, options = {}) { function
|
/third_party/node/deps/npm/node_modules/wrap-ansi/node_modules/string-width/ |
D | index.js | 5 export default function stringWidth(string, options = {}) { function
|
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/ |
D | HolidayCalendarDemo.java | 612 h -= fm.stringWidth(dayName) / 2; in paint() 675 x = x - INSET - fm.stringWidth(dayNum); in paint()
|
D | HolidayBorderPanel.java | 453 int strwidth = fm.stringWidth(text); in paint()
|
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/ |
D | RbnfDemo.java | 521 while (tempLineEnd != BreakIterator.DONE && fm.stringWidth(txt.substring( in paint()
|
/third_party/node/tools/lint-md/ |
D | lint-md.mjs | 21733 function stringWidth(string, options) { function 22238 const size = stringWidth(row[cellIndex]); 22257 line += cell + ' '.repeat(max - stringWidth(cell));
|