Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/misc/
Dlv_txt.c418 size_t ins_len = strlen(ins_txt); in _lv_txt_ins() local
419 if(ins_len == 0) return; in _lv_txt_ins()
421 size_t new_len = ins_len + old_len; in _lv_txt_ins()
426 for(i = new_len; i >= pos + ins_len; i--) { in _lv_txt_ins()
427 txt_buf[i] = txt_buf[i - ins_len]; in _lv_txt_ins()
431 lv_memcpy_small(txt_buf + pos, ins_txt, ins_len); in _lv_txt_ins()
/lvgl-3.7.0/src/widgets/
Dlv_dropdown.c212 size_t ins_len = strlen(option) + 1; in lv_dropdown_add_option() local
214 size_t ins_len = _lv_txt_ap_calc_bytes_cnt(option) + 1; in lv_dropdown_add_option() local
217 size_t new_len = ins_len + old_len + 2; /*+2 for terminating NULL and possible \n*/ in lv_dropdown_add_option()
241 char * ins_buf = lv_mem_buf_get(ins_len + 2); /*+ 2 for terminating NULL and possible \n*/ in lv_dropdown_add_option()
Dlv_label.c652 size_t ins_len = strlen(txt); in lv_label_ins_text() local
653 size_t new_len = ins_len + old_len; in lv_label_ins_text()