/lvgl-latest/src/font/ |
D | lv_binfont_loader.c | 241 uint8_t * glyph_id_ofs_list = lv_malloc(ids_size); in load_cmaps_tables() 257 uint16_t * unicode_list = (uint16_t *)lv_malloc(list_size); in load_cmaps_tables() 267 uint16_t * buf = lv_malloc(sizeof(uint16_t) * cmap->list_length); in load_cmaps_tables() 298 lv_malloc(cmaps_subtables_count * sizeof(lv_font_fmt_txt_cmap_t)); in load_cmaps() 305 cmap_table_bin_t * cmaps_tables = lv_malloc(sizeof(cmap_table_bin_t) * font_dsc->cmap_num); in load_cmaps() 323 … lv_malloc(loca_count * sizeof(lv_font_fmt_txt_glyph_dsc_t)); in load_glyph() 393 uint8_t * glyph_bmp = (uint8_t *)lv_malloc(sizeof(uint8_t) * cur_bmp_size); in load_glyph() 462 lv_malloc(sizeof(lv_font_fmt_txt_dsc_t)); in lvgl_load_font() 511 uint32_t * glyph_offset = lv_malloc(sizeof(uint32_t) * (loca_count + 1)); in lvgl_load_font() 579 lv_font_fmt_txt_kern_pair_t * kern_pair = lv_malloc(sizeof(lv_font_fmt_txt_kern_pair_t)); in load_kern() [all …]
|
/lvgl-latest/src/libs/freetype/ |
D | lv_ftsystem.c | 127 lv_fs_file_t * file_p = lv_malloc(sizeof(lv_fs_file_t)); in FT_Stream_Open() 158 memory = (FT_Memory)lv_malloc(sizeof(*memory)); in FT_New_Memory() 199 return lv_malloc((size_t)size); in ft_alloc()
|
/lvgl-latest/src/draw/ |
D | lv_draw_rect.c | 149 lv_draw_box_shadow_dsc_t * shadow_dsc = lv_malloc(sizeof(lv_draw_box_shadow_dsc_t)); in lv_draw_rect() 181 lv_draw_fill_dsc_t * bg_dsc = lv_malloc(sizeof(lv_draw_fill_dsc_t)); in lv_draw_rect() 224 lv_draw_image_dsc_t * bg_image_dsc = lv_malloc(sizeof(lv_draw_image_dsc_t)); in lv_draw_rect() 249 lv_draw_label_dsc_t * bg_label_dsc = lv_malloc(sizeof(lv_draw_label_dsc_t)); in lv_draw_rect() 267 lv_draw_border_dsc_t * border_dsc = lv_malloc(sizeof(lv_draw_border_dsc_t)); in lv_draw_rect() 286 lv_draw_border_dsc_t * outline_dsc = lv_malloc(sizeof(lv_draw_border_dsc_t)); in lv_draw_rect()
|
D | lv_draw_mask.c | 60 t->draw_dsc = lv_malloc(sizeof(*dsc)); in lv_draw_mask_rect()
|
D | lv_draw_line.c | 68 t->draw_dsc = lv_malloc(sizeof(*dsc)); in lv_draw_line()
|
D | lv_draw_triangle.c | 74 t->draw_dsc = lv_malloc(sizeof(*dsc)); in lv_draw_triangle()
|
/lvgl-latest/tests/src/test_cases/ |
D | test_mem.c | 21 void * buf1 = lv_malloc(20); in test_mem_buf_realloc()
|
/lvgl-latest/src/stdlib/ |
D | lv_mem.c | 62 void * lv_malloc(size_t size) in lv_malloc() function 148 if(data_p == &zero_mem) return lv_malloc(new_size); in lv_realloc()
|
D | lv_mem.h | 69 void * lv_malloc(size_t size);
|
/lvgl-latest/src/misc/ |
D | lv_circle_buf.c | 55 lv_circle_buf_t * circle_buf = lv_malloc(sizeof(lv_circle_buf_t)); in lv_circle_buf_create() 76 lv_circle_buf_t * circle_buf = lv_malloc(sizeof(lv_circle_buf_t)); in lv_circle_buf_create_from_buf() 100 lv_circle_buf_t * circle_buf = lv_malloc(sizeof(lv_circle_buf_t)); in lv_circle_buf_create_from_array()
|
D | lv_tree.c | 86 lv_tree_node_t * node = lv_malloc(s); in _lv_tree_class_create_node() 92 node->children = lv_malloc(sizeof(lv_tree_node_t *) * node->child_cap); in _lv_tree_class_create_node()
|
D | lv_ll.c | 61 n_new = lv_malloc(ll_p->n_size + LL_NODE_META_SIZE); in lv_ll_ins_head() 91 n_new = lv_malloc(ll_p->n_size + LL_NODE_META_SIZE); in lv_ll_ins_prev() 109 n_new = lv_malloc(ll_p->n_size + LL_NODE_META_SIZE); in lv_ll_ins_tail()
|
D | lv_async.c | 48 lv_async_info_t * info = lv_malloc(sizeof(lv_async_info_t)); in lv_async_call()
|
D | lv_text_ap.c | 154 ch_enc = (uint32_t *)lv_malloc(sizeof(uint32_t) * (txt_length + 1)); in lv_text_ap_proc() 155 ch_fin = (uint32_t *)lv_malloc(sizeof(uint32_t) * (txt_length + 1)); in lv_text_ap_proc()
|
/lvgl-latest/examples/porting/ |
D | lv_port_lcd_stm32_template.c | 80 buf1 = lv_malloc(buf_size); 86 buf2 = lv_malloc(buf_size);
|
/lvgl-latest/src/draw/nema_gfx/ |
D | lv_nema_gfx_path.c | 69 nema_gfx_path->data = (float *) lv_malloc(nema_gfx_path->data_size * sizeof(float)); in lv_nema_gfx_path_alloc() 71 nema_gfx_path->seg = (uint8_t *) lv_malloc(nema_gfx_path->seg_size * sizeof(uint8_t)); in lv_nema_gfx_path_alloc()
|
/lvgl-latest/src/others/xml/ |
D | lv_xml_widget.c | 44 lv_widget_processor_t * p = lv_malloc(sizeof(lv_widget_processor_t)); in lv_xml_widget_register()
|
/lvgl-latest/src/layouts/ |
D | lv_layout.c | 42 layout_list_def = lv_malloc(layout_cnt * sizeof(lv_layout_dsc_t)); in lv_layout_init()
|
/lvgl-latest/src/layouts/grid/ |
D | lv_grid.c | 292 int32_t * col_templ_sub = lv_malloc(sizeof(int32_t) * (span + 1)); in calc_cols() 302 c->x = lv_malloc(sizeof(int32_t) * c->col_num); in calc_cols() 303 c->w = lv_malloc(sizeof(int32_t) * c->col_num); in calc_cols() 384 int32_t * row_templ_sub = lv_malloc(sizeof(int32_t) * (span + 1)); in calc_rows() 392 c->y = lv_malloc(sizeof(int32_t) * c->row_num); in calc_rows() 393 c->h = lv_malloc(sizeof(int32_t) * c->row_num); in calc_rows()
|
/lvgl-latest/src/libs/tjpgd/ |
D | lv_tjpgd.c | 156 lv_fs_file_t * f = lv_malloc(sizeof(lv_fs_file_t)); in decoder_open() 187 uint8_t * workb_temp = lv_malloc(TJPGD_WORKBUFF_SIZE); in decoder_open() 188 JDEC * jd = lv_malloc(sizeof(JDEC)); in decoder_open()
|
/lvgl-latest/src/drivers/nuttx/ |
D | lv_nuttx_lcd.c | 177 draw_buf = lv_malloc(buf_size); in lcd_init() 185 draw_buf_2 = lv_malloc(buf_size); in lcd_init()
|
/lvgl-latest/src/libs/fsdrv/ |
D | lv_fs_fatfs.c | 117 FIL * f = lv_malloc(sizeof(FIL)); in fs_open() 235 DIR * d = lv_malloc(sizeof(DIR)); in fs_dir_open()
|
/lvgl-latest/src/libs/qrcode/ |
D | lv_qrcode.c | 129 uint8_t * qr0 = lv_malloc(qrcodegen_BUFFER_LEN_FOR_VERSION(qr_version)); in lv_qrcode_update() 131 uint8_t * data_tmp = lv_malloc(qrcodegen_BUFFER_LEN_FOR_VERSION(qr_version)); in lv_qrcode_update()
|
/lvgl-latest/src/indev/ |
D | lv_indev_gesture.c | 70 recognizer->config = lv_malloc(sizeof(lv_indev_gesture_configuration_t)); in lv_indev_set_pinch_up_threshold() 85 recognizer->config = lv_malloc(sizeof(lv_indev_gesture_configuration_t)); in lv_indev_set_pinch_down_threshold() 218 r->config = lv_malloc(sizeof(lv_indev_gesture_configuration_t)); in lv_indev_gesture_detect_pinch() 372 info = lv_malloc(sizeof(lv_indev_gesture_t)); in init_gesture_info()
|
/lvgl-latest/src/stdlib/clib/ |
D | lv_string_clib.c | 98 char * dst = lv_malloc(len); in lv_strdup()
|