39 uint32_t free_biggest_size;
52typedef lv_mem_buf_t lv_mem_buf_arr_t[LV_MEM_BUF_MAX_NUM];
124#if LV_MEMCPY_MEMSET_STD
132static inline void * lv_memcpy(
void * dst,
const void * src,
size_t len)
134 return memcpy(dst, src, len);
143static inline void * lv_memcpy_small(
void * dst,
const void * src,
size_t len)
145 return memcpy(dst, src, len);
154static inline void lv_memset(
void * dst, uint8_t v,
size_t len)
164static inline void lv_memset_00(
void * dst,
size_t len)
166 memset(dst, 0x00, len);
174static inline void lv_memset_ff(
void * dst,
size_t len)
176 memset(dst, 0xFF, len);
186LV_ATTRIBUTE_FAST_MEM
void * lv_memcpy(
void * dst,
const void * src,
size_t len);
194LV_ATTRIBUTE_FAST_MEM
static inline void * lv_memcpy_small(
void * dst,
const void * src,
size_t len)
196 uint8_t * d8 = (uint8_t *)dst;
197 const uint8_t * s8 = (
const uint8_t *)src;
215LV_ATTRIBUTE_FAST_MEM
void lv_memset(
void * dst, uint8_t v,
size_t len);
222LV_ATTRIBUTE_FAST_MEM
void lv_memset_00(
void * dst,
size_t len);
229LV_ATTRIBUTE_FAST_MEM
void lv_memset_ff(
void * dst,
size_t len);
void * lv_mem_alloc(size_t size)
void * lv_mem_buf_get(uint32_t size)
void * lv_mem_realloc(void *data_p, size_t new_size)
void lv_mem_monitor(lv_mem_monitor_t *mon_p)
void lv_mem_buf_free_all(void)
void lv_mem_buf_release(void *p)
lv_res_t lv_mem_test(void)
void lv_mem_free(void *data)
uint32_t free_size
Definition lv_mem.h:38
uint8_t frag_pct
Definition lv_mem.h:43
uint8_t used_pct
Definition lv_mem.h:42
uint32_t max_used
Definition lv_mem.h:41
uint32_t total_size
Definition lv_mem.h:36