Home
last modified time | relevance | path

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

/lvgl-3.5.0/src/misc/
Dlv_style.c195 size_t required_size = (last_custom_prop_id + 1 - _LV_STYLE_LAST_BUILT_IN_PROP); in lv_style_register_prop() local
196 if(_lv_style_custom_prop_flag_lookup_table_size < required_size) { in lv_style_register_prop()
198 required_size = (required_size + 31) & ~31; in lv_style_register_prop()
199 LV_ASSERT_MSG(required_size > 0, "required size has become 0?"); in lv_style_register_prop()
201 uint8_t * new_p = lv_mem_realloc(old_p, required_size * sizeof(uint8_t)); in lv_style_register_prop()
207 _lv_style_custom_prop_flag_lookup_table_size = required_size; in lv_style_register_prop()