/lvgl-3.5.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.5.0/src/extra/libs/sjpg/ |
D | lv_sjpg.c | 183 uint8_t * workb_temp = lv_mem_alloc(TJPGD_WORKBUFF_SIZE); in decoder_info() 254 uint8_t * workb_temp = lv_mem_alloc(TJPGD_WORKBUFF_SIZE); in decoder_info() 354 sjpeg = lv_mem_alloc(sizeof(SJPEG)); in decoder_open() 381 sjpeg->frame_base_array = lv_mem_alloc(sizeof(uint8_t *) * sjpeg->sjpeg_total_frames); in decoder_open() 399 …sjpeg->frame_cache = (void *)lv_mem_alloc(sjpeg->sjpeg_x_res * sjpeg->sjpeg_single_frame_height * … in decoder_open() 407 sjpeg->workb = lv_mem_alloc(TJPGD_WORKBUFF_SIZE); in decoder_open() 414 sjpeg->tjpeg_jd = lv_mem_alloc(sizeof(JDEC)); in decoder_open() 427 uint8_t * workb_temp = lv_mem_alloc(TJPGD_WORKBUFF_SIZE); in decoder_open() 450 … sjpeg->frame_base_array = lv_mem_alloc(sizeof(uint8_t *) * sjpeg->sjpeg_total_frames); in decoder_open() 462 …sjpeg->frame_cache = (void *)lv_mem_alloc(sjpeg->sjpeg_x_res * sjpeg->sjpeg_single_frame_height * … in decoder_open() [all …]
|
/lvgl-3.5.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() 133 tabview->map[id] = lv_mem_alloc(strlen(new_name) + 1); in lv_tabview_rename_tab() 227 tabview->map = lv_mem_alloc(sizeof(const char *)); in lv_tabview_constructor()
|
/lvgl-3.5.0/src/extra/others/snapshot/ |
D | lv_snapshot.c | 131 lv_draw_ctx_t * draw_ctx = lv_mem_alloc(obj_disp->driver->draw_ctx_size); in lv_snapshot_take_to_buf() 169 void * buf = lv_mem_alloc(buff_size); in lv_snapshot_take() 175 lv_img_dsc_t * dsc = lv_mem_alloc(sizeof(lv_img_dsc_t)); in lv_snapshot_take()
|
/lvgl-3.5.0/src/core/ |
D | lv_obj_class.c | 47 lv_obj_t * obj = lv_mem_alloc(s); in lv_obj_class_create_obj() 64 disp->screens = lv_mem_alloc(sizeof(lv_obj_t *)); in lv_obj_class_create_obj() 89 parent->spec_attr->children = lv_mem_alloc(sizeof(lv_obj_t *)); in lv_obj_class_create_obj()
|
/lvgl-3.5.0/src/draw/sw/ |
D | lv_draw_sw_layer.c | 57 layer_sw_ctx->base_draw.buf = lv_mem_alloc(layer_sw_ctx->buf_size_bytes); in lv_draw_sw_layer_create() 62 layer_sw_ctx->base_draw.buf = lv_mem_alloc(layer_sw_ctx->buf_size_bytes); in lv_draw_sw_layer_create() 76 layer_sw_ctx->base_draw.buf = lv_mem_alloc(layer_sw_ctx->buf_size_bytes); in lv_draw_sw_layer_create()
|
/lvgl-3.5.0/tests/src/test_cases/ |
D | test_mem.c | 20 void * buf1 = lv_mem_alloc(20); in test_mem_buf_realloc()
|
/lvgl-3.5.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.5.0/src/misc/ |
D | lv_lru.c | 77 lv_lru_t * cache = (lv_lru_t *) lv_mem_alloc(sizeof(lv_lru_t)); in lv_lru_create() 92 … cache->items = (lv_lru_item_t **) lv_mem_alloc(sizeof(lv_lru_item_t *) * cache->hash_table_size); in lv_lru_create() 169 item->key = lv_mem_alloc(key_length); in lv_lru_set() 344 item = (lv_lru_item_t *) lv_mem_alloc(sizeof(lv_lru_item_t)); in lv_lru_pop_or_create_item()
|
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_async.c | 48 lv_async_info_t * info = lv_mem_alloc(sizeof(lv_async_info_t)); in lv_async_call()
|
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_mem.c | 125 void * lv_mem_alloc(size_t size) in lv_mem_alloc() function 203 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.5.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.5.0/src/draw/ |
D | lv_draw_layer.c | 42 lv_draw_layer_ctx_t * layer_ctx = lv_mem_alloc(draw_ctx->layer_instance_size); in lv_draw_layer_create()
|
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() 386 dsc->user_data = lv_mem_alloc(sizeof(lv_img_decoder_built_in_data_t)); in lv_img_decoder_built_in_open() 396 … user_data->palette = lv_mem_alloc(palette_size * sizeof(lv_color_t)); in lv_img_decoder_built_in_open() 398 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.5.0/src/draw/sdl/ |
D | lv_draw_sdl.c | 79 draw_ctx_sdl->internals = lv_mem_alloc(sizeof(lv_draw_sdl_context_internals_t)); in lv_draw_sdl_init_ctx()
|
/lvgl-3.5.0/src/extra/others/imgfont/ |
D | lv_imgfont.c | 55 imgfont_dsc_t * dsc = (imgfont_dsc_t *)lv_mem_alloc(size); in lv_imgfont_create()
|
/lvgl-3.5.0/src/extra/others/fragment/ |
D | lv_fragment.c | 29 lv_fragment_t * instance = lv_mem_alloc(cls->instance_size); in lv_fragment_create()
|
/lvgl-3.5.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() 304 Table *table = lv_mem_alloc(sizeof(*table) + sizeof(Entry) * init_bulk); in new_table()
|
/lvgl-3.5.0/docs/others/ |
D | snapshot.md | 19 The memory `lv_snapshot_take` uses are dynamically allocated using `lv_mem_alloc`. Use API `lv_snap…
|
/lvgl-3.5.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()
|