Home
last modified time | relevance | path

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

/external/vboot_reference/cgpt/
Dcgpt_common.c442 size_t s16idx, s8idx; in UTF16ToUTF8() local
452 for (s16idx = s8idx = 0; in UTF16ToUTF8()
484 utf8[s8idx++] = code_point & 0x7F; in UTF16ToUTF8()
487 utf8[s8idx++] = 0xC0 | (code_point >> 6); in UTF16ToUTF8()
488 utf8[s8idx++] = 0x80 | (code_point & 0x3F); in UTF16ToUTF8()
491 utf8[s8idx++] = 0xE0 | (code_point >> 12); in UTF16ToUTF8()
492 utf8[s8idx++] = 0x80 | ((code_point >> 6) & 0x3F); in UTF16ToUTF8()
493 utf8[s8idx++] = 0x80 | (code_point & 0x3F); in UTF16ToUTF8()
496 utf8[s8idx++] = 0xF0 | (code_point >> 18); in UTF16ToUTF8()
497 utf8[s8idx++] = 0x80 | ((code_point >> 12) & 0x3F); in UTF16ToUTF8()
[all …]