Searched refs:alloc (Results 1 – 2 of 2) sorted by relevance
134 void * alloc = lv_tlsf_malloc(tlsf, size); in lv_mem_alloc() local136 void * alloc = LV_MEM_CUSTOM_ALLOC(size); in lv_mem_alloc() local139 if(alloc == NULL) { in lv_mem_alloc()151 lv_memset(alloc, 0xaa, size); in lv_mem_alloc()155 if(alloc) { in lv_mem_alloc()160 MEM_TRACE("allocated at %p", alloc); in lv_mem_alloc()162 return alloc; in lv_mem_alloc()
40 … * buf, uint32_t buff_size);` for this case. It's caller's responsibility to alloc/free the memory.