Searched refs:codeunit (Results 1 – 4 of 4) sorted by relevance
/external/vboot_reference/cgpt/ |
D | cgpt_common.c | 455 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/ |
D | utf16tst.c | 71 …static uint16_t codeunit[]={0x0000,0xe065,0x20ac,0xd7ff,0xd800,0xd841,0xd905,0xdbff,0xdc00,0xdc02,… in TestCodeUnitValues() local 74 for(i=0; i<UPRV_LENGTHOF(codeunit); i++){ in TestCodeUnitValues() 75 UChar c=codeunit[i]; in TestCodeUnitValues()
|
D | utf8tst.c | 124 …static const uint8_t codeunit[]={0x00, 0x65, 0x7e, 0x7f, 0xc2, 0xc4, 0xf0, 0xf4, 0x80, 0x81, 0xbc,… in TestCodeUnitValues() local 127 for(i=0; i<UPRV_LENGTHOF(codeunit); i++){ in TestCodeUnitValues() 128 uint8_t c=codeunit[i]; in TestCodeUnitValues()
|
D | cucdtst.c | 1385 …const UChar codeunit[]={0x0000,0xe065,0x20ac,0xd7ff,0xd800,0xd841,0xd905,0xdbff,0xdc00,0xdc02,0xdd… in TestCodeUnit() local 1389 for(i=0; i<UPRV_LENGTHOF(codeunit); i++){ in TestCodeUnit() 1390 UChar c=codeunit[i]; in TestCodeUnit()
|