Home
last modified time | relevance | path

Searched refs:compare_cb (Results 1 – 16 of 16) sorted by relevance

/lvgl-latest/tests/src/test_cases/cache/
Dtest_cache.c25 static lv_cache_compare_res_t compare_cb(const test_data * lhs, const test_data * rhs) in compare_cb() function
48 .compare_cb = (lv_cache_compare_cb_t) compare_cb, in setUp()
/lvgl-latest/src/misc/cache/
Dlv_cache_lru_rb.c204 LV_ASSERT_NULL(lru->cache.ops.compare_cb); in init_cnt_cb()
208 …if(lru->cache.node_size <= 0 || lru->cache.ops.compare_cb == NULL || lru->cache.ops.free_cb == NUL… in init_cnt_cb()
213 …if(!lv_rb_init(&lru->rb, lru->cache.ops.compare_cb, lv_cache_entry_get_size(lru->cache.node_size) … in init_cnt_cb()
227 LV_ASSERT_NULL(lru->cache.ops.compare_cb); in init_size_cb()
231 …if(lru->cache.node_size <= 0 || lru->cache.ops.compare_cb == NULL || lru->cache.ops.free_cb == NUL… in init_size_cb()
236 …if(!lv_rb_init(&lru->rb, lru->cache.ops.compare_cb, lv_cache_entry_get_size(lru->cache.node_size) … in init_size_cb()
280 if(lru->cache.ops.compare_cb(data, key) == 0) { in get_cb()
Dlv_cache.c272 void lv_cache_set_compare_cb(lv_cache_t * cache, lv_cache_compare_cb_t compare_cb, void * user_data) in lv_cache_set_compare_cb() argument
275 cache->ops.compare_cb = compare_cb; in lv_cache_set_compare_cb()
Dlv_cache.h186 void lv_cache_set_compare_cb(lv_cache_t * cache, lv_cache_compare_cb_t compare_cb, void * user_da…
Dlv_cache_private.h118 lv_cache_compare_cb_t compare_cb; /**< Compare function for keys */ member
Dlv_image_header_cache.c62 .compare_cb = (lv_cache_compare_cb_t) image_header_cache_compare_cb, in lv_image_header_cache_init()
Dlv_image_cache.c64 .compare_cb = (lv_cache_compare_cb_t) image_cache_compare_cb, in lv_image_cache_init()
/lvgl-latest/src/libs/freetype/
Dlv_freetype_image.c62 .compare_cb = (lv_cache_compare_cb_t)freetype_image_compare_cb, in lv_freetype_create_draw_data_image()
Dlv_freetype_glyph.c59 .compare_cb = (lv_cache_compare_cb_t)freetype_glyph_compare_cb, in lv_freetype_create_glyph_cache()
Dlv_freetype.c94 .compare_cb = (lv_cache_compare_cb_t)cache_node_cache_compare_cb, in lv_freetype_init()
Dlv_freetype_outline.c66 .compare_cb = (lv_cache_compare_cb_t)freetype_glyph_outline_cmp_cb, in lv_freetype_create_draw_data_outline()
/lvgl-latest/src/libs/tiny_ttf/
Dlv_tiny_ttf.c343 .compare_cb = (lv_cache_compare_cb_t)tiny_ttf_glyph_cache_compare_cb, in lv_tiny_ttf_cache_create()
351 .compare_cb = (lv_cache_compare_cb_t)tiny_ttf_draw_data_cache_compare_cb, in lv_tiny_ttf_cache_create()
/lvgl-latest/src/draw/vg_lite/
Dlv_vg_lite_stroke.c89 .compare_cb = (lv_cache_compare_cb_t)stroke_compare_cb, in lv_vg_lite_stroke_init()
Dlv_vg_lite_grad.c83 .compare_cb = (lv_cache_compare_cb_t)grad_compare_cb, in lv_vg_lite_grad_init()
/lvgl-latest/src/draw/opengles/
Dlv_draw_opengles.c100 .compare_cb = (lv_cache_compare_cb_t)opengles_texture_cache_compare_cb, in lv_draw_opengles_init()
/lvgl-latest/src/draw/sdl/
Dlv_draw_sdl.c124 .compare_cb = (lv_cache_compare_cb_t)sdl_texture_cache_compare_cb, in lv_draw_sdl_init()