Lines Matching refs:now
180 coap_adjust_basetime(coap_context_t *ctx, coap_tick_t now) { in coap_adjust_basetime() argument
182 coap_tick_diff_t delta = now - ctx->sendqueue_basetime; in coap_adjust_basetime()
707 coap_tick_t now; in coap_send_confirmed() local
740 coap_ticks(&now); in coap_send_confirmed()
743 context->sendqueue_basetime = now; in coap_send_confirmed()
746 node->t = (now - context->sendqueue_basetime) + node->timeout; in coap_send_confirmed()
1655 coap_tick_t now; local
1669 coap_ticks(&now);
1670 while (nextpdu && nextpdu->t <= now) {
1677 nextpdu ? nextpdu->t - now : 0xFFFF);
1711 coap_tick_t now; local
1717 coap_ticks(&now);
1719 …elapsed = now - ctx->sendqueue_basetime; /* that's positive for sure, and unless we haven't been c…
1734 ctx->sendqueue_basetime = now;
1741 coap_tick_t now, elapsed, delay; local
1751 coap_ticks(&now);
1752 elapsed = now - ctx->sendqueue_basetime;