Searched refs:lv_mem_alloc (Results 1 – 25 of 25) sorted by relevance
93 lv_font_t * font = lv_mem_alloc(sizeof(lv_font_t)); in lv_font_load()278 uint8_t * glyph_id_ofs_list = lv_mem_alloc(ids_size); in load_cmaps_tables()300 uint16_t * unicode_list = (uint16_t *) lv_mem_alloc(list_size); in load_cmaps_tables()310 uint16_t * buf = lv_mem_alloc(sizeof(uint16_t) * cmap->list_length); in load_cmaps_tables()346 lv_mem_alloc(cmaps_subtables_count * sizeof(lv_font_fmt_txt_cmap_t)); in load_cmaps()353 cmap_table_bin_t * cmaps_tables = lv_mem_alloc(sizeof(cmap_table_bin_t) * font_dsc->cmap_num); in load_cmaps()371 … lv_mem_alloc(loca_count * sizeof(lv_font_fmt_txt_glyph_dsc_t)); in load_glyph()441 uint8_t * glyph_bmp = (uint8_t *) lv_mem_alloc(sizeof(uint8_t) * cur_bmp_size); in load_glyph()494 lv_mem_alloc(sizeof(lv_font_fmt_txt_dsc_t)); in lvgl_load_font()541 uint32_t * glyph_offset = lv_mem_alloc(sizeof(uint32_t) * (loca_count + 1)); in lvgl_load_font()[all …]
89 style_dest->map = lv_mem_alloc(size); in lv_style_copy()162 list_dest->style_list = lv_mem_alloc((list_src->style_cnt - 1) * sizeof(lv_style_t *)); in lv_style_list_copy()167 list_dest->style_list = lv_mem_alloc(list_src->style_cnt * sizeof(lv_style_t *)); in lv_style_list_copy()174 list_dest->style_list = lv_mem_alloc((list_src->style_cnt - 2) * sizeof(lv_style_t *)); in lv_style_list_copy()179 list_dest->style_list = lv_mem_alloc((list_src->style_cnt - 1) * sizeof(lv_style_t *)); in lv_style_list_copy()207 if(list->style_cnt == 0) new_classes = lv_mem_alloc(sizeof(lv_style_t *)); in _lv_style_list_add_style()260 lv_style_t ** new_classes = lv_mem_alloc(sizeof(lv_style_t *) * (list->style_cnt - 1)); in _lv_style_list_remove_style()714 lv_style_t * trans_style = lv_mem_alloc(sizeof(lv_style_t)); in _lv_style_list_add_trans_style()1109 lv_style_t * local_style = lv_mem_alloc(sizeof(lv_style_t)); in get_alloc_local_style()
74 n_new = lv_mem_alloc(ll_p->n_size + LL_NODE_META_SIZE); in _lv_ll_ins_head()110 n_new = lv_mem_alloc(ll_p->n_size + LL_NODE_META_SIZE); in _lv_ll_ins_prev()133 n_new = lv_mem_alloc(ll_p->n_size + LL_NODE_META_SIZE); in _lv_ll_ins_tail()
41 lv_async_info_t * info = lv_mem_alloc(sizeof(lv_async_info_t)); in lv_async_call()
82 void * lv_mem_alloc(size_t size);
139 ch_enc = (uint32_t *)lv_mem_alloc(sizeof(uint32_t) * (txt_length + 1)); in _lv_txt_ap_proc()
110 file_p->file_d = lv_mem_alloc(file_p->drv->file_size); in lv_fs_open()369 rddir_p->dir_d = lv_mem_alloc(rddir_p->drv->rddir_size); in lv_fs_dir_open()
156 void * lv_mem_alloc(size_t size) in lv_mem_alloc() function321 new_p = lv_mem_alloc(new_size); in lv_mem_realloc()
129 dsc->src = lv_mem_alloc(fnlen + 1); in lv_img_decoder_open()337 dsc->user_data = lv_mem_alloc(sizeof(lv_img_decoder_built_in_data_t)); in lv_img_decoder_built_in_open()347 user_data->f = lv_mem_alloc(sizeof(f)); in lv_img_decoder_built_in_open()394 dsc->user_data = lv_mem_alloc(sizeof(lv_img_decoder_built_in_data_t)); in lv_img_decoder_built_in_open()405 … user_data->palette = lv_mem_alloc(palette_size * sizeof(lv_color_t)); in lv_img_decoder_built_in_open()407 user_data->opa = lv_mem_alloc(palette_size * sizeof(lv_opa_t)); in lv_img_decoder_built_in_open()
167 LV_GC_ROOT(_lv_img_cache_array) = lv_mem_alloc(sizeof(lv_img_cache_entry_t) * new_entry_cnt); in lv_img_cache_set_size()
334 lv_img_dsc_t * dsc = lv_mem_alloc(sizeof(lv_img_dsc_t)); in lv_img_buf_alloc()348 dsc->data = lv_mem_alloc(dsc->data_size); in lv_img_buf_alloc()
76 LV_GC_ROOT(_lv_theme_empty_styles) = lv_mem_alloc(sizeof(theme_styles_t)); in lv_theme_empty_init()
357 LV_GC_ROOT(_lv_theme_template_styles) = lv_mem_alloc(sizeof(theme_styles_t)); in lv_theme_template_init()360 styles = lv_mem_alloc(sizeof(theme_styles_t)); in lv_theme_template_init()
518 LV_GC_ROOT(_lv_theme_mono_styles) = lv_mem_alloc(sizeof(theme_styles_t)); in lv_theme_mono_init()
903 LV_GC_ROOT(_lv_theme_material_styles) = lv_mem_alloc(sizeof(theme_styles_t)); in lv_theme_material_init()
307 ext->cell_data[cell] = lv_mem_alloc(2); /*+1: trailing '\0; +1: format byte*/ in lv_table_set_cell_align()346 ext->cell_data[cell] = lv_mem_alloc(2); /*+1: trailing '\0; +1: format byte*/ in lv_table_set_cell_type()390 ext->cell_data[cell] = lv_mem_alloc(2); /*+1: trailing '\0; +1: format byte*/ in lv_table_set_cell_crop()429 ext->cell_data[cell] = lv_mem_alloc(2); /*+1: trailing '\0; +1: format byte*/ in lv_table_set_cell_merge_right()
226 ext->text = lv_mem_alloc(len); in lv_label_set_text()236 ext->text = lv_mem_alloc(len); in lv_label_set_text()296 ext->text = lv_mem_alloc(len_ap + 1); in lv_label_set_text_fmt()306 ext->text = lv_mem_alloc(len + 1); in lv_label_set_text_fmt()1486 ext->dot.tmp_ptr = lv_mem_alloc(len + 1); in lv_label_set_dot_tmp()
107 ext->tab_name_ptr = lv_mem_alloc(sizeof(char *)); in lv_tabview_create()162 ext->tab_name_ptr = lv_mem_alloc(sizeof(char *)); in lv_tabview_create()226 name_dm = lv_mem_alloc(strlen(name) + 1); /*+1 for the the closing '\0' */ in lv_tabview_add_tab()
94 ext->title_txt = lv_mem_alloc(strlen(DEF_TITLE) + 1); in lv_win_create()140 ext->title_txt = lv_mem_alloc(strlen(copy_ext->title_txt) + 1); in lv_win_create()
120 m->param = lv_mem_alloc(param_size); in lv_objmask_add_mask()
181 ext->pwd_tmp = lv_mem_alloc(len); in lv_textarea_create()579 ext->placeholder_txt = lv_mem_alloc(txt_len + 1); in lv_textarea_set_placeholder_text()722 ext->pwd_tmp = lv_mem_alloc(len + 1); in lv_textarea_set_pwd_mode()
1138 ext->button_areas = lv_mem_alloc(sizeof(lv_area_t) * btn_cnt); in allocate_btn_areas_and_controls()1140 ext->ctrl_bits = lv_mem_alloc(sizeof(lv_btnmatrix_ctrl_t) * btn_cnt); in allocate_btn_areas_and_controls()
226 ext->options = lv_mem_alloc(len); in lv_dropdown_set_options()286 ext->options = lv_mem_alloc(len); in lv_dropdown_add_option()
185 ser->points = lv_mem_alloc(sizeof(lv_coord_t) * ext->point_cnt); in lv_chart_add_series()316 lv_coord_t * new_points = lv_mem_alloc(sizeof(lv_coord_t) * point_cnt); in lv_chart_set_point_count()
198 char * new_str = lv_mem_alloc(strlen(src_img) + 1); in lv_img_set_src()