Lines Matching refs:test_context
379 static struct client_data *test_context; variable
792 test_context = user_data; in send_packets()
842 test_context = user_data; in try_send()
1104 if (data[test_context->index].add_token && !check_token(received)) { in is_our_own()
1169 if (data[test_context->index].add_token) { in coap_new_request()
1173 test_context->fail = true; in coap_new_request()
1301 if (!test_context) in receive_data()
1304 if (data[test_context->index].check_mid && in receive_data()
1305 !check_mid(databuf, len, test_context->index)) { in receive_data()
1307 test_context->index); in receive_data()
1308 test_context->fail = true; in receive_data()
1311 if (!data[test_context->index + 1].buf) { in receive_data()
1315 test_context->index++; in receive_data()
1318 if (!test_context) in receive_data()
1321 if (data[test_context->index].check_mid) { in receive_data()
1324 test_context->fail = true; in receive_data()
1326 if (!data[test_context->index + 1].buf) { in receive_data()
1330 test_context->index++; in receive_data()
1469 if (test_context) in coap_message_handler()
1470 test_context->fail = true; in coap_message_handler()