Lines Matching refs:entry
507 _lv_draw_mask_radius_circle_dsc_t * entry = NULL; in lv_draw_mask_radius_init() local
510 if(!entry) entry = &LV_GC_ROOT(_lv_circle_cache[i]); in lv_draw_mask_radius_init()
511 …else if(LV_GC_ROOT(_lv_circle_cache[i]).life < entry->life) entry = &LV_GC_ROOT(_lv_circle_cache[i… in lv_draw_mask_radius_init()
515 if(!entry) { in lv_draw_mask_radius_init()
516 entry = lv_mem_alloc(sizeof(_lv_draw_mask_radius_circle_dsc_t)); in lv_draw_mask_radius_init()
517 LV_ASSERT_MALLOC(entry); in lv_draw_mask_radius_init()
518 lv_memset_00(entry, sizeof(_lv_draw_mask_radius_circle_dsc_t)); in lv_draw_mask_radius_init()
519 entry->life = -1; in lv_draw_mask_radius_init()
522 entry->used_cnt++; in lv_draw_mask_radius_init()
523 entry->life = 0; in lv_draw_mask_radius_init()
524 CIRCLE_CACHE_AGING(entry->life, radius); in lv_draw_mask_radius_init()
527 param->circle = entry; in lv_draw_mask_radius_init()