Searched refs:need_size (Results 1 – 1 of 1) sorted by relevance
355 size_t need_size = sizeof(lv_font_fmt_ft_dsc_t) + sizeof(lv_font_t); in lv_ft_font_init_cache() local356 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() local537 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()