Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/misc/
Dlv_lru.c46 static int lv_lru_cmp_keys(lv_lru_item_t * item, 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);
92 … cache->items = (lv_lru_item_t **) lv_mem_alloc(sizeof(lv_lru_item_t *) * cache->hash_table_size); in lv_lru_create()
93 lv_memset_00(cache->items, sizeof(lv_lru_item_t *) * cache->hash_table_size); in lv_lru_create()
107 lv_lru_item_t * item = NULL, * next = NULL; in lv_lru_del()
113 next = (lv_lru_item_t *) item->next; in lv_lru_del()
127 next = (lv_lru_item_t *) item->next; in lv_lru_del()
147 lv_lru_item_t * item = NULL, * prev = NULL; in lv_lru_set()
152 item = (lv_lru_item_t *) item->next; in lv_lru_set()
[all …]
Dlv_lru.h42 typedef struct _lv_lru_item_t lv_lru_item_t; typedef
45 lv_lru_item_t ** items;
54 lv_lru_item_t * free_items;