Lines Matching refs:lv_lru_t
43 static uint32_t lv_lru_hash(lv_lru_t * cache, const void * key, uint32_t key_length);
49 static void lv_lru_remove_item(lv_lru_t * cache, lv_lru_item_t * prev, lv_lru_item_t * item, uint32…
52 static lv_lru_item_t * lv_lru_pop_or_create_item(lv_lru_t * cache);
73 lv_lru_t * lv_lru_create(size_t cache_size, size_t average_length, lv_lru_free_t * value_free, in lv_lru_create()
77 lv_lru_t * cache = (lv_lru_t *) lv_mem_alloc(sizeof(lv_lru_t)); in lv_lru_create()
78 lv_memset_00(cache, sizeof(lv_lru_t)); in lv_lru_create()
102 void lv_lru_del(lv_lru_t * cache) in lv_lru_del()
137 lv_lru_res_t lv_lru_set(lv_lru_t * cache, const void * key, size_t key_length, void * value, size_t… in lv_lru_set()
189 lv_lru_res_t lv_lru_get(lv_lru_t * cache, const void * key, size_t key_size, void ** value) in lv_lru_get()
212 lv_lru_res_t lv_lru_remove(lv_lru_t * cache, const void * key, size_t key_size) in lv_lru_remove()
234 void lv_lru_remove_lru_item(lv_lru_t * cache) in lv_lru_remove_lru_item()
266 static uint32_t lv_lru_hash(lv_lru_t * cache, const void * key, uint32_t key_length) in lv_lru_hash()
311 static void lv_lru_remove_item(lv_lru_t * cache, lv_lru_item_t * prev, lv_lru_item_t * item, uint32… in lv_lru_remove_item()
331 static lv_lru_item_t * lv_lru_pop_or_create_item(lv_lru_t * cache) in lv_lru_pop_or_create_item()