Home
last modified time | relevance | path

Searched refs:s16idx (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()
453 s16idx < maxinput && utf16[s16idx] && maxoutput; in UTF16ToUTF8()
454 s16idx++) { in UTF16ToUTF8()
455 uint16_t codeunit = le16toh(utf16[s16idx]); in UTF16ToUTF8()
530 size_t s16idx, s8idx; in UTF8ToUTF16() local
541 for (s8idx = s16idx = 0; in UTF8ToUTF16()
602 utf16[s16idx++] = code_point; in UTF8ToUTF16()
606 utf16[s16idx++] = 0xD800 | ((code_point >> 10) - 0x0040); in UTF8ToUTF16()
607 utf16[s16idx++] = 0xDC00 | (code_point & 0x03FF); in UTF8ToUTF16()
[all …]