Lines Matching refs:uint32_t
33 static uint32_t lv_text_unicode_to_utf8(uint32_t letter_uni);
34 static uint32_t lv_text_utf8_conv_wc(uint32_t c);
35 static uint32_t lv_text_utf8_next(const char * txt, uint32_t * i);
36 static uint32_t lv_text_utf8_prev(const char * txt, uint32_t * i_start);
37 static uint32_t lv_text_utf8_get_byte_id(const char * txt, uint32_t utf8_id);
38 static uint32_t lv_text_utf8_get_char_id(const char * txt, uint32_t byte_id);
39 static uint32_t lv_text_utf8_get_length(const char * txt);
42 static uint32_t lv_text_unicode_to_iso8859_1(uint32_t letter_uni);
43 static uint32_t lv_text_iso8859_1_conv_wc(uint32_t c);
44 static uint32_t lv_text_iso8859_1_next(const char * txt, uint32_t * i);
45 static uint32_t lv_text_iso8859_1_prev(const char * txt, uint32_t * i_start);
46 static uint32_t lv_text_iso8859_1_get_byte_id(const char * txt, uint32_t utf8_id);
47 static uint32_t lv_text_iso8859_1_get_char_id(const char * txt, uint32_t byte_id);
48 static uint32_t lv_text_iso8859_1_get_length(const char * txt);
59 uint32_t (*const lv_text_unicode_to_encoded)(uint32_t) = lv_text_unicode_to_utf8;
60 uint32_t (*const lv_text_encoded_conv_wc)(uint32_t) = lv_text_utf8_conv_wc;
61 uint32_t (*const lv_text_encoded_next)(const char *, uint32_t *) = lv_text_utf8_next;
62 uint32_t (*const lv_text_encoded_prev)(const char *, uint32_t *) = lv_text_utf8_prev;
63 … uint32_t (*const lv_text_encoded_get_byte_id)(const char *, uint32_t) = lv_text_utf8_get_byte_id;
64 … uint32_t (*const lv_text_encoded_get_char_id)(const char *, uint32_t) = lv_text_utf8_get_char_id;
65 uint32_t (*const lv_text_get_encoded_length)(const char *) = lv_text_utf8_get_length;
68 …uint32_t (*const lv_text_unicode_to_encoded)(uint32_t) = lv_text_unicode_to_iso8859…
69 … uint32_t (*const lv_text_encoded_conv_wc)(uint32_t) = lv_text_iso8859_1_conv_wc;
70 uint32_t (*const lv_text_encoded_next)(const char *, uint32_t *) = lv_text_iso8859_1_next;
71 uint32_t (*const lv_text_encoded_prev)(const char *, uint32_t *) = lv_text_iso8859_1_prev;
72 …uint32_t (*const lv_text_encoded_get_byte_id)(const char *, uint32_t) = lv_text_iso8859_1_get_byte…
73 …uint32_t (*const lv_text_encoded_get_char_id)(const char *, uint32_t) = lv_text_iso8859_1_get_…
74 …uint32_t (*const lv_text_get_encoded_length)(const char *) = lv_text_iso8859_1_get_leng…
103 uint32_t line_start = 0; in lv_text_get_size()
104 uint32_t new_line_start = 0; in lv_text_get_size()
139 bool lv_text_is_cmd(lv_text_cmd_state_t * state, uint32_t c) in lv_text_is_cmd()
143 if(c == (uint32_t)LV_TXT_COLOR_CMD[0]) { in lv_text_is_cmd()
201 static uint32_t lv_text_get_next_word(const char * txt, const lv_font_t * font, in lv_text_get_next_word()
203 lv_text_flag_t flag, uint32_t * word_w_ptr, in lv_text_get_next_word()
211 uint32_t i = 0, i_next = 0, i_next_next = 0; /*Iterating index into txt*/ in lv_text_get_next_word()
212 uint32_t letter = 0; /*Letter at i*/ in lv_text_get_next_word()
213 uint32_t letter_next = 0; /*Letter at i_next*/ in lv_text_get_next_word()
216 uint32_t word_len = 0; /*Number of characters in the traversed word*/ in lv_text_get_next_word()
217 uint32_t break_index = NO_BREAK_FOUND; /*only used for "long" words*/ in lv_text_get_next_word()
218 uint32_t break_letter_count = 0; /*Number of characters up to the long word break point*/ in lv_text_get_next_word()
321 uint32_t lv_text_get_next_line(const char * txt, uint32_t len, in lv_text_get_next_line()
336 uint32_t i; in lv_text_get_next_line()
348 uint32_t i = 0; /*Iterating index into txt*/ in lv_text_get_next_line()
354 uint32_t word_w = 0; in lv_text_get_next_line()
355 …uint32_t advance = lv_text_get_next_word(&txt[i], font, letter_space, max_width, word_flag, &word_… in lv_text_get_next_line()
376 uint32_t letter = lv_text_encoded_next(txt, &i); in lv_text_get_next_line()
389 int32_t lv_text_get_width(const char * txt, uint32_t length, const lv_font_t * font, int32_t letter… in lv_text_get_width()
395 uint32_t i = 0; in lv_text_get_width()
400 uint32_t letter; in lv_text_get_width()
401 uint32_t letter_next; in lv_text_get_width()
420 int32_t lv_text_get_width_with_flags(const char * txt, uint32_t length, const lv_font_t * font, int… in lv_text_get_width_with_flags()
427 uint32_t i = 0; in lv_text_get_width_with_flags()
433 uint32_t letter; in lv_text_get_width_with_flags()
434 uint32_t letter_next; in lv_text_get_width_with_flags()
459 void lv_text_ins(char * txt_buf, uint32_t pos, const char * ins_txt) in lv_text_ins()
480 void lv_text_cut(char * txt, uint32_t pos, uint32_t len) in lv_text_cut()
490 uint32_t i; in lv_text_cut()
501 uint32_t len = lv_vsnprintf(NULL, 0, fmt, ap_copy); in lv_text_set_text_vfmt()
538 …id lv_text_encoded_letter_next_2(const char * txt, uint32_t * letter, uint32_t * letter_next, uint… in lv_text_encoded_letter_next_2()
572 static uint32_t lv_text_unicode_to_utf8(uint32_t letter_uni) in lv_text_unicode_to_utf8()
599 uint32_t * res_p = (uint32_t *)bytes; in lv_text_unicode_to_utf8()
608 static uint32_t lv_text_utf8_conv_wc(uint32_t c) in lv_text_utf8_conv_wc()
613 uint32_t swapped; in lv_text_utf8_conv_wc()
636 static uint32_t lv_text_utf8_next(const char * txt, uint32_t * i) in lv_text_utf8_next()
646 uint32_t result = 0; in lv_text_utf8_next()
649 uint32_t i_tmp = 0; in lv_text_utf8_next()
661 result = (uint32_t)(txt[*i] & 0x1F) << 6; in lv_text_utf8_next()
669 result = (uint32_t)(txt[*i] & 0x0F) << 12; in lv_text_utf8_next()
673 result += (uint32_t)(txt[*i] & 0x3F) << 6; in lv_text_utf8_next()
682 result = (uint32_t)(txt[*i] & 0x07) << 18; in lv_text_utf8_next()
686 result += (uint32_t)(txt[*i] & 0x3F) << 12; in lv_text_utf8_next()
690 result += (uint32_t)(txt[*i] & 0x3F) << 6; in lv_text_utf8_next()
711 static uint32_t lv_text_utf8_prev(const char * txt, uint32_t * i) in lv_text_utf8_prev()
731 uint32_t i_tmp = *i; in lv_text_utf8_prev()
732 uint32_t letter = lv_text_encoded_next(txt, &i_tmp); /*Character found, get it*/ in lv_text_utf8_prev()
744 static uint32_t lv_text_utf8_get_byte_id(const char * txt, uint32_t utf8_id) in lv_text_utf8_get_byte_id()
746 uint32_t i; in lv_text_utf8_get_byte_id()
747 uint32_t byte_cnt = 0; in lv_text_utf8_get_byte_id()
764 static uint32_t lv_text_utf8_get_char_id(const char * txt, uint32_t byte_id) in lv_text_utf8_get_char_id()
766 uint32_t i = 0; in lv_text_utf8_get_char_id()
767 uint32_t char_cnt = 0; in lv_text_utf8_get_char_id()
783 static uint32_t lv_text_utf8_get_length(const char * txt) in lv_text_utf8_get_length()
785 uint32_t len = 0; in lv_text_utf8_get_length()
786 uint32_t i = 0; in lv_text_utf8_get_length()
817 static uint32_t lv_text_unicode_to_iso8859_1(uint32_t letter_uni) in lv_text_unicode_to_iso8859_1()
831 static uint32_t lv_text_iso8859_1_conv_wc(uint32_t c) in lv_text_iso8859_1_conv_wc()
844 static uint32_t lv_text_iso8859_1_next(const char * txt, uint32_t * i) in lv_text_iso8859_1_next()
859 static uint32_t lv_text_iso8859_1_prev(const char * txt, uint32_t * i) in lv_text_iso8859_1_prev()
876 static uint32_t lv_text_iso8859_1_get_byte_id(const char * txt, uint32_t utf8_id) in lv_text_iso8859_1_get_byte_id()
889 static uint32_t lv_text_iso8859_1_get_char_id(const char * txt, uint32_t byte_id) in lv_text_iso8859_1_get_char_id()
901 static uint32_t lv_text_iso8859_1_get_length(const char * txt) in lv_text_iso8859_1_get_length()