Lines Matching refs:t
187 ctx->sendqueue->t -= delta; in coap_adjust_basetime()
195 coap_tick_t t = 0; in coap_adjust_basetime() local
196 while (q && (t + q->t < (coap_tick_t)delta)) { in coap_adjust_basetime()
197 t += q->t; in coap_adjust_basetime()
198 q->t = 0; in coap_adjust_basetime()
205 q->t = (coap_tick_t)delta - t; in coap_adjust_basetime()
230 if (node->t < q->t) { in coap_insert_node()
233 q->t -= node->t; /* make q->t relative to node->t */ in coap_insert_node()
239 node->t -= q->t; /* make node-> relative to q->t */ in coap_insert_node()
242 } while (q && q->t <= node->t); in coap_insert_node()
246 q->t -= node->t; /* make q->t relative to node->t */ in coap_insert_node()
307 context->sendqueue->t += next->t; in coap_pop_next()
742 node->t = node->timeout; in coap_send_confirmed()
746 node->t = (now - context->sendqueue_basetime) + node->timeout; in coap_send_confirmed()
765 etimer_set(&context->retransmit_timer, nextpdu->t); in coap_send_confirmed()
781 node->t = node->timeout << node->retransmit_cnt; in coap_retransmit()
896 coap_ticks(&node->t); in coap_handle_message()
946 (*queue)->t += (*node)->t; in coap_remove_from_queue()
964 p->next->t += q->t; in coap_remove_from_queue()
1670 while (nextpdu && nextpdu->t <= now) {
1677 nextpdu ? nextpdu->t - now : 0xFFFF);
1724 if (nextinqueue->t > elapsed) {
1725 nextinqueue->t -= elapsed;
1728 elapsed -= nextinqueue->t;
1753 if (ctx->sendqueue->t >= elapsed) {
1754 delay = ctx->sendqueue->t - elapsed;