Searched refs:n_res (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/tests/net/lib/coap_server/common/src/ |
D | main.c | 154 size_t first_res, second_res, n_res; in ZTEST() local 156 n_res = 0; in ZTEST() 170 n_res++; in ZTEST() 173 zassert_equal(n_res, 2); in ZTEST() 174 zassert_equal(first_res + second_res, n_res); in ZTEST() 176 n_res = 0; in ZTEST() 190 n_res++; in ZTEST() 193 zassert_equal(n_res, 2); in ZTEST() 194 zassert_equal(first_res + second_res, n_res); in ZTEST() 196 n_res = 0; in ZTEST() [all …]
|
/Zephyr-latest/tests/net/lib/http_server/common/src/ |
D | main.c | 155 size_t first_res, second_res, third_res, n_res; in ZTEST() local 157 n_res = 0; in ZTEST() 174 n_res++; in ZTEST() 177 zassert_equal(n_res, 3); in ZTEST() 178 zassert_equal(first_res + second_res + third_res, n_res); in ZTEST() 180 n_res = 0; in ZTEST() 194 n_res++; in ZTEST() 197 zassert_equal(n_res, 2); in ZTEST() 198 zassert_equal(first_res + second_res, n_res); in ZTEST() 200 n_res = 0; in ZTEST() [all …]
|
/Zephyr-latest/drivers/net/ |
D | nsos_adapt.c | 948 size_t n_res = 0; in addrinfo_to_nsos_mid() local 952 n_res++; in addrinfo_to_nsos_mid() 955 if (n_res == 0) { in addrinfo_to_nsos_mid() 959 nsos_res_wraps = calloc(n_res, sizeof(*nsos_res_wraps)); in addrinfo_to_nsos_mid() 1002 nsos_res_wraps[n_res - 1].addrinfo_mid.ai_next = NULL; in addrinfo_to_nsos_mid()
|
D | nsos_sockets.c | 1445 size_t n_res = 0; in addrinfo_from_nsos_mid() local 1448 n_res++; in addrinfo_from_nsos_mid() 1451 if (n_res == 0) { in addrinfo_from_nsos_mid() 1455 res_wraps = k_calloc(n_res, sizeof(*res_wraps)); in addrinfo_from_nsos_mid() 1482 res_wraps[n_res - 1].addrinfo.ai_next = NULL; in addrinfo_from_nsos_mid()
|