/lvgl-3.4.0/src/font/ |
D | lv_font_loader.c | 93 lv_font_t * font = lv_mem_alloc(sizeof(lv_font_t)); in lv_font_load() 265 uint8_t * glyph_id_ofs_list = lv_mem_alloc(ids_size); in load_cmaps_tables() 281 uint16_t * unicode_list = (uint16_t *)lv_mem_alloc(list_size); in load_cmaps_tables() 291 uint16_t * buf = lv_mem_alloc(sizeof(uint16_t) * cmap->list_length); in load_cmaps_tables() 322 lv_mem_alloc(cmaps_subtables_count * sizeof(lv_font_fmt_txt_cmap_t)); in load_cmaps() 329 cmap_table_bin_t * cmaps_tables = lv_mem_alloc(sizeof(cmap_table_bin_t) * font_dsc->cmap_num); in load_cmaps() 347 … lv_mem_alloc(loca_count * sizeof(lv_font_fmt_txt_glyph_dsc_t)); in load_glyph() 417 uint8_t * glyph_bmp = (uint8_t *)lv_mem_alloc(sizeof(uint8_t) * cur_bmp_size); in load_glyph() 486 lv_mem_alloc(sizeof(lv_font_fmt_txt_dsc_t)); in lvgl_load_font() 535 uint32_t * glyph_offset = lv_mem_alloc(sizeof(uint32_t) * (loca_count + 1)); in lvgl_load_font() [all …]
|
/lvgl-3.4.0/src/extra/libs/sjpg/ |
D | lv_sjpg.c | 182 uint8_t * workb_temp = lv_mem_alloc(TJPGD_WORKBUFF_SIZE); in decoder_info() 253 uint8_t * workb_temp = lv_mem_alloc(TJPGD_WORKBUFF_SIZE); in decoder_info() 352 sjpeg = lv_mem_alloc(sizeof(SJPEG)); in decoder_open() 379 sjpeg->frame_base_array = lv_mem_alloc(sizeof(uint8_t *) * sjpeg->sjpeg_total_frames); in decoder_open() 397 …sjpeg->frame_cache = (void *)lv_mem_alloc(sjpeg->sjpeg_x_res * sjpeg->sjpeg_single_frame_height * … in decoder_open() 405 sjpeg->workb = lv_mem_alloc(TJPGD_WORKBUFF_SIZE); in decoder_open() 412 sjpeg->tjpeg_jd = lv_mem_alloc(sizeof(JDEC)); in decoder_open() 426 uint8_t * workb_temp = lv_mem_alloc(TJPGD_WORKBUFF_SIZE); in decoder_open() 449 … sjpeg->frame_base_array = lv_mem_alloc(sizeof(uint8_t *) * sjpeg->sjpeg_total_frames); in decoder_open() 461 …sjpeg->frame_cache = (void *)lv_mem_alloc(sjpeg->sjpeg_x_res * sjpeg->sjpeg_single_frame_height * … in decoder_open() [all …]
|
/lvgl-3.4.0/src/extra/widgets/tabview/ |
D | lv_tabview.c | 85 new_map = lv_mem_alloc((tab_id + 1) * sizeof(const char *)); in lv_tabview_add_tab() 87 new_map[tab_id - 1] = lv_mem_alloc(strlen(name) + 1); in lv_tabview_add_tab() 93 new_map = lv_mem_alloc((tab_id * 2) * sizeof(const char *)); in lv_tabview_add_tab() 96 new_map[0] = lv_mem_alloc(strlen(name) + 1); in lv_tabview_add_tab() 102 new_map[tab_id * 2 - 2] = lv_mem_alloc(strlen(name) + 1); in lv_tabview_add_tab() 205 tabview->map = lv_mem_alloc(sizeof(const char *)); in lv_tabview_constructor()
|
/lvgl-3.4.0/src/extra/others/snapshot/ |
D | lv_snapshot.c | 128 lv_draw_ctx_t * draw_ctx = lv_mem_alloc(obj_disp->driver->draw_ctx_size); in lv_snapshot_take_to_buf() 165 void * buf = lv_mem_alloc(buff_size); in lv_snapshot_take() 170 lv_img_dsc_t * dsc = lv_mem_alloc(sizeof(lv_img_dsc_t)); in lv_snapshot_take()
|
/lvgl-3.4.0/src/core/ |
D | lv_obj_class.c | 47 lv_obj_t * obj = lv_mem_alloc(s); in lv_obj_class_create_obj() 63 disp->screens = lv_mem_alloc(sizeof(lv_obj_t *)); in lv_obj_class_create_obj() 88 parent->spec_attr->children = lv_mem_alloc(sizeof(lv_obj_t *)); in lv_obj_class_create_obj()
|
/lvgl-3.4.0/src/extra/libs/qrcode/ |
D | lv_qrcode.c | 104 uint8_t * qr0 = lv_mem_alloc(qrcodegen_BUFFER_LEN_FOR_VERSION(qr_version)); in lv_qrcode_update() 106 uint8_t * data_tmp = lv_mem_alloc(qrcodegen_BUFFER_LEN_FOR_VERSION(qr_version)); in lv_qrcode_update() 196 uint8_t * buf = lv_mem_alloc(buf_size); in lv_qrcode_constructor()
|
/lvgl-3.4.0/src/misc/ |
D | lv_lru.c | 84 lv_lru_t * cache = (lv_lru_t *) lv_mem_alloc(sizeof(lv_lru_t)); in lv_lru_create() 99 … cache->items = (lv_lru_item_t **) lv_mem_alloc(sizeof(lv_lru_item_t *) * cache->hash_table_size); in lv_lru_create() 176 item->key = lv_mem_alloc(key_length); in lv_lru_set() 346 item = (lv_lru_item_t *) lv_mem_alloc(sizeof(lv_lru_item_t)); in lv_lru_pop_or_create_item()
|
D | lv_async.c | 48 lv_async_info_t * info = lv_mem_alloc(sizeof(lv_async_info_t)); in lv_async_call()
|
D | lv_ll.c | 71 n_new = lv_mem_alloc(ll_p->n_size + LL_NODE_META_SIZE); in _lv_ll_ins_head() 107 n_new = lv_mem_alloc(ll_p->n_size + LL_NODE_META_SIZE); in _lv_ll_ins_prev() 130 n_new = lv_mem_alloc(ll_p->n_size + LL_NODE_META_SIZE); in _lv_ll_ins_tail()
|
D | lv_txt_ap.c | 153 ch_enc = (uint32_t *)lv_mem_alloc(sizeof(uint32_t) * (txt_length + 1)); in _lv_txt_ap_proc() 154 ch_fin = (uint32_t *)lv_mem_alloc(sizeof(uint32_t) * (txt_length + 1)); in _lv_txt_ap_proc()
|
D | lv_mem.h | 74 void * lv_mem_alloc(size_t size);
|
D | lv_style.c | 111 uint8_t * new_values_and_props = lv_mem_alloc(size); in lv_style_remove_prop() 187 uint8_t * values_and_props = lv_mem_alloc(size); in lv_style_set_prop()
|
D | lv_mem.c | 123 void * lv_mem_alloc(size_t size) in lv_mem_alloc() function 191 if(data_p == &zero_mem) return lv_mem_alloc(new_size); in lv_mem_realloc()
|
D | lv_anim_timeline.c | 53 lv_anim_timeline_t * at = (lv_anim_timeline_t *)lv_mem_alloc(sizeof(lv_anim_timeline_t)); in lv_anim_timeline_create()
|
/lvgl-3.4.0/src/extra/libs/fsdrv/ |
D | lv_fs_fatfs.c | 113 FIL * f = lv_mem_alloc(sizeof(FIL)); in fs_open() 228 DIR * d = lv_mem_alloc(sizeof(DIR)); in fs_dir_open()
|
/lvgl-3.4.0/src/draw/ |
D | lv_img_decoder.c | 124 dsc->src = lv_mem_alloc(fnlen + 1); in lv_img_decoder_open() 342 dsc->user_data = lv_mem_alloc(sizeof(lv_img_decoder_built_in_data_t)); in lv_img_decoder_built_in_open() 384 dsc->user_data = lv_mem_alloc(sizeof(lv_img_decoder_built_in_data_t)); in lv_img_decoder_built_in_open() 394 … user_data->palette = lv_mem_alloc(palette_size * sizeof(lv_color_t)); in lv_img_decoder_built_in_open() 396 user_data->opa = lv_mem_alloc(palette_size * sizeof(lv_opa_t)); in lv_img_decoder_built_in_open()
|
D | lv_img_cache.c | 162 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()
|
/lvgl-3.4.0/src/draw/sdl/ |
D | lv_draw_sdl.c | 74 draw_ctx_sdl->internals = lv_mem_alloc(sizeof(lv_draw_sdl_context_internals_t)); in lv_draw_sdl_init_ctx()
|
D | lv_draw_sdl_label.c | 109 uint8_t * buf = lv_mem_alloc(g.box_w * g.box_h); in lv_draw_sdl_draw_letter()
|
/lvgl-3.4.0/src/extra/libs/gif/ |
D | gifdec.c | 111 gif = lv_mem_alloc(sizeof(gd_GIF) + 5 * width * height); in gif_open() 113 gif = lv_mem_alloc(sizeof(gd_GIF) + 4 * width * height); in gif_open() 115 gif = lv_mem_alloc(sizeof(gd_GIF) + 3 * width * height); in gif_open() 290 Table *table = lv_mem_alloc(sizeof(*table) + sizeof(Entry) * init_bulk); in new_table()
|
/lvgl-3.4.0/docs/others/ |
D | snapshot.md | 23 The memory `lv_snapshot_take` uses are dynamically allocated using `lv_mem_alloc`. Use API `lv_snap…
|
/lvgl-3.4.0/src/extra/others/monkey/ |
D | lv_monkey.c | 70 lv_monkey_t * monkey = lv_mem_alloc(sizeof(lv_monkey_t)); in lv_monkey_create()
|
/lvgl-3.4.0/src/widgets/ |
D | lv_table.c | 262 char ** new_cell_data = lv_mem_alloc(table->row_cnt * table->col_cnt * sizeof(char *)); in lv_table_set_col_cnt() 322 table->cell_data[cell] = lv_mem_alloc(2); /*+1: trailing '\0; +1: format byte*/ in lv_table_add_cell_ctrl() 346 table->cell_data[cell] = lv_mem_alloc(2); /*+1: trailing '\0; +1: format byte*/ in lv_table_clear_cell_ctrl() 442 table->col_w = lv_mem_alloc(table->col_cnt * sizeof(table->col_w[0])); in lv_table_constructor() 443 table->row_h = lv_mem_alloc(table->row_cnt * sizeof(table->row_h[0])); in lv_table_constructor()
|
/lvgl-3.4.0/src/draw/sw/ |
D | lv_draw_sw_gradient.c | 201 item = lv_mem_alloc(req_size); in allocate_item() 254 grad_cache_end = LV_GC_ROOT(_lv_grad_cache_mem) = lv_mem_alloc(max_bytes); in lv_gradient_set_cache_size()
|
/lvgl-3.4.0/src/extra/libs/freetype/ |
D | lv_freetype.c | 356 lv_font_fmt_ft_dsc_t * dsc = lv_mem_alloc(need_size); in lv_ft_font_init_cache() 537 lv_font_fmt_ft_dsc_t * dsc = lv_mem_alloc(need_size); in lv_ft_font_init_nocache() 674 refer->name = lv_mem_alloc(len); in name_refer_save()
|