Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/misc/
Dlv_lru.c28 size_t value_length; member
66 #define test_for_missing_value() error_for(!value || value_length == 0, LV_LRU_MISSING_VALUE)
67 #define test_for_value_too_large() error_for(value_length > cache->total_memory, LV_LRU_VALUE_TO…
116 cache->free_memory += item->value_length; in lv_lru_del()
137 …v_lru_set(lv_lru_t * cache, const void * key, size_t key_length, void * value, size_t value_length) in lv_lru_set() argument
157 required = (int)(value_length - item->value_length); in lv_lru_set()
160 item->value_length = value_length; in lv_lru_set()
169 item->value_length = value_length; in lv_lru_set()
171 required = (int) value_length; in lv_lru_set()
321 cache->free_memory += item->value_length; in lv_lru_remove_item()
Dlv_lru.h66 …_lru_set(lv_lru_t * cache, const void * key, size_t key_length, void * value, size_t value_length);