Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/misc/
Dlv_style.c174 if(style->prop_cnt > 1) lv_mem_free(style->v_p.values_and_props); in lv_style_reset()
242 uint8_t * tmp = style->v_p.values_and_props + style->prop_cnt * sizeof(lv_style_value_t); in lv_style_remove_prop()
247 lv_style_value_t * old_values = (lv_style_value_t *)style->v_p.values_and_props; in lv_style_remove_prop()
252 style->v_p.value1 = i == 0 ? old_values[1] : old_values[0]; in lv_style_remove_prop()
258 style->v_p.values_and_props = new_values_and_props; in lv_style_remove_prop()
428 uint8_t * tmp = style->v_p.values_and_props + style->prop_cnt * sizeof(lv_style_value_t); in lv_style_set_prop_internal()
433 lv_style_value_t * values = (lv_style_value_t *)style->v_p.values_and_props; in lv_style_set_prop_internal()
440 uint8_t * values_and_props = lv_mem_realloc(style->v_p.values_and_props, size); in lv_style_set_prop_internal()
442 style->v_p.values_and_props = values_and_props; in lv_style_set_prop_internal()
462 value_adjustment_helper(prop_and_meta, value, &style->prop1, &style->v_p.value1); in lv_style_set_prop_internal()
[all …]
Dlv_style.h57 .v_p = { .const_props = prop_array }, \
65 .v_p = { .const_props = prop_array }, \
331 } v_p; member
455 const_prop = style->v_p.const_props + i; in lv_style_get_prop_inlined()
470 uint8_t * tmp = style->v_p.values_and_props + style->prop_cnt * sizeof(lv_style_value_t); in lv_style_get_prop_inlined()
481 lv_style_value_t * values = (lv_style_value_t *)style->v_p.values_and_props; in lv_style_get_prop_inlined()
492 … style->prop1)) : style->v_p.value1; in lv_style_get_prop_inlined()