Lines Matching refs:timestamp

22 static coap_tick_t timestamp[] = {  variable
47 CU_ASSERT(node[1]->t == timestamp[1]); in t_sendqueue1()
60 CU_ASSERT(sendqueue->t == timestamp[1]); in t_sendqueue2()
61 CU_ASSERT(node[2]->t == timestamp[2] - timestamp[1]); in t_sendqueue2()
73 CU_ASSERT(node[3]->t == timestamp[3]); in t_sendqueue3()
78 CU_ASSERT(sendqueue->next->t == timestamp[1] - timestamp[3]); in t_sendqueue3()
79 CU_ASSERT(sendqueue->next->next->t == timestamp[2] - timestamp[1]); in t_sendqueue3()
102 CU_ASSERT(sendqueue->next->t == timestamp[1] - timestamp[3]); in t_sendqueue4()
103 CU_ASSERT(add_timestamps(sendqueue, 1) == timestamp[3]); in t_sendqueue4()
104 CU_ASSERT(add_timestamps(sendqueue, 2) == timestamp[1]); in t_sendqueue4()
105 CU_ASSERT(add_timestamps(sendqueue, 3) == timestamp[4]); in t_sendqueue4()
106 CU_ASSERT(add_timestamps(sendqueue, 4) == timestamp[2]); in t_sendqueue4()
117 static coap_tick_t times[sizeof(timestamp)/sizeof(coap_tick_t)]; in t_sendqueue5()
137 CU_ASSERT(ctx.sendqueue->t == timestamp[3] + delta1); in t_sendqueue5()
150 CU_ASSERT(ctx.sendqueue->next->next->t == delta2 - delta1 - timestamp[1]); in t_sendqueue5()
166 static coap_tick_t times[sizeof(timestamp)/sizeof(coap_tick_t)]; in t_sendqueue6()
211 CU_ASSERT(sendqueue->t == timestamp[1]); in t_sendqueue7()
227 CU_ASSERT(sendqueue->t == timestamp[1]); in t_sendqueue8()
231 CU_ASSERT(sendqueue->next->t == timestamp[2] - timestamp[1]); in t_sendqueue8()
260 CU_ASSERT(tmp_node->t == timestamp[1]); in t_sendqueue9()
261 CU_ASSERT(sendqueue->t == timestamp[2]); in t_sendqueue9()
283 CU_ASSERT(tmp_node->t == timestamp[2]); in t_sendqueue10()
294 coap_ticks(&timestamp[0]); in t_sendqueue_tests_create()
305 node[n]->t = timestamp[n]; in t_sendqueue_tests_create()