/third_party/node/test/parallel/ |
D | test-timers-promisified.js | 13 const setTimeout = promisify(timers.setTimeout); constant 19 const promise = setTimeout(1); 26 const promise = setTimeout(1, 'foobar'); 49 assert.rejects(setTimeout(10, undefined, { signal }), /AbortError/); 57 assert.rejects(setTimeout(10, undefined, { signal }), /AbortError/); 78 setTimeout(10, undefined, { signal }).then(() => { 95 setTimeout(0, null, { signal }).finally(common.mustCall(() => { 123 (i) => assert.rejects(setTimeout(10, null, i)), { 129 (signal) => assert.rejects(setTimeout(10, null, { signal })), { 135 (ref) => assert.rejects(setTimeout(10, null, { ref })), {
|
D | test-http2-timeouts.js | 13 stream.setTimeout(1, common.mustCall(() => { 20 () => stream.setTimeout('100'), 30 () => stream.setTimeout(0, Symbol('test')), 38 () => stream.setTimeout(100, {}), 50 client.setTimeout(1, common.mustCall(() => { 52 req.setTimeout(1, common.mustCall(() => {
|
D | test-timers-refresh.js | 20 const timer = setTimeout(common.mustCall(() => { 27 setTimeout(common.mustCall(() => { 64 const timer = setTimeout(common.mustCall(() => { 68 setTimeout(common.mustCall(() => { 78 const timer = setTimeout(common.mustCall(() => { 99 setTimeout(common.mustCall(() => {
|
D | test-timers-non-integer-delay.js | 53 setTimeout(common.mustCall(() => { 57 setTimeout(common.mustCall(() => { 61 setTimeout(common.mustCall(() => { 65 setTimeout(common.mustCall(() => { 69 setTimeout(common.mustCall(() => {
|
D | test-net-socket-timeout.js | 42 s.setTimeout(nonNumericDelays[i], () => {}); 48 s.setTimeout(badRangeDelays[i], () => {}); 53 s.setTimeout(validDelays[i], () => {}); 59 () => s.setTimeout(mesc, invalidCallbacks[i]), 74 socket.setTimeout(1, common.mustCall(() => { 76 assert.strictEqual(socket.setTimeout(1, common.mustNotCall()), socket);
|
D | test-timers-user-call.js | 14 setTimeout(fn, 1); 15 setTimeout(fn, 1, 'oneArg'); 16 setTimeout(fn, 1, 'two', 'args'); 17 setTimeout(fn, 1, 'three', '(3)', 'args'); 18 setTimeout(fn, 1, 'more', 'than', 'three', 'args');
|
D | test-http-outgoing-settimeout.js | 12 setTimeout: common.mustCall((msecs) => { property 16 outgoingMessage.setTimeout(expectedMsecs); 23 outgoingMessage.setTimeout(expectedMsecs); 26 setTimeout: common.mustCall((msecs) => { property
|
D | test-timers-next-tick.js | 10 setTimeout(common.mustCall(() => { 17 const t2 = setTimeout(common.mustNotCall(), 1); 18 const t3 = setTimeout(common.mustNotCall(), 1); 19 setTimeout(common.mustCall(), 1);
|
D | test-timers-unref.js | 35 const timer = setTimeout(() => {}, 10); 44 setTimeout(common.mustNotCall('Timer should not fire'), LONG_TIME).unref(); 52 setTimeout(common.mustCall(() => { 64 setTimeout(common.mustCall(() => {
|
D | test-http-set-timeout-server.js | 47 const s = server.setTimeout(50, common.mustCall((socket) => { 62 const s = req.setTimeout(50, common.mustCall((socket) => { 83 const s = res.setTimeout(50, common.mustCall((socket) => { 100 const s = req.setTimeout(50, common.mustNotCall()); 129 const s = res.setTimeout(50, () => { 157 const s = server.setTimeout(50, common.mustCall((socket) => { 199 const s = server.setTimeout(1, common.mustCall((socket) => {
|
D | test-promises-unhandled-rejections.js | 35 setTimeout(nextAsyncTest, 10); 64 setTimeout(nextAsyncTest, 10); 107 setTimeout(function() { 152 setTimeout(function() { 208 setTimeout(function() { 227 setTimeout(function() { 307 setTimeout(function() { 349 setTimeout(function() { 439 setTimeout(function() { 491 setTimeout(function() { [all …]
|
/third_party/typescript_eslint/packages/eslint-plugin/docs/rules/ |
D | no-implied-eval.md | 5 The first is using `setTimeout()`, `setInterval()`, `setImmediate` or `execScript()` (Internet Expl… 8 setTimeout('alert(`Hi!`);', 100); 20 …or `execScript()` and always use a function for the first argument of `setTimeout()`, `setInterval… 24 This rule aims to eliminate implied `eval()` through the use of `new Function()`, `setTimeout()`, `… 31 setTimeout('alert(`Hi!`);', 100); 39 window.setTimeout('count = 5', 10); 44 setTimeout(fn, 100); 49 setTimeout(fn(), 100); 59 setTimeout(function () { 76 setTimeout(fn, 100); [all …]
|
/third_party/node/test/pummel/ |
D | test-timers.js | 32 setTimeout(common.mustCall(function() { 45 const id = setTimeout(common.mustNotCall(), 500); 75 setTimeout(function(param) { 94 setTimeout(function(param1, param2) { 124 setTimeout(t, 200); 125 setTimeout(t, 200); 126 const y = setTimeout(t, 200); 129 setTimeout(t, 200);
|
D | test-net-pause.js | 37 setTimeout(() => { 53 setTimeout(() => { 58 setTimeout(() => { 63 setTimeout(() => { 68 setTimeout(() => {
|
D | test-fs-watch-file.js | 70 setTimeout(function() { 98 setTimeout(function() { 113 setTimeout(function() { 117 setTimeout(function() { 121 setTimeout(function() {
|
/third_party/typescript/tests/baselines/reference/ |
D | fatarrowfunctionsInFunctions.types | 2 declare function setTimeout(expression: any, msec?: number, language?: any): number; 3 >setTimeout : { (handler: TimerHandler, timeout?: number, ...arguments: any[]): number; (expression… 10 >{ message: "Hello World", start: function() { var _self = this; setTimeout(fun… 18 >function() { var _self = this; setTimeout(function() { _self.message.toSt… 24 setTimeout(function() { 25 >setTimeout(function() { _self.message.toString(); }, 3000) : number 26 >setTimeout : { (handler: TimerHandler, timeout?: number, ...arguments: any[]): number; (expression…
|
D | recursiveNamedLambdaCall.types | 4 … ) { try { top.doScroll("left"); } catch(e) { return setTimeout( doScrollCheck, … 15 … ) { try { top.doScroll("left"); } catch(e) { return setTimeout( doScrollCheck, … 16 … ) { try { top.doScroll("left"); } catch(e) { return setTimeout( doScrollCheck, … 17 … ) { try { top.doScroll("left"); } catch(e) { return setTimeout( doScrollCheck, … 34 return setTimeout( doScrollCheck, 50 ); 35 >setTimeout( doScrollCheck, 50 ) : any 36 >setTimeout : any
|
D | fatarrowfunctionsInFunctions.symbols | 2 declare function setTimeout(expression: any, msec?: number, language?: any): number; 3 >setTimeout : Symbol(setTimeout, Decl(lib.dom.d.ts, --, --), Decl(fatarrowfunctionsInFunctions.ts, … 20 setTimeout(function() { 21 >setTimeout : Symbol(setTimeout, Decl(lib.dom.d.ts, --, --), Decl(fatarrowfunctionsInFunctions.ts, …
|
D | thisBinding2.types | 48 declare function setTimeout(expression: any, msec?: number, language?: any): number; 49 >setTimeout : { (handler: TimerHandler, timeout?: number, ...arguments: any[]): number; (expression… 56 >{ message: "Hello World", start: function () { return setTimeout(() => { var x = this… 64 >function () { return setTimeout(() => { var x = this.message; }, 3000); } : () => number 66 return setTimeout(() => { var x = this.message; }, 3000); 67 >setTimeout(() => { var x = this.message; }, 3000) : number 68 >setTimeout : { (handler: TimerHandler, timeout?: number, ...arguments: any[]): number; (expression…
|
D | contextuallyTypeArgumentsKeyword.types | 5 >{ bar() { setTimeout(function() { arguments }, 0); }} : { bar(): void; } 10 setTimeout(function() { arguments }, 0); 11 >setTimeout(function() { arguments }, 0) : number 12 >setTimeout : (handler: TimerHandler, timeout?: number, ...arguments: any[]) => number
|
D | thisBinding2.symbols | 35 declare function setTimeout(expression: any, msec?: number, language?: any): number; 36 >setTimeout : Symbol(setTimeout, Decl(lib.dom.d.ts, --, --), Decl(thisBinding2.ts, 12, 1)) 50 return setTimeout(() => { var x = this.message; }, 3000); 51 >setTimeout : Symbol(setTimeout, Decl(lib.dom.d.ts, --, --), Decl(thisBinding2.ts, 12, 1))
|
/third_party/node/deps/npm/node_modules/util-promisify/test/ |
D | timers.js | 9 const setTimeout = promisify(timers.setTimeout); constant 13 const promise = setTimeout(1); 20 const promise = setTimeout(1, 'foobar');
|
/third_party/node/benchmark/timers/ |
D | timers-breadth-args.js | 37 setTimeout(cb4, 1, 3.14, 1024, true, false); 39 setTimeout(cb3, 1, 512, true, null); 41 setTimeout(cb2, 1, false, 5.1); 43 setTimeout(cb1, 1, 0);
|
/third_party/node/test/async-hooks/ |
D | test-async-local-storage-no-mix-contexts.js | 9 setTimeout(() => { 16 setTimeout(() => { 30 setTimeout(() => { 34 setTimeout(() => {
|
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-drivers/source/ |
D | setTimeout-js.cpp | 26 DECLARE_GLOBAL_FUNCTION(setTimeout) { in DECLARE_GLOBAL_FUNCTION() argument 27 CHECK_ARGUMENT_COUNT(global, setTimeout, (args_count == 2)); in DECLARE_GLOBAL_FUNCTION() 28 CHECK_ARGUMENT_TYPE_ALWAYS(global, setTimeout, 0, function); in DECLARE_GLOBAL_FUNCTION() 29 CHECK_ARGUMENT_TYPE_ALWAYS(global, setTimeout, 1, number); in DECLARE_GLOBAL_FUNCTION()
|