Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/misc/
Dlv_txt.c702 uint32_t byte_cnt = 0; in lv_txt_utf8_get_byte_id() local
703 for(i = 0; i < utf8_id && txt[byte_cnt] != '\0'; i++) { in lv_txt_utf8_get_byte_id()
704 uint8_t c_size = _lv_txt_encoded_size(&txt[byte_cnt]); in lv_txt_utf8_get_byte_id()
706 byte_cnt += c_size ? c_size : 1; in lv_txt_utf8_get_byte_id()
709 return byte_cnt; in lv_txt_utf8_get_byte_id()