Searched refs:req_size (Results 1 – 1 of 1) sorted by relevance
163 size_t req_size = ALIGN(sizeof(lv_grad_t)) + ALIGN(map_size * sizeof(lv_color_t)); in allocate_item() local165 req_size += ALIGN(size * sizeof(lv_color32_t)); in allocate_item()167 req_size += ALIGN(w * sizeof(lv_scolor24_t)); in allocate_item()173 if(req_size + act_size < grad_cache_size) { in allocate_item()179 if(req_size <= grad_cache_size) { in allocate_item()180 while(act_size + req_size > grad_cache_size) { in allocate_item()191 item = lv_mem_alloc(req_size); in allocate_item()225 grad_cache_end += req_size; in allocate_item()