Home
last modified time | relevance | path

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

/external/vboot_reference/cgpt/
Dcgpt_common.c455 uint16_t codeunit = le16toh(utf16[s16idx]); in UTF16ToUTF8() local
458 if (codeunit >= 0xD800 && codeunit <= 0xDBFF) { in UTF16ToUTF8()
461 code_point = (codeunit & 0x03FF) + 0x0040; in UTF16ToUTF8()
464 code_point = codeunit; in UTF16ToUTF8()
468 if (codeunit >= 0xDC00 && codeunit <= 0xDFFF) { in UTF16ToUTF8()
469 code_point = (code_point << 10) | (codeunit & 0x03FF); in UTF16ToUTF8()
/external/icu/icu4c/source/test/cintltst/
Dutf16tst.c58 …static uint16_t codeunit[]={0x0000,0xe065,0x20ac,0xd7ff,0xd800,0xd841,0xd905,0xdbff,0xdc00,0xdc02,… in TestCodeUnitValues() local
61 for(i=0; i<UPRV_LENGTHOF(codeunit); i++){ in TestCodeUnitValues()
62 UChar c=codeunit[i]; in TestCodeUnitValues()
Dutf8tst.c101 …static const uint8_t codeunit[]={0x00, 0x65, 0x7e, 0x7f, 0xc0, 0xc4, 0xf0, 0xfd, 0x80, 0x81, 0xbc,… in TestCodeUnitValues() local
104 for(i=0; i<UPRV_LENGTHOF(codeunit); i++){ in TestCodeUnitValues()
105 uint8_t c=codeunit[i]; in TestCodeUnitValues()
Dcucdtst.c1397 …const UChar codeunit[]={0x0000,0xe065,0x20ac,0xd7ff,0xd800,0xd841,0xd905,0xdbff,0xdc00,0xdc02,0xdd… in TestCodeUnit() local
1401 for(i=0; i<UPRV_LENGTHOF(codeunit); i++){ in TestCodeUnit()
1402 UChar c=codeunit[i]; in TestCodeUnit()