Home
last modified time | relevance | path

Searched refs:codeunit (Results 1 – 7 of 7) 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.c72 …static uint16_t codeunit[]={0x0000,0xe065,0x20ac,0xd7ff,0xd800,0xd841,0xd905,0xdbff,0xdc00,0xdc02,… in TestCodeUnitValues() local
75 for(i=0; i<UPRV_LENGTHOF(codeunit); i++){ in TestCodeUnitValues()
76 UChar c=codeunit[i]; in TestCodeUnitValues()
Dutf8tst.c128 …static const uint8_t codeunit[]={0x00, 0x65, 0x7e, 0x7f, 0xc2, 0xc4, 0xf0, 0xf4, 0x80, 0x81, 0xbc,… in TestCodeUnitValues() local
131 for(i=0; i<UPRV_LENGTHOF(codeunit); i++){ in TestCodeUnitValues()
132 uint8_t c=codeunit[i]; in TestCodeUnitValues()
Dcucdtst.c1405 …const UChar codeunit[]={0x0000,0xe065,0x20ac,0xd7ff,0xd800,0xd841,0xd905,0xdbff,0xdc00,0xdc02,0xdd… in TestCodeUnit() local
1409 for(i=0; i<UPRV_LENGTHOF(codeunit); i++){ in TestCodeUnit()
1410 UChar c=codeunit[i]; in TestCodeUnit()
/external/cronet/third_party/icu/source/test/cintltst/
Dutf16tst.c72 …static uint16_t codeunit[]={0x0000,0xe065,0x20ac,0xd7ff,0xd800,0xd841,0xd905,0xdbff,0xdc00,0xdc02,… in TestCodeUnitValues() local
75 for(i=0; i<UPRV_LENGTHOF(codeunit); i++){ in TestCodeUnitValues()
76 UChar c=codeunit[i]; in TestCodeUnitValues()
Dutf8tst.c128 …static const uint8_t codeunit[]={0x00, 0x65, 0x7e, 0x7f, 0xc2, 0xc4, 0xf0, 0xf4, 0x80, 0x81, 0xbc,… in TestCodeUnitValues() local
131 for(i=0; i<UPRV_LENGTHOF(codeunit); i++){ in TestCodeUnitValues()
132 uint8_t c=codeunit[i]; in TestCodeUnitValues()
Dcucdtst.c1405 …const UChar codeunit[]={0x0000,0xe065,0x20ac,0xd7ff,0xd800,0xd841,0xd905,0xdbff,0xdc00,0xdc02,0xdd… in TestCodeUnit() local
1409 for(i=0; i<UPRV_LENGTHOF(codeunit); i++){ in TestCodeUnit()
1410 UChar c=codeunit[i]; in TestCodeUnit()