Home
last modified time | relevance | path

Searched refs:lv_malloc (Results 1 – 25 of 111) sorted by relevance

12345

/lvgl-latest/src/font/
Dlv_binfont_loader.c241 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()
323lv_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/
Dlv_ftsystem.c127 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/
Dlv_draw_rect.c149 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()
Dlv_draw_mask.c60 t->draw_dsc = lv_malloc(sizeof(*dsc)); in lv_draw_mask_rect()
Dlv_draw_line.c68 t->draw_dsc = lv_malloc(sizeof(*dsc)); in lv_draw_line()
Dlv_draw_triangle.c74 t->draw_dsc = lv_malloc(sizeof(*dsc)); in lv_draw_triangle()
/lvgl-latest/tests/src/test_cases/
Dtest_mem.c21 void * buf1 = lv_malloc(20); in test_mem_buf_realloc()
/lvgl-latest/src/stdlib/
Dlv_mem.c62 void * lv_malloc(size_t size) in lv_malloc() function
148 if(data_p == &zero_mem) return lv_malloc(new_size); in lv_realloc()
Dlv_mem.h69 void * lv_malloc(size_t size);
/lvgl-latest/src/misc/
Dlv_circle_buf.c55 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()
Dlv_tree.c86 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()
Dlv_ll.c61 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()
Dlv_async.c48 lv_async_info_t * info = lv_malloc(sizeof(lv_async_info_t)); in lv_async_call()
Dlv_text_ap.c154 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/
Dlv_port_lcd_stm32_template.c80 buf1 = lv_malloc(buf_size);
86 buf2 = lv_malloc(buf_size);
/lvgl-latest/src/draw/nema_gfx/
Dlv_nema_gfx_path.c69 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/
Dlv_xml_widget.c44 lv_widget_processor_t * p = lv_malloc(sizeof(lv_widget_processor_t)); in lv_xml_widget_register()
/lvgl-latest/src/layouts/
Dlv_layout.c42 layout_list_def = lv_malloc(layout_cnt * sizeof(lv_layout_dsc_t)); in lv_layout_init()
/lvgl-latest/src/layouts/grid/
Dlv_grid.c292 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/
Dlv_tjpgd.c156 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/
Dlv_nuttx_lcd.c177 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/
Dlv_fs_fatfs.c117 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/
Dlv_qrcode.c129 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/
Dlv_indev_gesture.c70 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/
Dlv_string_clib.c98 char * dst = lv_malloc(len); in lv_strdup()

12345