Home
last modified time | relevance | path

Searched refs:countdown (Results 1 – 25 of 87) sorted by relevance

1234

/third_party/node/test/parallel/
Dtest-common-countdown.js10 const countdown = new Countdown(2, () => done = true); constant
11 assert.strictEqual(countdown.remaining, 2);
12 countdown.dec();
13 assert.strictEqual(countdown.remaining, 1);
14 countdown.dec();
15 assert.strictEqual(countdown.remaining, 0);
Dtest-http-should-keep-alive.js47 const countdown = new Countdown(SHOULD_KEEP_ALIVE.length, () => server.close()); constant
49 const getCountdownIndex = () => SERVER_RESPONSES.length - countdown.remaining;
60 countdown.dec();
61 if (countdown.remaining) {
Dtest-http2-origin.js91 const countdown = new Countdown(3, () => { constant
101 countdown.dec();
104 client.request().on('close', mustCall(() => countdown.dec())).resume();
122 const countdown = new Countdown(2, () => { constant
131 countdown.dec();
134 client.request().on('close', mustCall(() => countdown.dec())).resume();
Dtest-http2-too-many-streams.js32 const countdown = new Countdown(3, common.mustCall(() => { constant
44 countdown.dec();
49 req.on('close', () => countdown.dec());
57 req.on('close', () => countdown.dec());
Dtest-http2-settings-unsolicited-ack.js21 const countdown = new Countdown(3, () => { constant
28 session.on('remoteSettings', common.mustCall(() => countdown.dec()));
41 client.write(kSettingsAck.data, () => countdown.dec());
43 client.write(kSettingsAck.data, () => countdown.dec());
Dtest-http-response-statuscode.js75 const countdown = new Countdown(MAX_REQUESTS, () => server.close()); constant
83 countdown.dec();
84 reqNum = MAX_REQUESTS - countdown.remaining;
85 if (countdown.remaining > 0)
Dtest-http2-priority-cycle-.js44 const countdown = new Countdown(3, () => { constant
53 req.on('close', () => countdown.dec());
60 req.on('close', () => countdown.dec());
67 req.on('close', () => countdown.dec());
Dtest-http2-options-max-reserved-streams.js13 const countdown = new Countdown(3, () => { constant
40 countdown.dec();
62 stream.on('close', common.mustCall(() => countdown.dec()));
68 req.on('close', common.mustCall(() => countdown.dec()));
Dtest-http-information-headers.js8 const countdown = new Countdown(2, () => server.close()); constant
47 countdown.dec();
52 assert.strictEqual(countdown.remaining, 1);
61 countdown.dec();
Dtest-http2-compat-serverresponse-destroy.js39 const countdown = new Countdown(3, () => { constant
49 req.on('close', common.mustCall(() => countdown.dec()));
62 req.on('close', common.mustCall(() => countdown.dec()));
77 req.on('close', common.mustCall(() => countdown.dec()));
Dtest-http-server-connections-checking-leak.js15 const countdown = new Countdown(max, () => {}); constant
19 onGC(server, { ongc: countdown.dec.bind(countdown) });
Dtest-https-server-connections-checking-leak.js20 const countdown = new Countdown(max, () => {}); constant
24 onGC(server, { ongc: countdown.dec.bind(countdown) });
Dtest-http2-server-close-callback.js14 const countdown = new Countdown(2, () => { constant
21 client.on('connect', common.mustCall(() => countdown.dec()));
26 countdown.dec();
Dtest-cluster-child-index-net.js13 const countdown = new Countdown(kTime * 2, () => {
19 server.close(countdown.dec());
22 server2.close(countdown.dec());
Dtest-cluster-child-index-dgram.js16 const countdown = new Countdown(kTime * 2, () => {
25 socket.close(countdown.dec());
29 socket2.close(countdown.dec());
Dtest-timers-socket-timeout-removes-other-socket-unref-timer.js32 const countdown = new Countdown(2, () => server.close()); constant
36 client.on('end', () => countdown.dec());
41 client.on('end', () => countdown.dec());
Dtest-http2-no-more-streams.js26 const countdown = new Countdown(2, () => { constant
38 req.on('end', () => countdown.dec());
50 req.on('error', () => countdown.dec());
Dtest-http-set-cookies.js28 const countdown = new Countdown(2, () => server.close()); constant
58 countdown.dec();
73 countdown.dec();
Dtest-http2-multi-content-length.js20 const countdown = new Countdown(2, () => { constant
48 req.on('close', common.mustCall(() => countdown.dec()));
58 req.on('close', common.mustCall(() => countdown.dec()));
Dtest-http2-client-stream-destroy-before-connect.js31 const countdown = new Countdown(2, () => { constant
35 client.on('connect', () => countdown.dec());
48 countdown.dec();
Dtest-http2-endafterheaders.js20 const countdown = new Countdown(2, () => server.close()); constant
33 countdown.dec();
47 countdown.dec();
Dtest-http2-max-concurrent-streams.js22 const countdown = new Countdown(2, () => { constant
38 req.on('close', common.mustCall(() => countdown.dec()));
49 req.on('close', common.mustCall(() => countdown.dec()));
/third_party/jerryscript/tests/unit-core/
Dtest-exec-stop.cpp77 int countdown = 6; variable
78 jerry_set_vm_exec_stop_callback (vm_exec_stop_callback, &countdown, 16);
89 TEST_ASSERT (countdown == 0);
100 countdown = 6;
115 TEST_ASSERT (countdown == 0);
/third_party/alsa-lib/test/
Dqueue_timer.c33 int countdown = -1; in main() local
75 while (countdown != 0) { in main()
114 countdown = 2; in main()
117 if (countdown > 0) --countdown; in main()
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Dexception_safety_testing.cc34 int countdown = -1; variable
39 if (countdown-- == 0) { in MaybeThrow()
46 int countdown) noexcept { in FailureMessage() argument

1234