Home
last modified time | relevance | path

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

/AliOS-Things-master/components/littlevgl/src/lv_misc/
A Dlv_txt.c28 static uint32_t lv_txt_unicode_to_utf8(uint32_t letter_uni);
379 if(letter_uni < 128) return letter_uni; in lv_txt_unicode_to_utf8()
382 if(letter_uni < 0x0800) { in lv_txt_unicode_to_utf8()
383 bytes[0] = ((letter_uni >> 6) & 0x1F) | 0xC0; in lv_txt_unicode_to_utf8()
384 bytes[1] = ((letter_uni >> 0) & 0x3F) | 0x80; in lv_txt_unicode_to_utf8()
387 } else if(letter_uni < 0x010000) { in lv_txt_unicode_to_utf8()
389 bytes[1] = ((letter_uni >> 6) & 0x3F) | 0x80; in lv_txt_unicode_to_utf8()
390 bytes[2] = ((letter_uni >> 0) & 0x3F) | 0x80; in lv_txt_unicode_to_utf8()
392 } else if(letter_uni < 0x110000) { in lv_txt_unicode_to_utf8()
614 if(letter_uni < 128) in lv_txt_unicode_to_iso8859_1()
[all …]

Completed in 3 milliseconds