Home
last modified time | relevance | path

Searched refs:leadByte (Results 1 – 9 of 9) sorted by relevance

/external/chromium/base/third_party/icu/
Dicu_utf.h111 #define CBU8_COUNT_TRAIL_BYTES(leadByte) (base_icu::utf8_countTrailBytes[(uint8)leadByte]) argument
117 #define CBU8_MASK_LEAD_BYTE(leadByte, countTrailBytes) ((leadByte)&=(1<<(6-(countTrailBytes)))-1) argument
/external/webkit/Source/JavaScriptGlue/icu/unicode/
Dutf8.h63 #define U8_COUNT_TRAIL_BYTES(leadByte) (utf8_countTrailBytes[(uint8_t)leadByte]) argument
69 #define U8_MASK_LEAD_BYTE(leadByte, countTrailBytes) ((leadByte)&=(1<<(6-(countTrailBytes)))-1) argument
/external/webkit/Source/WebKit/mac/icu/unicode/
Dutf8.h63 #define U8_COUNT_TRAIL_BYTES(leadByte) (utf8_countTrailBytes[(uint8_t)leadByte]) argument
69 #define U8_MASK_LEAD_BYTE(leadByte, countTrailBytes) ((leadByte)&=(1<<(6-(countTrailBytes)))-1) argument
/external/webkit/Source/JavaScriptCore/icu/unicode/
Dutf8.h63 #define U8_COUNT_TRAIL_BYTES(leadByte) (utf8_countTrailBytes[(uint8_t)leadByte]) argument
69 #define U8_MASK_LEAD_BYTE(leadByte, countTrailBytes) ((leadByte)&=(1<<(6-(countTrailBytes)))-1) argument
/external/webkit/Source/WebCore/icu/unicode/
Dutf8.h63 #define U8_COUNT_TRAIL_BYTES(leadByte) (utf8_countTrailBytes[(uint8_t)leadByte]) argument
69 #define U8_MASK_LEAD_BYTE(leadByte, countTrailBytes) ((leadByte)&=(1<<(6-(countTrailBytes)))-1) argument
/external/icu4c/common/
Ducnvhz.c252 uint32_t leadByte = args->converter->toUnicodeStatus & 0xff; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() local
264 leadIsOk = (uint8_t)(leadByte - 0x21) <= (0x7d - 0x21); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
267 tempBuf[0] = (char) (leadByte+0x80) ; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
271 mySourceChar= (leadByte << 8) | mySourceChar; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
275 mySourceChar = (int32_t)leadByte; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
279 mySourceChar= 0x10000 | (leadByte << 8) | mySourceChar; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
/external/icu4c/common/unicode/
Dutf8.h71 #define U8_COUNT_TRAIL_BYTES(leadByte) (utf8_countTrailBytes[(uint8_t)leadByte]) argument
80 #define U8_MASK_LEAD_BYTE(leadByte, countTrailBytes) ((leadByte)&=(1<<(6-(countTrailBytes)))-1) argument
Dutf_old.h276 #define UTF8_COUNT_TRAIL_BYTES(leadByte) (utf8_countTrailBytes[(uint8_t)leadByte]) argument
282 #define UTF8_MASK_LEAD_BYTE(leadByte, countTrailBytes) ((leadByte)&=(1<<(6-(countTrailBytes)))-1) argument
/external/icu4c/i18n/
Ducol_res.cpp1076 static int ucol_getReorderCodesForLeadByte(UCollator *coll, int leadByte, int16_t* returnReorderCod… in ucol_getReorderCodesForLeadByte() argument
1079 if (leadByte >= leadByteIndexLength) { in ucol_getReorderCodesForLeadByte()
1083 if ((leadByteIndex[leadByte] & 0x8000) == 0x8000) { in ucol_getReorderCodesForLeadByte()
1086 returnReorderCodes[0] = leadByteIndex[leadByte] & ~0x8000; in ucol_getReorderCodesForLeadByte()
1092 uint16_t reorderCodeCount = *(dataOffsetBase + leadByteIndex[leadByte]); in ucol_getReorderCodesForLeadByte()
1094 …uprv_memcpy(returnReorderCodes, dataOffsetBase + leadByteIndex[leadByte] + 1, reorderCodeCount * s… in ucol_getReorderCodesForLeadByte()