Searched refs:byte_id (Results 1 – 2 of 2) sorted by relevance
614 uint32_t byte_id = _lv_txt_encoded_get_byte_id(txt, char_id); in lv_label_get_letter_pos() local619 if(byte_id < new_line_start || txt[new_line_start] == '\0') in lv_label_get_letter_pos()627 if(byte_id > 0) { in lv_label_get_letter_pos()628 if((txt[byte_id - 1] == '\n' || txt[byte_id - 1] == '\r') && txt[byte_id] == '\0') { in lv_label_get_letter_pos()630 line_start = byte_id; in lv_label_get_letter_pos()639 if(new_line_start == byte_id) { in lv_label_get_letter_pos()640 visual_byte_pos = byte_id - line_start; in lv_label_get_letter_pos()644 uint32_t line_char_id = _lv_txt_encoded_get_char_id(&txt[line_start], byte_id - line_start); in lv_label_get_letter_pos()656 visual_byte_pos = byte_id - line_start; in lv_label_get_letter_pos()1398 uint32_t byte_id = _lv_txt_encoded_get_byte_id(ext->text, letter_id); in lv_label_refr_text() local[all …]
34 static uint32_t lv_txt_utf8_get_char_id(const char * txt, uint32_t byte_id);43 static uint32_t lv_txt_iso8859_1_get_char_id(const char * txt, uint32_t byte_id);691 static uint32_t lv_txt_utf8_get_char_id(const char * txt, uint32_t byte_id) in lv_txt_utf8_get_char_id() argument696 while(i < byte_id) { in lv_txt_utf8_get_char_id()816 static uint32_t lv_txt_iso8859_1_get_char_id(const char * txt, uint32_t byte_id) in lv_txt_iso8859_1_get_char_id() argument819 return byte_id; /*In Non encoded no difference*/ in lv_txt_iso8859_1_get_char_id()