Home
last modified time | relevance | path

Searched refs:TEST_URI_LEN (Results 1 – 1 of 1) sorted by relevance

/net-tools-2.7.6/libcoap/tests/
Dtest_wellknown.c21 #define TEST_URI_LEN 4 macro
138 const unsigned short num_resources = (sizeof(uris) / TEST_URI_LEN) - 1; in t_wellknown3()
142 int len = snprintf((char *)uribuf, TEST_URI_LEN + 1, in t_wellknown3()
143 "%0*d", TEST_URI_LEN, j); in t_wellknown3()
146 uribuf += TEST_URI_LEN; in t_wellknown3()
153 offset = num_resources * (TEST_URI_LEN + 4); in t_wellknown3()
284 for (i = 0; i < sizeof(_buf) / (TEST_URI_LEN + 4); i++) { in t_wkc_tests_create()
285 int len = snprintf((char *)buf, TEST_URI_LEN + 1, in t_wkc_tests_create()
286 "%0*d", TEST_URI_LEN, i); in t_wkc_tests_create()
289 buf += TEST_URI_LEN + 1; in t_wkc_tests_create()