/openthread-3.7.0/tests/unit/ |
D | test_trickle_timer.cpp | 110 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 …]
|
D | test_timer.cpp | 142 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 …]
|
D | CMakeLists.txt | 223 ot_unit_test(timer)
|
/openthread-3.7.0/src/core/common/ |
D | timer.cpp | 207 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/ |
D | load_roots.c | 84 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/ |
D | platform.c | 268 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
|
D | timing.c | 116 (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/ |
D | tcp_var.h | 152 #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
|
D | tcp_output.c | 1238 goto timer; in tcp_output() 1260 timer: in tcp_output()
|
/openthread-3.7.0/third_party/mbedtls/repo/programs/fuzz/ |
D | fuzz_dtlsclient.c | 40 mbedtls_timing_delay_context timer; in LLVMFuzzerTestOneInput() local 92 mbedtls_ssl_set_timer_cb(&ssl, &timer, mbedtls_timing_set_delay, in LLVMFuzzerTestOneInput()
|
D | fuzz_dtlsserver.c | 44 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/ |
D | test_suite_timing.data | 1 Timing: get timer
|
/openthread-3.7.0/src/cli/ |
D | README_DATASET.md | 133 2. Set the delay timer parameter (example uses 5 minutes or 300000 ms). Check the resulting dataset… 175 …timer 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.
|
D | README.md | 1167 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/ |
D | timing.h | 37 struct mbedtls_timing_hr_time MBEDTLS_PRIVATE(timer);
|
/openthread-3.7.0/third_party/mbedtls/repo/programs/ssl/ |
D | dtls_client.c | 83 mbedtls_timing_delay_context timer; in main() local 190 mbedtls_ssl_set_timer_cb(&ssl, &timer, mbedtls_timing_set_delay, in main()
|
D | ssl_test_lib.c | 400 mbedtls_timing_delay_context *timer, in idle() 421 if (timer != NULL && in idle() 422 mbedtls_timing_get_delay(timer) == 2) { in idle()
|
D | dtls_server.c | 92 mbedtls_timing_delay_context timer; in main() local 235 mbedtls_ssl_set_timer_cb(&ssl, &timer, mbedtls_timing_set_delay, in main()
|
D | ssl_client2.c | 832 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 …]
|
D | ssl_test_lib.h | 291 mbedtls_timing_delay_context *timer,
|
D | ssl_server2.c | 1533 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/ |
D | CMakeLists.txt | 121 common/timer.cpp 280 common/timer.cpp
|
D | BUILD.gn | 455 "common/timer.cpp", 456 "common/timer.hpp", 762 "common/timer.cpp",
|