Lines Matching refs:now
1032 coap_tick_t now; in main() local
1215 coap_ticks(&now); in main()
1216 while (nextpdu && nextpdu->t <= now - ctx->sendqueue_basetime) { in main()
1221 if (nextpdu && nextpdu->t < min(obs_wait ? obs_wait : max_wait, max_wait) - now) { in main()
1228 tv.tv_usec = ((obs_wait - now) % COAP_TICKS_PER_SECOND) * 1000000 / COAP_TICKS_PER_SECOND; in main()
1229 tv.tv_sec = (obs_wait - now) / COAP_TICKS_PER_SECOND; in main()
1231 tv.tv_usec = ((max_wait - now) % COAP_TICKS_PER_SECOND) * 1000000 / COAP_TICKS_PER_SECOND; in main()
1232 tv.tv_sec = (max_wait - now) / COAP_TICKS_PER_SECOND; in main()
1246 coap_ticks(&now); in main()
1247 if (max_wait <= now) { in main()
1251 if (obs_wait && obs_wait <= now) { in main()