Home
last modified time | relevance | path

Searched refs:setInterval (Results 1 - 25 of 54) sorted by relevance

123

/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-drivers/source/
H A DsetInterval-js.cpp15 #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 Dmock_timers.js52 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 Dtest-timers-unrefed-in-callback.js2 // 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 Dtest-worker-arraybuffer-zerofill.js17 setInterval(post, 0);
24 const interval = setInterval(allocBuffers, 0);
H A Dtest-inspector-async-hook-setup-at-signal.js13 let waiting = setInterval(waitUntilDebugged, 50);
27 waiting = setInterval(() => { debugger; }, 50);
H A Dtest-worker-nearheaplimit-deadlock.js25 setInterval(() => {}, 1);
H A Dtest-timers-zero-timeout.js48 const iv = setInterval(f, 0, 'foo', 'bar', 'baz');
H A Dtest-fs-read-stream-fd-leak.js49 setInterval(function() {
H A Dtest-https-close.js17 const interval = setInterval(() => {
/third_party/node/test/async-hooks/
H A Dtest-graph.intervals.js12 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 Dmissing-timeout-setinterval.any.js12 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 Dnegative-setinterval.any.js12 interval = setInterval(next, -100);
H A Dtype-long-setinterval.any.js7 interval = setInterval(next, Math.pow(2, 32));
/third_party/node/test/fixtures/wpt/streams/resources/
H A Drs-utils.js21 this._intervalHandle = setInterval(writeChunk, 2);
26 this._intervalHandle = setInterval(writeChunk, 2);
/third_party/node/test/fixtures/debugger/
H A Dalive.js5 setInterval(heartbeat, 50);
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-drivers/
H A DsetInterval-js.h20 DECLARE_GLOBAL_FUNCTION(setInterval); variable
H A Dlib_drivers.h21 #include "jerryscript-mbed-drivers/setInterval-js.h"
31 REGISTER_GLOBAL_FUNCTION(setInterval); in DECLARE_JS_WRAPPER_REGISTRATION()
/third_party/node/lib/timers/
H A Dpromises.js138 async function* setInterval(after, value, options = kEmptyObject) {
226 setInterval,
/third_party/node/test/fixtures/
H A Dshould_exit.js25 setInterval(function() {
/third_party/node/test/fixtures/test-runner/aborts/
H A Dwait-for-abort-helper.js5 const interval = setInterval(() => {
/third_party/node/test/pummel/
H A Dtest-vm-memleak.js38 const interval = setInterval(function() {
H A Dtest-watch-file.js57 const interval = setInterval(changeFile, 1000);
/third_party/node/lib/internal/cluster/
H A Dchild.js19 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 Dtimers.js211 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 Dindex.js7 var setInterval = require('./set-interval.js')
184 this.redrawTracker = setInterval(this._$$doRedraw, this._updateInterval)

Completed in 5 milliseconds

123