Searched refs:letter_uni (Results 1 – 2 of 2) sorted by relevance
32 static uint32_t lv_txt_unicode_to_utf8(uint32_t letter_uni);41 static uint32_t lv_txt_unicode_to_iso8859_1(uint32_t letter_uni);527 static uint32_t lv_txt_unicode_to_utf8(uint32_t letter_uni) in lv_txt_unicode_to_utf8() argument529 if(letter_uni < 128) return letter_uni; in lv_txt_unicode_to_utf8()532 if(letter_uni < 0x0800) { in lv_txt_unicode_to_utf8()533 bytes[0] = ((letter_uni >> 6) & 0x1F) | 0xC0; in lv_txt_unicode_to_utf8()534 bytes[1] = ((letter_uni >> 0) & 0x3F) | 0x80; in lv_txt_unicode_to_utf8()538 else if(letter_uni < 0x010000) { in lv_txt_unicode_to_utf8()539 bytes[0] = ((letter_uni >> 12) & 0x0F) | 0xE0; in lv_txt_unicode_to_utf8()540 bytes[1] = ((letter_uni >> 6) & 0x3F) | 0x80; in lv_txt_unicode_to_utf8()[all …]
484 - fix(txt): return 0 if letter_uni is out of range [`3224`](https://github.com/lvgl/lvgl/pull/3224)