Home
last modified time | relevance | path

Searched refs:tnow (Results 1 – 5 of 5) sorted by relevance

/third_party/toybox/toys/net/
Dping.c95 long long tnext, tW, tnow, tw; in ping_main() local
197 tnow = millitime(); in ping_main()
199 if (0>=(waitms = tW-tnow) || !(TT.sent-TT.recv)) break; in ping_main()
200 waitms = tW-tnow; in ping_main()
203 if (tnow>tw) break; in ping_main()
204 else if (waitms>tw-tnow) waitms = tw-tnow; in ping_main()
208 if (!tW && tnext-tnow <= 0) { in ping_main()
215 if (TT.s >= 4) *(unsigned *)(ih+1) = tnow; in ping_main()
225 tW = tnow + TT.W*1000; in ping_main()
231 if (!tW && waitms>tnext-tnow) waitms = tnext-tnow; in ping_main()
/third_party/toybox/porting/liteos_a/toys/net/
Dping.c98 long long tnext, tW, tnow, tw; in ping_main() local
200 tnow = millitime(); in ping_main()
202 if (0>=(waitms = tW-tnow) || !(TT.sent-TT.recv)) break; in ping_main()
203 waitms = tW-tnow; in ping_main()
206 if (tnow>tw) break; in ping_main()
207 else if (waitms>tw-tnow) waitms = tw-tnow; in ping_main()
211 if (!tW && tnext-tnow <= 0) { in ping_main()
218 if (TT.s >= 4) tmp_tnow = tnow; in ping_main()
228 tW = tnow + TT.W*1000; in ping_main()
234 if (!tW && waitms>tnext-tnow) waitms = tnext-tnow; in ping_main()
/third_party/ltp/testcases/kernel/syscalls/timerfd/
Dtimerfd01.c97 unsigned long long tnow; in run() local
111 tnow = getustime(clks->id); in run()
112 settime(tfd, &tmr, TFD_TIMER_ABSTIME, tnow + 100 * 1000, 0); in run()
116 tnow = getustime(clks->id); in run()
117 settime(tfd, &tmr, TFD_TIMER_ABSTIME, tnow + 50 * 1000, 50 * 1000); in run()
/third_party/libcoap/examples/contiki/
Dserver.c115 time_t tnow = now; in hnd_get_time() local
116 tmp = gmtime(&tnow); in hnd_get_time()
/third_party/libxml2/
Dtestlimits.c54 clock_t tnow = clock(); in check_time() local
55 if (((tnow - t0) / CLOCKS_PER_SEC) > MAX_TIME) { in check_time()