Lines Matching refs:len
434 void _lv_txt_cut(char * txt, uint32_t pos, uint32_t len) in _lv_txt_cut() argument
441 len = _lv_txt_encoded_get_byte_id(&txt[pos], len); in _lv_txt_cut()
445 for(i = pos; i <= old_len - len; i++) { in _lv_txt_cut()
446 txt[i] = txt[i + len]; in _lv_txt_cut()
455 uint32_t len = lv_vsnprintf(NULL, 0, fmt, ap_copy); in _lv_txt_set_text_vfmt() local
461 char * raw_txt = lv_mem_buf_get(len + 1); in _lv_txt_set_text_vfmt()
467 lv_vsnprintf(raw_txt, len + 1, fmt, ap); in _lv_txt_set_text_vfmt()
480 text = lv_mem_alloc(len + 1); in _lv_txt_set_text_vfmt()
485 text[len] = 0; /*Ensure NULL termination*/ in _lv_txt_set_text_vfmt()
487 lv_vsnprintf(text, len + 1, fmt, ap); in _lv_txt_set_text_vfmt()
740 uint32_t len = 0; in lv_txt_utf8_get_length() local
745 len++; in lv_txt_utf8_get_length()
748 return len; in lv_txt_utf8_get_length()