/third_party/typescript/tests/arkTSTest/testcase/arkts-no-implicit-return-types/ |
H A D | arkts-no-implicit-return-types-5-error.ets | 21 const month = String(date.getMonth() + 1).padStart(2, '0')
22 const day = String(date.getDate()).padStart(2, '0')
23 const hours = String(date.getHours()).padStart(2, '0')
24 const minutes = String(date.getMinutes()).padStart(2, '0')
25 const seconds = String(date.getSeconds()).padStart(2, '0')
|
H A D | arkts-no-implicit-return-types-5-ok.ets | 21 const month = String(date.getMonth() + 1).padStart(2, '0')
22 const day = String(date.getDate()).padStart(2, '0')
23 const hours = String(date.getHours()).padStart(2, '0')
24 const minutes = String(date.getMinutes()).padStart(2, '0')
25 const seconds = String(date.getSeconds()).padStart(2, '0')
|
/third_party/libwebsockets/lib/misc/ |
H A D | sha-1.c | 206 size_t padstart; in sha1_pad() local 210 padstart = COUNT % 64; in sha1_pad() 211 padlen = 64 - padstart; in sha1_pad() 213 memset(&ctxt->m.b8[padstart], 0, padlen); in sha1_pad() 217 padstart = COUNT % 64; /* should be 0 */ in sha1_pad() 218 padlen = 64 - padstart; /* should be 64 */ in sha1_pad() 220 memset(&ctxt->m.b8[padstart], 0, padlen - 8); in sha1_pad()
|
/third_party/node/deps/undici/src/lib/cookies/ |
H A D | util.js | 173 const day = date.getUTCDate().toString().padStart(2, '0') 176 const hour = date.getUTCHours().toString().padStart(2, '0') 177 const minute = date.getUTCMinutes().toString().padStart(2, '0') 178 const second = date.getUTCSeconds().toString().padStart(2, '0')
|
/third_party/typescript/tests/baselines/reference/ |
H A D | doYouNeedToChangeYourTargetLibraryES2016Plus.types | 13 const testStringPadStart = "".padStart(2);
15 >"".padStart(2) : any
16 >"".padStart : any
18 >padStart : any
|
H A D | doYouNeedToChangeYourTargetLibraryES2016Plus.js | 6 const testStringPadStart = "".padStart(2); 54 var testStringPadStart = "".padStart(2);
|
H A D | doYouNeedToChangeYourTargetLibraryES2016Plus.errors.txt | 2 tests/cases/compiler/doYouNeedToChangeYourTargetLibraryES2016Plus.ts(5,31): error TS2550: Property 'padStart' does not exist on type '""'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2017' or later.
43 const testStringPadStart = "".padStart(2);
45 !!! error TS2550: Property 'padStart' does not exist on type '""'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2017' or later.
|
/third_party/node/deps/v8/src/builtins/ |
H A D | string-pad.tq | 96 // ES6 #sec-string.prototype.padstart 100 const methodName: constexpr string = 'String.prototype.padStart';
|
/third_party/node/deps/v8/tools/zone-stats/ |
H A D | details-selection.js | 190 return ((index + ': ').padStart(6, '\u00A0') + 191 formatSeconds(time).padStart(8, '\u00A0') + ' ' + 192 formatBytes(sample.allocated).padStart(12, '\u00A0'));
|
/third_party/node/deps/v8/tools/ |
H A D | tickprocessor.mjs | 939 ? `${(ticks * 100 / nonLibTicks).toFixed(1).toString().padStart(5)}% ` 941 print(`${` ${ticks.toString().padStart(5)} ` + 942 pct.toFixed(1).toString().padStart(5)}% ${nonLibPct}${entry}`); 1010 const indentStr = ''.padStart(indent); 1015 print(`${` ${rec.totalTime.toString().padStart(5)} ` + 1016 rec.parentTotalPercent.toFixed(1).toString().padStart(5)}% ${indentStr}${funcName}`);
|
H A D | parse-processor.mjs | 30 let result = formatNumber(value).padStart(10) + ' ' + units[unitIndex]; 32 result += PERCENT(bytes, total).padStart(5); 343 let value = (funktions.length + "").padStart(6) + 344 (nofPercent + "%").padStart(5) + 345 BYTES(ownBytes, this.bytesTotal).padStart(10);
|
/third_party/node/deps/v8/tools/heap-stats/ |
H A D | details-selection.js | 199 return (index + ': ').padStart(4, '0') + 200 formatSeconds(time).padStart(6, '0') + ' ' + 202 .padStart(9, '0');
|
/third_party/skia/third_party/externals/spirv-tools/tools/sva/tests/ |
H A D | index.html | 19 .map(b => b.toString(16).padStart(8, "0")).join(" ");
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/sva/tests/ |
H A D | index.html | 19 .map(b => b.toString(16).padStart(8, "0")).join(" ");
|
/third_party/spirv-tools/tools/sva/tests/ |
H A D | index.html | 19 .map(b => b.toString(16).padStart(8, "0")).join(" ");
|
/third_party/node/deps/npm/node_modules/@tufjs/models/dist/ |
H A D | role.js | 236 const suffix = binNumber.toString(16).padStart(this.suffixLen, '0'); 241 const suffix = i.toString(16).padStart(this.suffixLen, '0');
|
/third_party/node/deps/npm/node_modules/ip-address/dist/ |
H A D | ipv4.js | 111 const padded = hex.replace(/:/g, '').padStart(8, '0'); 314 return this.bigInteger().toString(2).padStart(constants.BITS, '0');
|
H A D | ipv6.js | 162 const hex = bigInteger.toString(16).padStart(32, '0'); 429 .padStart(length / 4, '0'); 528 return this.bigInteger().toString(2).padStart(constants6.BITS, '0');
|
/third_party/typescript/src/lib/ |
H A D | es2017.string.d.ts | 13 padStart(maxLength: number, fillString?: string): string;
|
/third_party/typescript/tests/arkTSTest/testcase/arkts-no-generators/ |
H A D | arkts-no-generators-7-error.ets | 21 yield i.toString(2).padStart(length, '0')
|
/third_party/typescript/tests/cases/compiler/ |
H A D | doYouNeedToChangeYourTargetLibraryES2016Plus.ts | 7 const testStringPadStart = "".padStart(2);
|
/third_party/node/tools/doc/ |
H A D | deprecationCodes.mjs | 13 `DEP${codeAsNumber.toString().padStart(4, '0')}`;
|
H A D | addon-verify.mjs | 55 `./${String(++id).padStart(2, '0')}_${blockName}/`,
|
/third_party/typescript/lib/ |
H A D | lib.es2017.string.d.ts | 33 padStart(maxLength: number, fillString?: string): string;
|
/third_party/parse5/test/utils/ |
H A D | common.ts | 22 return '^\n'.padStart(markerPosition + 1, ' ');
|