Searched refs:block2 (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/tests/lib/multi_heap/src/ |
D | test_mheap_api.c | 106 void *block1, *block2; in ZTEST() local 114 block2 = k_realloc(NULL, OVERFLOW_SIZE); in ZTEST() 116 zassert_is_null(block2); in ZTEST() 130 block2 = k_realloc(NULL, BLK_SIZE_MIN); in ZTEST() 132 zassert_is_null(block2); in ZTEST() 139 block2 = k_realloc(NULL, BLK_SIZE_MIN); in ZTEST() 141 zassert_not_null(block2); in ZTEST() 146 block2 = k_realloc(block2, 0); in ZTEST() 148 zassert_is_null(block2); in ZTEST()
|
/Zephyr-latest/include/zephyr/net/ |
D | coap_client.h | 189 struct coap_client_option block2 = { in coap_client_option_initial_block2() local 195 return block2; in coap_client_option_initial_block2()
|
/Zephyr-latest/subsys/net/lib/coap/ |
D | coap_client.c | 204 bool block2 = false; in coap_client_init_request() local 246 block2 = true; in coap_client_init_request() 258 if (COAP_OPTION_BLOCK2 == req->options[i].code && block2) { in coap_client_init_request()
|
D | coap.c | 1522 int r, block1, block2, size1, size2; in coap_update_from_block() local 1525 block2 = coap_get_option_int(cpkt, COAP_OPTION_BLOCK2); in coap_update_from_block() 1530 r = update_control_block2(ctx, block2, size2); in coap_update_from_block() 1543 return update_descriptive_block(ctx, block2, size2 == -ENOENT ? 0 : size2); in coap_update_from_block()
|