/external/vboot_reference/cgpt/ |
cgpt_common.c | 455 uint16_t codeunit = le16toh(utf16[s16idx]); local 458 if (codeunit >= 0xD800 && codeunit <= 0xDBFF) { 461 code_point = (codeunit & 0x03FF) + 0x0040; 464 code_point = codeunit; 468 if (codeunit >= 0xDC00 && codeunit <= 0xDFFF) { 469 code_point = (code_point << 10) | (codeunit & 0x03FF); [all...] |
/external/icu/icu4c/source/test/cintltst/ |
utf16tst.c | 56 static uint16_t codeunit[]={0x0000,0xe065,0x20ac,0xd7ff,0xd800,0xd841,0xd905,0xdbff,0xdc00,0xdc02,0xddee,0xdfff,0}; local 59 for(i=0; i<sizeof(codeunit)/sizeof(codeunit[0]); i++){ 60 UChar c=codeunit[i];
|
utf8tst.c | 99 static const uint8_t codeunit[]={0x00, 0x65, 0x7e, 0x7f, 0xc0, 0xc4, 0xf0, 0xfd, 0x80, 0x81, 0xbc, 0xbe,}; local 102 for(i=0; i<UPRV_LENGTHOF(codeunit); i++){ 103 uint8_t c=codeunit[i]; [all...] |
cucdtst.c | 1395 const UChar codeunit[]={0x0000,0xe065,0x20ac,0xd7ff,0xd800,0xd841,0xd905,0xdbff,0xdc00,0xdc02,0xddee,0xdfff,0}; local [all...] |