Home
last modified time | relevance | path

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

12

/third_party/typescript/tests/arkTSTest/testcase/arkts-no-implicit-return-types/
Darkts-no-implicit-return-types-5-error.ets21 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')
Darkts-no-implicit-return-types-5-ok.ets21 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/node/deps/undici/src/lib/cookies/
Dutil.js173 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/
DdoYouNeedToChangeYourTargetLibraryES2016Plus.js6 const testStringPadStart = "".padStart(2);
54 var testStringPadStart = "".padStart(2);
DdoYouNeedToChangeYourTargetLibraryES2016Plus.types13 const testStringPadStart = "".padStart(2);
15 >"".padStart(2) : any
16 >"".padStart : any
18 >padStart : any
DdoYouNeedToChangeYourTargetLibraryES2016Plus.errors.txt2 …edToChangeYourTargetLibraryES2016Plus.ts(5,31): error TS2550: Property 'padStart' does not exist o…
43 const testStringPadStart = "".padStart(2);
45 !!! error TS2550: Property 'padStart' does not exist on type '""'. Do you need to change your targe…
DdoYouNeedToChangeYourTargetLibraryES2016Plus.symbols7 const testStringPadStart = "".padStart(2);
/third_party/typescript/lib/
Dlib.es2017.string.d.ts33 padStart(maxLength: number, fillString?: string): string; method
/third_party/typescript/src/lib/
Des2017.string.d.ts13 padStart(maxLength: number, fillString?: string): string; method
/third_party/node/deps/v8/tools/zone-stats/
Ddetails-selection.js190 return ((index + ': ').padStart(6, '\u00A0') +
191 formatSeconds(time).padStart(8, '\u00A0') + ' ' +
192 formatBytes(sample.allocated).padStart(12, '\u00A0'));
/third_party/node/deps/npm/node_modules/ip-address/dist/
Dipv4.js111 const padded = hex.replace(/:/g, '').padStart(8, '0');
314 return this.bigInteger().toString(2).padStart(constants.BITS, '0');
Dipv6.js162 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/node/deps/npm/node_modules/@tufjs/models/dist/
Drole.js236 const suffix = binNumber.toString(16).padStart(this.suffixLen, '0');
241 const suffix = i.toString(16).padStart(this.suffixLen, '0');
/third_party/node/deps/v8/tools/heap-stats/
Ddetails-selection.js199 return (index + ': ').padStart(4, '0') +
200 formatSeconds(time).padStart(6, '0') + ' ' +
202 .padStart(9, '0');
/third_party/typescript/tests/cases/compiler/
DdoYouNeedToChangeYourTargetLibraryES2016Plus.ts7 const testStringPadStart = "".padStart(2);
/third_party/typescript/tests/arkTSTest/testcase/arkts-no-generators/
Darkts-no-generators-7-error.ets21 yield i.toString(2).padStart(length, '0')
/third_party/parse5/test/utils/
Dcommon.ts22 return '^\n'.padStart(markerPosition + 1, ' ');
/third_party/node/tools/doc/
DdeprecationCodes.mjs13 `DEP${codeAsNumber.toString().padStart(4, '0')}`;
Daddon-verify.mjs55 `./${String(++id).padStart(2, '0')}_${blockName}/`,
/third_party/node/deps/npm/lib/utils/
Dlog-file.js11 const padZero = (n, length) => n.toString().padStart(length.toString().length, '0')
/third_party/node/deps/v8/tools/
Dtickprocessor.mjs939 ? `${(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}`);
Dparse-processor.mjs30 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/src/builtins/
Dstring-pad.tq100 const methodName: constexpr string = 'String.prototype.padStart';
/third_party/node/test/fixtures/wpt/url/
Durl-setters-stripping.any.js27 const cpReference = "U+" + i.toString(16).toUpperCase().padStart(4, "0");
/third_party/node/deps/undici/src/lib/fetch/
Dbody.js110 … const boundary = `----formdata-undici-0${`${Math.floor(Math.random() * 1e11)}`.padStart(11, '0')}`

12