Searched refs:old_size (Results 1 – 2 of 2) sorted by relevance
402 size_t old_size = 0; in heap_caps_realloc_base() local407 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()
454 size_t old_size = multi_heap_free_size(heap); variable456 printf("[ALIGNED_ALLOC] heap_size before: %d \n", old_size);504 REQUIRE((old_size - multi_heap_free_size(heap)) <= leakage);