Home
last modified time | relevance | path

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

/lvgl-latest/src/misc/
Dlv_text.c463 size_t old_len = lv_strlen(txt_buf); in lv_text_ins() local
467 size_t new_len = ins_len + old_len; in lv_text_ins()
484 size_t old_len = lv_strlen(txt); in lv_text_cut() local
491 for(i = pos; i <= old_len - len; i++) { in lv_text_cut()
/lvgl-latest/src/widgets/dropdown/
Dlv_dropdown.c272 size_t old_len = (dropdown->options == NULL) ? 0 : lv_strlen(dropdown->options); in lv_dropdown_add_option() local
279 size_t new_len = ins_len + old_len + 2; /*+2 for terminating NULL and possible \n*/ in lv_dropdown_add_option()
284 dropdown->options[old_len] = '\0'; in lv_dropdown_add_option()
287 uint32_t insert_pos = old_len; in lv_dropdown_add_option()
/lvgl-latest/src/widgets/label/
Dlv_label.c672 size_t old_len = lv_strlen(label->text); in lv_label_ins_text() local
674 size_t new_len = ins_len + old_len; in lv_label_ins_text()