/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-drivers/source/ |
H A D | setInterval-js.cpp | 15 #include "jerryscript-mbed-drivers/setInterval-js.h" 19 * setInterval (native JavaScript function) 26 DECLARE_GLOBAL_FUNCTION(setInterval) { in DECLARE_GLOBAL_FUNCTION() 27 CHECK_ARGUMENT_COUNT(global, setInterval, (args_count == 2)); in DECLARE_GLOBAL_FUNCTION() 28 CHECK_ARGUMENT_TYPE_ALWAYS(global, setInterval, 0, function); in DECLARE_GLOBAL_FUNCTION() 29 CHECK_ARGUMENT_TYPE_ALWAYS(global, setInterval, 1, number); in DECLARE_GLOBAL_FUNCTION() 41 return jerry_create_error(JERRY_ERROR_TYPE, (const jerry_char_t *) "Failed to run setInterval"); in DECLARE_GLOBAL_FUNCTION() 51 * Cancel an event that was previously scheduled via setInterval. 53 * @param id ID of the timeout event, returned by setInterval. 64 jerry_value_t prop_name = jerry_create_string((const jerry_char_t*)"setInterval"); in DECLARE_GLOBAL_FUNCTION() [all...] |
/third_party/node/lib/internal/test_runner/mock/ |
H A D | mock_timers.js | 52 const SUPPORTED_TIMERS = ['setTimeout', 'setInterval', 'setImmediate']; 86 #setInterval = FunctionPrototypeBind(this.#createTimer, this, true); 256 setInterval: () => { 259 globalThis.setInterval = this.#setInterval; 262 nodeTimers.setInterval = this.#setInterval; 265 nodeTimersPromises.setInterval = FunctionPrototypeBind( 290 setInterval: () => { 335 'setInterval', [all...] |
/third_party/node/test/parallel/ |
H A D | test-timers-unrefed-in-callback.js | 2 // Checks that setInterval timers keep running even when they're 30 const timer1 = setInterval(common.mustCall(() => { 42 // Test2 checks setInterval continues even if it is unrefed within 49 const timer2 = setInterval(() => {
|
H A D | test-worker-arraybuffer-zerofill.js | 17 setInterval(post, 0); 24 const interval = setInterval(allocBuffers, 0);
|
H A D | test-inspector-async-hook-setup-at-signal.js | 13 let waiting = setInterval(waitUntilDebugged, 50); 27 waiting = setInterval(() => { debugger; }, 50);
|
H A D | test-worker-nearheaplimit-deadlock.js | 25 setInterval(() => {}, 1);
|
H A D | test-timers-zero-timeout.js | 48 const iv = setInterval(f, 0, 'foo', 'bar', 'baz');
|
H A D | test-fs-read-stream-fd-leak.js | 49 setInterval(function() {
|
H A D | test-https-close.js | 17 const interval = setInterval(() => {
|
/third_party/node/test/async-hooks/ |
H A D | test-graph.intervals.js | 12 const iv1 = setInterval(common.mustCall(onfirstInterval, 3), TIMEOUT); 18 iv2 = setInterval(common.mustCall(onsecondInterval, 1), TIMEOUT + 1);
|
/third_party/node/test/fixtures/wpt/html/webappapis/timers/ |
H A D | missing-timeout-setinterval.any.js | 12 let h = setInterval(t.step_func(function() { 20 timeout_trampoline(t, 100, "Expected setInterval callback to be called two times"); 21 }, "Calling setInterval with no interval should be the same as if called with 0 interval"); 25 let h = setInterval(t.step_func(function() { 33 timeout_trampoline(t, 100, "Expected setInterval callback to be called two times"); 34 }, "Calling setInterval with undefined interval should be the same as if called with 0 interval");
|
H A D | negative-setinterval.any.js | 12 interval = setInterval(next, -100);
|
H A D | type-long-setinterval.any.js | 7 interval = setInterval(next, Math.pow(2, 32));
|
/third_party/node/test/fixtures/wpt/streams/resources/ |
H A D | rs-utils.js | 21 this._intervalHandle = setInterval(writeChunk, 2); 26 this._intervalHandle = setInterval(writeChunk, 2);
|
/third_party/node/test/fixtures/debugger/ |
H A D | alive.js | 5 setInterval(heartbeat, 50);
|
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-drivers/ |
H A D | setInterval-js.h | 20 DECLARE_GLOBAL_FUNCTION(setInterval); variable
|
H A D | lib_drivers.h | 21 #include "jerryscript-mbed-drivers/setInterval-js.h" 31 REGISTER_GLOBAL_FUNCTION(setInterval); in DECLARE_JS_WRAPPER_REGISTRATION()
|
/third_party/node/lib/timers/ |
H A D | promises.js | 138 async function* setInterval(after, value, options = kEmptyObject) { 226 setInterval,
|
/third_party/node/test/fixtures/ |
H A D | should_exit.js | 25 setInterval(function() {
|
/third_party/node/test/fixtures/test-runner/aborts/ |
H A D | wait-for-abort-helper.js | 5 const interval = setInterval(() => {
|
/third_party/node/test/pummel/ |
H A D | test-vm-memleak.js | 38 const interval = setInterval(function() {
|
H A D | test-watch-file.js | 57 const interval = setInterval(changeFile, 1000);
|
/third_party/node/lib/internal/cluster/ |
H A D | child.js | 19 const { setInterval, clearInterval } = require('timers'); 170 fakeHandle = setInterval(noop, TIMEOUT_MAX); 215 // so we control its state(ref or unref) by setInterval.
|
/third_party/node/lib/ |
H A D | timers.js | 211 function setInterval(callback, repeat, arg1, arg2, arg3) { function 248 // both setTimeout and setInterval, as specified by HTML Living Standard: 354 setInterval,
|
/third_party/node/deps/npm/node_modules/gauge/lib/ |
H A D | index.js | 7 var setInterval = require('./set-interval.js') 184 this.redrawTracker = setInterval(this._$$doRedraw, this._updateInterval)
|