Home
last modified time | relevance | path

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

/third_party/libcoap/tests/
H A Dtest_wellknown.c25 #define TEST_URI_LEN 4 macro
144 const uint16_t num_resources = (sizeof(uris) / TEST_URI_LEN) - 1; in t_wellknown3()
146 /* ,</0000> (TEST_URI_LEN + 4 chars) */ in t_wellknown3()
148 int len = snprintf((char *)uribuf, TEST_URI_LEN + 1, in t_wellknown3()
149 "%0*d", TEST_URI_LEN, j); in t_wellknown3()
153 uribuf += TEST_URI_LEN; in t_wellknown3()
160 offset = num_resources * (TEST_URI_LEN + 4); in t_wellknown3()
230 /* ,</0000> (TEST_URI_LEN + 4 chars) */ in t_wkc_tests_create()
231 for (i = 0; i < sizeof(_buf) / (TEST_URI_LEN + 4); i++) { in t_wkc_tests_create()
232 int len = snprintf((char *)buf, TEST_URI_LEN in t_wkc_tests_create()
[all...]

Completed in 1 milliseconds