Lines Matching refs:letter
181 uint32_t letter = 0; /*Letter at i*/ in lv_txt_get_next_word() local
189 letter = _lv_txt_encoded_next(txt, &i_next); in lv_txt_get_next_word()
199 if(_lv_txt_is_cmd(cmd_state, letter) != false) { in lv_txt_get_next_word()
202 letter = letter_next; in lv_txt_get_next_word()
207 letter_w = lv_font_get_glyph_width(font, letter, letter_next); in lv_txt_get_next_word()
222 if(letter == '\n' || letter == '\r' || _lv_txt_is_break_char(letter)) { in lv_txt_get_next_word()
235 letter = letter_next; in lv_txt_get_next_word()
240 if(word_len == 0 || (letter == '\r' && letter_next == '\n')) i = i_next; in lv_txt_get_next_word()
330 uint32_t letter = _lv_txt_encoded_next(txt, &i); in _lv_txt_get_next_line() local
332 line_w = lv_font_get_glyph_width(font, letter, '\0'); in _lv_txt_get_next_line()
356 uint32_t letter; in lv_txt_get_width() local
358 _lv_txt_encoded_letter_next_2(txt, &letter, &letter_next, &i); in lv_txt_get_width()
361 if(_lv_txt_is_cmd(&cmd_state, letter) != false) { in lv_txt_get_width()
366 lv_coord_t char_width = lv_font_get_glyph_width(font, letter, letter_next); in lv_txt_get_width()
493 void _lv_txt_encoded_letter_next_2(const char * txt, uint32_t * letter, uint32_t * letter_next, uin… in _lv_txt_encoded_letter_next_2() argument
495 *letter = _lv_txt_encoded_next(txt, ofs); in _lv_txt_encoded_letter_next_2()
496 *letter_next = *letter != '\0' ? _lv_txt_encoded_next(&txt[*ofs], NULL) : 0; in _lv_txt_encoded_letter_next_2()
687 uint32_t letter = _lv_txt_encoded_next(txt, &i_tmp); /*Character found, get it*/ in lv_txt_utf8_prev() local
689 return letter; in lv_txt_utf8_prev()
803 uint8_t letter = txt[*i]; in lv_txt_iso8859_1_next() local
805 return letter; in lv_txt_iso8859_1_next()
819 uint8_t letter = txt[*i]; in lv_txt_iso8859_1_prev() local
821 return letter; in lv_txt_iso8859_1_prev()