/lvgl-latest/src/stdlib/ |
D | lv_mem.c | 40 void * lv_realloc_core(void * p, size_t new_size); 139 void * lv_realloc(void * data_p, size_t new_size) in lv_realloc() argument 141 LV_TRACE_MEM("reallocating %p with %lu size", data_p, (unsigned long)new_size); in lv_realloc() 142 if(new_size == 0) { in lv_realloc() 148 if(data_p == &zero_mem) return lv_malloc(new_size); in lv_realloc() 150 void * new_p = lv_realloc_core(data_p, new_size); in lv_realloc()
|
D | lv_mem.h | 106 void * lv_realloc(void * data_p, size_t new_size); 125 void * lv_realloc_core(void * p, size_t new_size);
|
/lvgl-latest/src/stdlib/uefi/ |
D | lv_mem_core_uefi.c | 65 void * lv_realloc_core(void * p, size_t new_size) in lv_realloc_core() argument 71 if(p == NULL) return lv_malloc_core(new_size); in lv_realloc_core() 79 if(p_header->size > new_size) return p; in lv_realloc_core() 81 p_new = lv_malloc_core(new_size); in lv_realloc_core()
|
/lvgl-latest/src/stdlib/micropython/ |
D | lv_mem_core_micropython.c | 72 void * lv_realloc_core(void * p, size_t new_size) in lv_realloc_core() argument 76 return gc_realloc(p, new_size, true); in lv_realloc_core() 78 return m_realloc(p, new_size); in lv_realloc_core()
|
/lvgl-latest/src/stdlib/clib/ |
D | lv_mem_core_clib.c | 67 void * lv_realloc_core(void * p, size_t new_size) in lv_realloc_core() argument 69 return realloc(p, new_size); in lv_realloc_core()
|
/lvgl-latest/src/stdlib/rtthread/ |
D | lv_mem_core_rtthread.c | 71 void * lv_realloc_core(void * p, size_t new_size) in lv_realloc_core() argument 73 return rt_realloc(p, new_size); in lv_realloc_core()
|
/lvgl-latest/tests/src/test_cases/ |
D | test_array.c | 21 const int32_t new_size = LV_ARRAY_DEFAULT_CAPACITY + 2; in test_array_append_values() local 23 for(int32_t i = 0; i < new_size; i++) { in test_array_append_values() 27 TEST_ASSERT_EQUAL_UINT32(new_size, lv_array_size(&array)); in test_array_append_values()
|
/lvgl-latest/src/misc/cache/ |
D | lv_image_cache.c | 73 void lv_image_cache_resize(uint32_t new_size, bool evict_now) in lv_image_cache_resize() argument 75 lv_cache_set_max_size(img_cache_p, new_size, NULL); in lv_image_cache_resize() 77 lv_cache_reserve(img_cache_p, new_size, NULL); in lv_image_cache_resize()
|
D | lv_image_cache.h | 45 void lv_image_cache_resize(uint32_t new_size, bool evict_now);
|
/lvgl-latest/src/libs/freetype/ |
D | lv_ftsystem.c | 57 long new_size, 213 long new_size, in ft_realloc() argument 219 return lv_realloc(block, (size_t)new_size); in ft_realloc()
|
/lvgl-latest/src/drivers/sdl/ |
D | lv_sdl_window.c | 62 static void * sdl_draw_buf_realloc_aligned(void * ptr, size_t new_size); 437 static void * sdl_draw_buf_realloc_aligned(void * ptr, size_t new_size) in sdl_draw_buf_realloc_aligned() argument 449 return aligned_alloc(BUF_ALIGN, LV_ALIGN_UP(new_size, BUF_ALIGN)); in sdl_draw_buf_realloc_aligned() 451 return _aligned_malloc(LV_ALIGN_UP(new_size, LV_DRAW_BUF_ALIGN), LV_DRAW_BUF_ALIGN); in sdl_draw_buf_realloc_aligned()
|
/lvgl-latest/src/stdlib/builtin/ |
D | lv_mem_core_builtin.c | 157 void * lv_realloc_core(void * p, size_t new_size) in lv_realloc_core() argument 164 void * p_new = lv_tlsf_realloc(state.tlsf, p, new_size); in lv_realloc_core()
|
/lvgl-latest/src/libs/thorvg/rapidjson/ |
D | rapidjson.h | 700 #define RAPIDJSON_REALLOC(ptr, new_size) std::realloc(ptr, new_size)
|
/lvgl-latest/src/themes/default/ |
D | lv_theme_default.c | 656 disp_size_t new_size; in lv_theme_default_init() local 658 if(hor_res <= 320) new_size = DISP_SMALL; in lv_theme_default_init() 659 else if(hor_res < 720) new_size = DISP_MEDIUM; in lv_theme_default_init() 660 else new_size = DISP_LARGE; in lv_theme_default_init() 664 theme->disp_size == new_size && in lv_theme_default_init() 673 theme->disp_size = new_size; in lv_theme_default_init()
|
/lvgl-latest/src/draw/ |
D | lv_draw_buf.c | 471 uint32_t new_size = _calculate_draw_buf_size(w, h, header->cf, stride); in lv_draw_buf_adjust_stride() local 472 if(new_size > src->data_size) { in lv_draw_buf_adjust_stride()
|
/lvgl-latest/docs/details/main-components/ |
D | image.rst | 612 static void my_cache_set_max_size_cb(size_t new_size)
|
/lvgl-latest/src/libs/lodepng/ |
D | lodepng.c | 87 static void * lodepng_realloc(void * ptr, size_t new_size) in lodepng_realloc() argument 90 if(new_size > LODEPNG_MAX_ALLOC) return 0; in lodepng_realloc() 92 return lv_realloc(ptr, new_size); in lodepng_realloc() 102 void * lodepng_realloc(void * ptr, size_t new_size);
|