Searched refs:new_classes (Results 1 – 1 of 1) sorted by relevance
206 lv_style_t ** new_classes; in _lv_style_list_add_style() local207 if(list->style_cnt == 0) new_classes = lv_mem_alloc(sizeof(lv_style_t *)); in _lv_style_list_add_style()208 … else new_classes = lv_mem_realloc(list->style_list, sizeof(lv_style_t *) * (list->style_cnt + 1)); in _lv_style_list_add_style()209 LV_ASSERT_MEM(new_classes); in _lv_style_list_add_style()210 if(new_classes == NULL) { in _lv_style_list_add_style()221 new_classes[i] = new_classes[i - 1]; in _lv_style_list_add_style()224 new_classes[first_style] = style; in _lv_style_list_add_style()226 list->style_list = new_classes; in _lv_style_list_add_style()260 lv_style_t ** new_classes = lv_mem_alloc(sizeof(lv_style_t *) * (list->style_cnt - 1)); in _lv_style_list_remove_style() local261 LV_ASSERT_MEM(new_classes); in _lv_style_list_remove_style()[all …]