Searched refs:alloc (Results 1 – 1 of 1) sorted by relevance
169 void * alloc = NULL; in lv_mem_alloc() local182 alloc = ent_alloc(e, size); in lv_mem_alloc()185 } while(e != NULL && alloc == NULL); in lv_mem_alloc()190 alloc = LV_MEM_CUSTOM_ALLOC(size); in lv_mem_alloc()193 alloc = LV_MEM_CUSTOM_ALLOC(size + sizeof(lv_mem_header_t)); in lv_mem_alloc()194 if(alloc != NULL) { in lv_mem_alloc()195 ((lv_mem_ent_t *)alloc)->header.s.d_size = size; in lv_mem_alloc()196 ((lv_mem_ent_t *)alloc)->header.s.used = 1; in lv_mem_alloc()198 alloc = &((lv_mem_ent_t *)alloc)->first_data; in lv_mem_alloc()204 if(alloc != NULL) _lv_memset(alloc, 0xaa, size); in lv_mem_alloc()[all …]