Home
last modified time | relevance | path

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

/lvgl-latest/src/extra/libs/freetype/
Dlv_freetype.c355 size_t need_size = sizeof(lv_font_fmt_ft_dsc_t) + sizeof(lv_font_t); in lv_ft_font_init_cache() local
356 lv_font_fmt_ft_dsc_t * dsc = lv_mem_alloc(need_size); in lv_ft_font_init_cache()
358 lv_memset_00(dsc, need_size); in lv_ft_font_init_cache()
536 size_t need_size = sizeof(lv_font_fmt_ft_dsc_t) + sizeof(lv_font_t); in lv_ft_font_init_nocache() local
537 lv_font_fmt_ft_dsc_t * dsc = lv_mem_alloc(need_size); in lv_ft_font_init_nocache()
539 lv_memset_00(dsc, need_size); in lv_ft_font_init_nocache()