Home
last modified time | relevance | path

Searched refs:i_guess (Results 1 – 1 of 1) sorted by relevance

/lvgl-2.7.6/src/lv_misc/
Dlv_mem.c502 int8_t i_guess = -1; in _lv_mem_buf_get() local
509 else if(i_guess < 0) { in _lv_mem_buf_get()
510 i_guess = i; in _lv_mem_buf_get()
513 else if(LV_GC_ROOT(_lv_mem_buf[i]).size < LV_GC_ROOT(_lv_mem_buf[i_guess]).size) { in _lv_mem_buf_get()
514 i_guess = i; in _lv_mem_buf_get()
519 if(i_guess >= 0) { in _lv_mem_buf_get()
520 LV_GC_ROOT(_lv_mem_buf[i_guess]).used = 1; in _lv_mem_buf_get()
521 return LV_GC_ROOT(_lv_mem_buf[i_guess]).p; in _lv_mem_buf_get()