Searched refs:i_guess (Results 1 – 1 of 1) sorted by relevance
282 int8_t i_guess = -1; in lv_mem_buf_get() local289 else if(i_guess < 0) { in lv_mem_buf_get()290 i_guess = i; in lv_mem_buf_get()293 else if(LV_GC_ROOT(lv_mem_buf[i]).size < LV_GC_ROOT(lv_mem_buf[i_guess]).size) { in lv_mem_buf_get()294 i_guess = i; in lv_mem_buf_get()299 if(i_guess >= 0) { in lv_mem_buf_get()300 LV_GC_ROOT(lv_mem_buf[i_guess]).used = 1; in lv_mem_buf_get()301 MEM_TRACE("returning already allocated buffer (buffer id: %d, address: %p)", i_guess, in lv_mem_buf_get()302 LV_GC_ROOT(lv_mem_buf[i_guess]).p); in lv_mem_buf_get()303 return LV_GC_ROOT(lv_mem_buf[i_guess]).p; in lv_mem_buf_get()