Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/heap/
Dheap_caps.c402 size_t old_size = 0; in heap_caps_realloc_base() local
407 old_size = multi_heap_get_allocated_size(heap->heap, dram_ptr); in heap_caps_realloc_base()
409 old_size = multi_heap_get_allocated_size(heap->heap, ptr); in heap_caps_realloc_base()
412 assert(old_size > 0); in heap_caps_realloc_base()
413 memcpy(new_p, ptr, MIN(size, old_size)); in heap_caps_realloc_base()
/hal_espressif-3.4.0/components/heap/test_multi_heap_host/
Dtest_multi_heap.cpp454 size_t old_size = multi_heap_free_size(heap); variable
456 printf("[ALIGNED_ALLOC] heap_size before: %d \n", old_size);
504 REQUIRE((old_size - multi_heap_free_size(heap)) <= leakage);