Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/mem_heap/k_heap_api/src/
Dtest_kheap_api.c18 #define ALLOC_SIZE_2 1536 macro
39 p = (char *)k_heap_alloc(&k_heap_test, ALLOC_SIZE_2, K_NO_WAIT); in thread_alloc_heap()
43 p = (char *)k_heap_alloc(&k_heap_test, ALLOC_SIZE_2, timeout); in thread_alloc_heap()
56 p = (char *)k_heap_alloc(&k_heap_test, ALLOC_SIZE_2, K_NO_WAIT); in thread_alloc_heap_null()
60 p = (char *)k_heap_alloc(&k_heap_test, ALLOC_SIZE_2, timeout); in thread_alloc_heap_null()
173 p = (char *)k_heap_alloc(&k_heap_test, ALLOC_SIZE_2, timeout); in ZTEST()
175 for (int i = 0; i < ALLOC_SIZE_2; i++) { in ZTEST()
209 char *p = (char *)k_heap_alloc(&k_heap_test, ALLOC_SIZE_2, K_NO_WAIT); in ZTEST()