Home
last modified time | relevance | path

Searched refs:padLeft (Results 1 – 25 of 65) sorted by relevance

123

/external/skia/gm/
Dlattice.cpp11 static sk_sp<SkSurface> make_surface(SkCanvas* root, int N, int padLeft, int padTop, in make_surface() argument
13 SkImageInfo info = SkImageInfo::MakeN32Premul(N + padLeft + padRight, N + padTop + padBottom); in make_surface()
22 static sk_sp<SkImage> make_image(SkCanvas* root, int* xDivs, int* yDivs, int padLeft, int padTop, in make_image() argument
28 auto surface(make_surface(root, kSize, padLeft, padTop, padRight, padBottom)); in make_image()
30 canvas->translate((float) padLeft, (float) padTop); in make_image()
36 xDivs[0] = kCap + padLeft; in make_image()
38 xDivs[1] = kCap + kMid + padLeft; in make_image()
40 xDivs[2] = kCap + 2 * kMid + padLeft; in make_image()
42 xDivs[3] = kCap + 3 * kMid + padLeft; in make_image()
97 void onDrawHelper(SkCanvas* canvas, int padLeft, int padTop, int padRight, int padBottom) { in onDrawHelper() argument
[all …]
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/core/util/
DStringUtilTest.groovy40 assert StringUtil.padLeft('', 0) == ''
41 assert StringUtil.padLeft('', 1) == ' '
42 assert StringUtil.padLeft('z', 1) == 'z'
43 assert StringUtil.padLeft(' z', 3) == ' z'
44 assert StringUtil.padLeft('z', 1) == 'z'
45 assert StringUtil.padLeft('zzz', 1) == 'zzz'
46 assert StringUtil.padLeft('z', 5) == ' z'
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/core/util/
DStringUtilTest.groovy40 assert StringUtil.padLeft('', 0) == ''
41 assert StringUtil.padLeft('', 1) == ' '
42 assert StringUtil.padLeft('z', 1) == 'z'
43 assert StringUtil.padLeft(' z', 3) == ' z'
44 assert StringUtil.padLeft('z', 1) == 'z'
45 assert StringUtil.padLeft('zzz', 1) == 'zzz'
46 assert StringUtil.padLeft('z', 5) == ' z'
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/core/util/
DStringUtilTest.groovy40 assert StringUtil.padLeft('', 0) == ''
41 assert StringUtil.padLeft('', 1) == ' '
42 assert StringUtil.padLeft('z', 1) == 'z'
43 assert StringUtil.padLeft(' z', 3) == ' z'
44 assert StringUtil.padLeft('z', 1) == 'z'
45 assert StringUtil.padLeft('zzz', 1) == 'zzz'
46 assert StringUtil.padLeft('z', 5) == ' z'
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/core/util/
DStringUtilTest.groovy40 assert StringUtil.padLeft('', 0) == ''
41 assert StringUtil.padLeft('', 1) == ' '
42 assert StringUtil.padLeft('z', 1) == 'z'
43 assert StringUtil.padLeft(' z', 3) == ' z'
44 assert StringUtil.padLeft('z', 1) == 'z'
45 assert StringUtil.padLeft('zzz', 1) == 'zzz'
46 assert StringUtil.padLeft('z', 5) == ' z'
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/core/util/
DStringUtilTest.groovy40 assert StringUtil.padLeft('', 0) == ''
41 assert StringUtil.padLeft('', 1) == ' '
42 assert StringUtil.padLeft('z', 1) == 'z'
43 assert StringUtil.padLeft(' z', 3) == ' z'
44 assert StringUtil.padLeft('z', 1) == 'z'
45 assert StringUtil.padLeft('zzz', 1) == 'zzz'
46 assert StringUtil.padLeft('z', 5) == ' z'
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/core/util/
DStringUtilTest.groovy40 assert StringUtil.padLeft('', 0) == ''
41 assert StringUtil.padLeft('', 1) == ' '
42 assert StringUtil.padLeft('z', 1) == 'z'
43 assert StringUtil.padLeft(' z', 3) == ' z'
44 assert StringUtil.padLeft('z', 1) == 'z'
45 assert StringUtil.padLeft('zzz', 1) == 'zzz'
46 assert StringUtil.padLeft('z', 5) == ' z'
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/core/util/
DStringUtilTest.groovy40 assert StringUtil.padLeft('', 0) == ''
41 assert StringUtil.padLeft('', 1) == ' '
42 assert StringUtil.padLeft('z', 1) == 'z'
43 assert StringUtil.padLeft(' z', 3) == ' z'
44 assert StringUtil.padLeft('z', 1) == 'z'
45 assert StringUtil.padLeft('zzz', 1) == 'zzz'
46 assert StringUtil.padLeft('z', 5) == ' z'
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/core/util/
DStringUtilTest.groovy40 assert StringUtil.padLeft('', 0) == ''
41 assert StringUtil.padLeft('', 1) == ' '
42 assert StringUtil.padLeft('z', 1) == 'z'
43 assert StringUtil.padLeft(' z', 3) == ' z'
44 assert StringUtil.padLeft('z', 1) == 'z'
45 assert StringUtil.padLeft('zzz', 1) == 'zzz'
46 assert StringUtil.padLeft('z', 5) == ' z'
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/core/util/
DStringUtilTest.groovy40 assert StringUtil.padLeft('', 0) == ''
41 assert StringUtil.padLeft('', 1) == ' '
42 assert StringUtil.padLeft('z', 1) == 'z'
43 assert StringUtil.padLeft(' z', 3) == ' z'
44 assert StringUtil.padLeft('z', 1) == 'z'
45 assert StringUtil.padLeft('zzz', 1) == 'zzz'
46 assert StringUtil.padLeft('z', 5) == ' z'
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/core/util/
DStringUtilTest.groovy40 assert StringUtil.padLeft('', 0) == ''
41 assert StringUtil.padLeft('', 1) == ' '
42 assert StringUtil.padLeft('z', 1) == 'z'
43 assert StringUtil.padLeft(' z', 3) == ' z'
44 assert StringUtil.padLeft('z', 1) == 'z'
45 assert StringUtil.padLeft('zzz', 1) == 'zzz'
46 assert StringUtil.padLeft('z', 5) == ' z'
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/core/util/
DStringUtilTest.groovy40 assert StringUtil.padLeft('', 0) == ''
41 assert StringUtil.padLeft('', 1) == ' '
42 assert StringUtil.padLeft('z', 1) == 'z'
43 assert StringUtil.padLeft(' z', 3) == ' z'
44 assert StringUtil.padLeft('z', 1) == 'z'
45 assert StringUtil.padLeft('zzz', 1) == 'zzz'
46 assert StringUtil.padLeft('z', 5) == ' z'
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/core/util/
DStringUtilTest.groovy40 assert StringUtil.padLeft('', 0) == ''
41 assert StringUtil.padLeft('', 1) == ' '
42 assert StringUtil.padLeft('z', 1) == 'z'
43 assert StringUtil.padLeft(' z', 3) == ' z'
44 assert StringUtil.padLeft('z', 1) == 'z'
45 assert StringUtil.padLeft('zzz', 1) == 'zzz'
46 assert StringUtil.padLeft('z', 5) == ' z'
/external/v8/tools/
Dtickprocessor.js446 function padLeft(s, len) { function
450 if (!(padLength in padLeft)) {
451 padLeft[padLength] = new Array(padLength + 1).join(' ');
453 s = padLeft[padLength] + s;
469 ? padLeft((ticks * 100 / nonLibTicks).toFixed(1), 5) + '% '
471 print(' ' + padLeft(ticks, 5) + ' ' +
472 padLeft(pct.toFixed(1), 5) + '% ' +
550 var indentStr = padLeft('', indent);
555 print(' ' + padLeft(rec.totalTime, 5) + ' ' +
556 padLeft(rec.parentTotalPercent.toFixed(1), 5) + '% ' +
Dic-processor.js195 function padLeft(s, len) { function
199 if (!(padLength in padLeft)) {
200 padLeft[padLength] = new Array(padLength + 1).join(' ');
202 s = padLeft[padLength] + s;
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy42 def sizeStr = 4.toString().padLeft(SIZE_WIDTH)
61 def sizeStr = 4.toString().padLeft(SIZE_WIDTH)
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy42 def sizeStr = 4.toString().padLeft(SIZE_WIDTH)
61 def sizeStr = 4.toString().padLeft(SIZE_WIDTH)
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy42 def sizeStr = 4.toString().padLeft(SIZE_WIDTH)
61 def sizeStr = 4.toString().padLeft(SIZE_WIDTH)
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy42 def sizeStr = 4.toString().padLeft(SIZE_WIDTH)
61 def sizeStr = 4.toString().padLeft(SIZE_WIDTH)
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy42 def sizeStr = 4.toString().padLeft(SIZE_WIDTH)
61 def sizeStr = 4.toString().padLeft(SIZE_WIDTH)
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy42 def sizeStr = 4.toString().padLeft(SIZE_WIDTH)
61 def sizeStr = 4.toString().padLeft(SIZE_WIDTH)
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy42 def sizeStr = 4.toString().padLeft(SIZE_WIDTH)
61 def sizeStr = 4.toString().padLeft(SIZE_WIDTH)
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java45 : StringUtil.padLeft(Long.toString(fileSystemEntry.getSize()), SIZE_WIDTH); in format()
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java45 : StringUtil.padLeft(Long.toString(fileSystemEntry.getSize()), SIZE_WIDTH); in format()
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatter.java45 : StringUtil.padLeft(Long.toString(fileSystemEntry.getSize()), SIZE_WIDTH); in format()

123