Home
last modified time | relevance | path

Searched refs:padStart (Results 1 – 5 of 5) sorted by relevance

/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DStringsTest.java49 assertSame("", Strings.padStart("", 0, '-')); in testPadStart_noPadding()
50 assertSame("x", Strings.padStart("x", 0, '-')); in testPadStart_noPadding()
51 assertSame("x", Strings.padStart("x", 1, '-')); in testPadStart_noPadding()
52 assertSame("xx", Strings.padStart("xx", 0, '-')); in testPadStart_noPadding()
53 assertSame("xx", Strings.padStart("xx", 2, '-')); in testPadStart_noPadding()
57 assertEquals("-", Strings.padStart("", 1, '-')); in testPadStart_somePadding()
58 assertEquals("--", Strings.padStart("", 2, '-')); in testPadStart_somePadding()
59 assertEquals("-x", Strings.padStart("x", 2, '-')); in testPadStart_somePadding()
60 assertEquals("--x", Strings.padStart("x", 3, '-')); in testPadStart_somePadding()
61 assertEquals("-xx", Strings.padStart("xx", 3, '-')); in testPadStart_somePadding()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DStringsTest.java51 assertSame("", Strings.padStart("", 0, '-')); in testPadStart_noPadding()
52 assertSame("x", Strings.padStart("x", 0, '-')); in testPadStart_noPadding()
53 assertSame("x", Strings.padStart("x", 1, '-')); in testPadStart_noPadding()
54 assertSame("xx", Strings.padStart("xx", 0, '-')); in testPadStart_noPadding()
55 assertSame("xx", Strings.padStart("xx", 2, '-')); in testPadStart_noPadding()
59 assertEquals("-", Strings.padStart("", 1, '-')); in testPadStart_somePadding()
60 assertEquals("--", Strings.padStart("", 2, '-')); in testPadStart_somePadding()
61 assertEquals("-x", Strings.padStart("x", 2, '-')); in testPadStart_somePadding()
62 assertEquals("--x", Strings.padStart("x", 3, '-')); in testPadStart_somePadding()
63 assertEquals("-xx", Strings.padStart("xx", 3, '-')); in testPadStart_somePadding()
[all …]
/external/v8/tools/heap-stats/
Ddetails-selection.js175 return (index + ': ').padStart(4, '0') +
176 formatSeconds(time).padStart(6, '0') + ' ' +
178 .padStart(9, '0');
/external/v8/tools/
Dparse-processor.js42 let result = formatNumber(value).padStart(10) + ' ' + units[unitIndex];
44 result += PERCENT(bytes, total).padStart(5);
352 let value = (funktions.length + "").padStart(6) +
353 (nofPercent + "%").padStart(5) +
354 BYTES(ownBytes, this.bytesTotal).padStart(10);
/external/guava/guava/src/com/google/common/base/
DStrings.java98 public static String padStart(String string, int minLength, char padChar) { in padStart() method in Strings