Home
last modified time | relevance | path

Searched refs:timer (Results 1 – 23 of 23) sorted by relevance

/openthread-3.7.0/tests/unit/
Dtest_trickle_timer.cpp110 TrickleTimerTester timer(*instance); in TestTrickleTimerPlainMode() local
122 timer.Start(TrickleTimer::kModePlainTimer, kMinInterval, kMaxInterval, 0); in TestTrickleTimerPlainMode()
124 VerifyOrQuit(timer.IsRunning()); in TestTrickleTimerPlainMode()
125 VerifyOrQuit(timer.GetIntervalMax() == kMaxInterval); in TestTrickleTimerPlainMode()
126 VerifyOrQuit(timer.GetIntervalMin() == kMinInterval); in TestTrickleTimerPlainMode()
128 interval = timer.GetInterval(); in TestTrickleTimerPlainMode()
135 timer.VerifyTimerDidFire(); in TestTrickleTimerPlainMode()
140 VerifyOrQuit(timer.IsRunning()); in TestTrickleTimerPlainMode()
141 interval = timer.GetInterval(); in TestTrickleTimerPlainMode()
156 TrickleTimerTester timer(*instance); in TestTrickleTimerTrickleMode() local
[all …]
Dtest_timer.cpp142 TestTimer<TimerType> timer(*instance); in TestOneTimer() local
152 timer.Start(kTimerInterval); in TestOneTimer()
158 VerifyOrQuit(timer.IsRunning(), "Timer running Failed."); in TestOneTimer()
168 VerifyOrQuit(timer.IsRunning() == false, "Timer running Failed."); in TestOneTimer()
176 timer.Start(kTimerInterval); in TestOneTimer()
182 VerifyOrQuit(timer.IsRunning(), "Timer running Failed."); in TestOneTimer()
192 VerifyOrQuit(timer.IsRunning() == false, "Timer running Failed."); in TestOneTimer()
200 timer.Start(kTimerInterval); in TestOneTimer()
206 VerifyOrQuit(timer.IsRunning(), "Timer running Failed."); in TestOneTimer()
216 VerifyOrQuit(timer.IsRunning() == false, "Timer running Failed."); in TestOneTimer()
[all …]
DCMakeLists.txt223 ot_unit_test(timer)
/openthread-3.7.0/src/core/common/
Dtimer.cpp207 Timer *timer = mTimerList.GetHead(); in SetAlarm() local
211 remaining = (now < timer->mFireTime) ? (timer->mFireTime - now) : 0; in SetAlarm()
219 Timer *timer = mTimerList.GetHead(); in ProcessTimers() local
221 if (timer) in ProcessTimers()
225 if (now >= timer->mFireTime) in ProcessTimers()
227 Remove(*timer, aAlarmApi); // `Remove()` will `SetAlarm` for next timer if there is any. in ProcessTimers()
228 timer->Fired(); in ProcessTimers()
241 Timer *timer; in RemoveAll() local
243 while ((timer = mTimerList.Pop()) != nullptr) in RemoveAll()
245 timer->SetNext(timer); in RemoveAll()
/openthread-3.7.0/third_party/mbedtls/repo/programs/x509/
Dload_roots.c84 struct mbedtls_timing_hr_time timer; in main() local
148 (void) mbedtls_timing_get_timer(&timer, 1); in main()
155 ms = mbedtls_timing_get_timer(&timer, 0); in main()
/openthread-3.7.0/third_party/mbedtls/repo/library/
Dplatform.c268 static mbedtls_time_t platform_time_uninit(mbedtls_time_t *timer) in platform_time_uninit() argument
270 ((void) timer); in platform_time_uninit()
277 mbedtls_time_t (*mbedtls_time)(mbedtls_time_t *timer) = MBEDTLS_PLATFORM_STD_TIME;
279 int mbedtls_platform_set_time(mbedtls_time_t (*time_func)(mbedtls_time_t *timer)) in mbedtls_platform_set_time() argument
Dtiming.c116 (void) mbedtls_timing_get_timer(&ctx->timer, 1); in mbedtls_timing_set_delay()
132 elapsed_ms = mbedtls_timing_get_timer(&ctx->timer, 0); in mbedtls_timing_get_delay()
/openthread-3.7.0/third_party/tcplp/bsdtcp/
Dtcp_var.h152 #define tpmarktimeractive(tp, timer) (tp)->miscflags |= timer argument
153 #define tpistimeractive(tp, timer) (((tp)->miscflags & timer) != 0) argument
154 #define tpcleartimeractive(tp, timer) (tp)->miscflags &= ~timer argument
Dtcp_output.c1238 goto timer; in tcp_output()
1260 timer: in tcp_output()
/openthread-3.7.0/third_party/mbedtls/repo/programs/fuzz/
Dfuzz_dtlsclient.c40 mbedtls_timing_delay_context timer; in LLVMFuzzerTestOneInput() local
92 mbedtls_ssl_set_timer_cb(&ssl, &timer, mbedtls_timing_set_delay, in LLVMFuzzerTestOneInput()
Dfuzz_dtlsserver.c44 mbedtls_timing_delay_context timer; in LLVMFuzzerTestOneInput() local
124 mbedtls_ssl_set_timer_cb(&ssl, &timer, mbedtls_timing_set_delay, in LLVMFuzzerTestOneInput()
/openthread-3.7.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_timing.data1 Timing: get timer
/openthread-3.7.0/src/cli/
DREADME_DATASET.md133 2. Set the delay timer parameter (example uses 5 minutes or 300000 ms). Check the resulting dataset…
175timer determines the time period after which the Pending Operational Dataset takes effect and beco…
209 3. Set the delay timer parameter to 5 minutes (300000 ms). Show the resulting Dataset that's ready …
230 4. Commit the new Dataset as the Pending Operational Dataset. This also starts the delay timer coun…
237 5. To verify that the delay timer is counting down, display the Pending Operational Dataset after a…
256 …This shows that indeed the delay timer has started counting down from its initial value `300000`. …
454 Get delay timer value. The timer value is in milliseconds.
462 Set delay timer value.
DREADME.md1167 Get the minimal delay timer (in seconds).
1177 Set the minimal delay timer (in seconds).
/openthread-3.7.0/third_party/mbedtls/repo/include/mbedtls/
Dtiming.h37 struct mbedtls_timing_hr_time MBEDTLS_PRIVATE(timer);
/openthread-3.7.0/third_party/mbedtls/repo/programs/ssl/
Ddtls_client.c83 mbedtls_timing_delay_context timer; in main() local
190 mbedtls_ssl_set_timer_cb(&ssl, &timer, mbedtls_timing_set_delay, in main()
Dssl_test_lib.c400 mbedtls_timing_delay_context *timer, in idle()
421 if (timer != NULL && in idle()
422 mbedtls_timing_get_delay(timer) == 2) { in idle()
Ddtls_server.c92 mbedtls_timing_delay_context timer; in main() local
235 mbedtls_ssl_set_timer_cb(&ssl, &timer, mbedtls_timing_set_delay, in main()
Dssl_client2.c832 mbedtls_timing_delay_context timer; in main() local
2132 mbedtls_ssl_set_timer_cb(&ssl, &timer, mbedtls_timing_set_delay, in main()
2232 ret = idle(&server_fd, &timer, ret); in main()
2475 idle(&server_fd, &timer, ret); in main()
2524 idle(&server_fd, &timer, ret); in main()
2552 idle(&server_fd, &timer, ret); in main()
2614 idle(&server_fd, &timer, ret); in main()
2718 idle(&server_fd, &timer, ret); in main()
2784 idle(&server_fd, &timer, ret); in main()
2904 mbedtls_ssl_set_timer_cb(&ssl, &timer, in main()
[all …]
Dssl_test_lib.h291 mbedtls_timing_delay_context *timer,
Dssl_server2.c1533 mbedtls_timing_delay_context timer; in main() local
3298 mbedtls_ssl_set_timer_cb(&ssl, &timer, mbedtls_timing_set_delay, in main()
3488 ret = idle(&client_fd, &timer, ret); in main()
3741 idle(&client_fd, &timer, ret); in main()
3843 idle(&client_fd, &timer, MBEDTLS_ERR_SSL_WANT_READ); in main()
3893 idle(&client_fd, &timer, ret); in main()
3960 idle(&client_fd, &timer, ret); in main()
3978 idle(&client_fd, &timer, ret); in main()
4127 mbedtls_ssl_set_timer_cb(&ssl, &timer, in main()
/openthread-3.7.0/src/core/
DCMakeLists.txt121 common/timer.cpp
280 common/timer.cpp
DBUILD.gn455 "common/timer.cpp",
456 "common/timer.hpp",
762 "common/timer.cpp",