Lines Matching refs:delay
199 uint32_t delay; in ZTEST() local
214 delay = net_timeout_evaluate(&nto, now); in ZTEST()
215 zassert_equal(delay, NET_TIMEOUT_MAX_VALUE, in ZTEST()
229 delay = net_timeout_evaluate(&nto, now + half_max); in ZTEST()
230 zassert_equal(delay, NET_TIMEOUT_MAX_VALUE - half_max, in ZTEST()
244 delay = net_timeout_evaluate(&nto, now + NET_TIMEOUT_MAX_VALUE - 1U); in ZTEST()
245 zassert_equal(delay, 1U, in ZTEST()
260 delay = net_timeout_evaluate(&nto, now); in ZTEST()
261 zassert_equal(delay, NET_TIMEOUT_MAX_VALUE, in ZTEST()
278 delay = net_timeout_evaluate(&nto, now); in ZTEST()
279 zassert_equal(delay, remainder, in ZTEST()
291 now += delay; in ZTEST()
292 delay = net_timeout_evaluate(&nto, now); in ZTEST()
293 zassert_equal(delay, 0, in ZTEST()
317 uint32_t delay = net_timeout_evaluate(&nto, now); in ZTEST() local
318 zassert_equal(delay, NET_TIMEOUT_MAX_VALUE); in ZTEST()
325 now += delay + 100U; in ZTEST()
326 delay = net_timeout_evaluate(&nto, now); in ZTEST()
332 zassert_equal(delay, NET_TIMEOUT_MAX_VALUE); in ZTEST()
336 now += delay + 123U; in ZTEST()
337 delay = net_timeout_evaluate(&nto, now); in ZTEST()
343 zassert_equal(delay, nto.timer_timeout); in ZTEST()
348 now += delay + 234U; in ZTEST()
349 delay = net_timeout_evaluate(&nto, now); in ZTEST()
350 zassert_equal(delay, 0); in ZTEST()