Home
last modified time | relevance | path

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

/Zephyr-latest/tests/lib/multi_heap/src/
Dtest_mheap_api.c99 void *block1, *block2; in realloc_handler() local
107 block2 = k_realloc(NULL, OVERFLOW_SIZE); in realloc_handler()
109 zassert_is_null(block2); in realloc_handler()
135 block2 = k_realloc(NULL, BLK_SIZE_MIN); in realloc_handler()
137 zassert_is_null(block2); in realloc_handler()
144 block2 = k_realloc(NULL, BLK_SIZE_MIN); in realloc_handler()
146 zassert_not_null(block2); in realloc_handler()
151 block2 = k_realloc(block2, 0); in realloc_handler()
153 zassert_is_null(block2); in realloc_handler()
/Zephyr-latest/subsys/net/lib/coap/
Dcoap_client.c204 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()
1123 struct coap_client_option block2 = { in coap_client_option_initial_block2() local
1129 return block2; in coap_client_option_initial_block2()
Dcoap.c1523 int r, block1, block2, size1, size2; in coap_update_from_block() local
1526 block2 = coap_get_option_int(cpkt, COAP_OPTION_BLOCK2); in coap_update_from_block()
1531 r = update_control_block2(ctx, block2, size2); in coap_update_from_block()
1544 return update_descriptive_block(ctx, block2, size2 == -ENOENT ? 0 : size2); in coap_update_from_block()