Home
last modified time | relevance | path

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

/lvgl-latest/tests/src/test_cases/
Dtest_snapshot.c21 initial_available_memory = monitor.free_size; in test_snapshot_should_not_leak_memory()
33 final_available_memory = monitor.free_size; in test_snapshot_should_not_leak_memory()
53 initial_available_memory = monitor.free_size; in test_snapshot_with_transform_should_not_leak_memory()
65 final_available_memory = monitor.free_size; in test_snapshot_with_transform_should_not_leak_memory()
Dtest_event.c34 size_t initial_free_size = monitor.free_size; in test_event_should_not_memory_lean()
44 TEST_ASSERT_LESS_OR_EQUAL_CHAR(initial_free_size, m2.free_size); in test_event_should_not_memory_lean()
/lvgl-latest/src/stdlib/builtin/
Dlv_mem_core_builtin.c208 mon_p->used_pct = 100 - (uint64_t)100U * mon_p->free_size / mon_p->total_size; in lv_mem_monitor_core()
209 if(mon_p->free_size > 0) { in lv_mem_monitor_core()
210 mon_p->frag_pct = (uint64_t)mon_p->free_biggest_size * 100U / mon_p->free_size; in lv_mem_monitor_core()
268 mon_p->free_size += size; in lv_mem_walker()
/lvgl-latest/tests/src/test_cases/widgets/
Dtest_checkbox.c88 initial_available_memory = m1.free_size; in test_checkbox_should_allocate_memory_for_static_text()
95 LV_HEAP_CHECK(TEST_ASSERT_LESS_THAN(initial_available_memory, m1.free_size)); in test_checkbox_should_allocate_memory_for_static_text()
Dtest_dropdown.c115 TEST_ASSERT_UINT_WITHIN(48, m1.free_size, m2.free_size); in test_dropdown_set_options()
/lvgl-latest/src/stdlib/
Dlv_mem.c78 mon.total_size - mon.free_size, mon.used_pct, mon.frag_pct, in lv_malloc()
107 mon.total_size - mon.free_size, mon.used_pct, mon.frag_pct, in lv_malloc_zeroed()
Dlv_mem.h38 size_t free_size; /**< Size of available memory */ member
/lvgl-latest/tests/src/
Dlv_test_helpers.h19 return m1.free_size; in lv_test_get_free_mem()
/lvgl-latest/examples/widgets/table/
Dlv_example_table_2.c97 size_t mem_used = mon1.free_size - mon2.free_size; in lv_example_table_2()
/lvgl-latest/demos/stress/
Dlv_demo_stress.c79 if(mem_free_start == 0) mem_free_start = mon.free_size; in obj_test_task_cb()
81 …_LOG_USER("mem leak since start: %zu, frag: %3d %%", mem_free_start - mon.free_size, mon.frag_pct); in obj_test_task_cb()
/lvgl-latest/src/draw/vg_lite/
Dlv_vg_lite_grad.c332 size_t free_size = lv_cache_get_free_size(u->grad_cache, NULL); in grad_get() local
333 if(free_size == 0) { in grad_get()
/lvgl-latest/src/others/sysmon/
Dlv_sysmon.c324 size_t used_size = mon->total_size - mon->free_size;; in mem_observer_cb()