HomeSort by relevance Sort by last modified time
    Searched refs:leadByte (Results 1 - 14 of 14) sorted by null

  /external/icu4c/common/unicode/
bytestrie.h 208 int32_t leadByte=*pos++;
209 // U_ASSERT(leadByte>=kMinValueLead);
210 return readValue(pos, leadByte>>1);
364 // pos is already after the leadByte, and the lead byte is already shifted right by 1.
365 static int32_t readValue(const uint8_t *pos, int32_t leadByte);
366 static inline const uint8_t *skipValue(const uint8_t *pos, int32_t leadByte) {
367 // U_ASSERT(leadByte>=kMinValueLead);
368 if(leadByte>=(kMinTwoByteValueLead<<1)) {
369 if(leadByte<(kMinThreeByteValueLead<<1)) {
371 } else if(leadByte<(kFourByteValueLead<<1))
    [all...]
utf8.h 71 * leadByte is evaluated multiple times.
74 * #define U8_COUNT_TRAIL_BYTES(leadByte) (utf8_countTrailBytes[leadByte])
75 * leadByte was evaluated exactly once.
77 * @param leadByte The first byte of a UTF-8 sequence. Must be 0..0xff.
80 #define U8_COUNT_TRAIL_BYTES(leadByte) \
81 ((leadByte)<0xf0 ? \
82 ((leadByte)>=0xc0)+((leadByte)>=0xe0) : \
83 (leadByte)<0xfe ? 3+((leadByte)>=0xf8)+((leadByte)>=0xfc) : 0
    [all...]
utf_old.h 272 #define UTF8_COUNT_TRAIL_BYTES(leadByte) (utf8_countTrailBytes[(uint8_t)leadByte])
278 #define UTF8_MASK_LEAD_BYTE(leadByte, countTrailBytes) ((leadByte)&=(1<<(6-(countTrailBytes)))-1)
    [all...]
  /external/chromium/base/third_party/icu/
icu_utf.h 111 #define CBU8_COUNT_TRAIL_BYTES(leadByte) (base_icu::utf8_countTrailBytes[(uint8)leadByte])
117 #define CBU8_MASK_LEAD_BYTE(leadByte, countTrailBytes) ((leadByte)&=(1<<(6-(countTrailBytes)))-1)
  /external/chromium_org/base/third_party/icu/
icu_utf.h 111 #define CBU8_COUNT_TRAIL_BYTES(leadByte) (base_icu::utf8_countTrailBytes[(uint8)leadByte])
117 #define CBU8_MASK_LEAD_BYTE(leadByte, countTrailBytes) ((leadByte)&=(1<<(6-(countTrailBytes)))-1)
  /external/icu4c/common/
bytestrie.cpp 30 BytesTrie::readValue(const uint8_t *pos, int32_t leadByte) {
32 if(leadByte<kMinTwoByteValueLead) {
33 value=leadByte-kMinOneByteValueLead;
34 } else if(leadByte<kMinThreeByteValueLead) {
35 value=((leadByte-kMinTwoByteValueLead)<<8)|*pos;
36 } else if(leadByte<kFourByteValueLead) {
37 value=((leadByte-kMinThreeByteValueLead)<<16)|(pos[0]<<8)|pos[1];
38 } else if(leadByte==kFourByteValueLead) {
ucnvhz.c 252 uint32_t leadByte = args->converter->toUnicodeStatus & 0xff;
264 leadIsOk = (uint8_t)(leadByte - 0x21) <= (0x7d - 0x21);
267 tempBuf[0] = (char) (leadByte+0x80) ;
271 mySourceChar= (leadByte << 8) | mySourceChar;
275 mySourceChar = (int32_t)leadByte;
279 mySourceChar= 0x10000 | (leadByte << 8) | mySourceChar;
  /external/chromium_org/third_party/icu/source/common/
ucnvhz.c 252 uint32_t leadByte = args->converter->toUnicodeStatus & 0xff;
264 leadIsOk = (uint8_t)(leadByte - 0x21) <= (0x7d - 0x21);
267 tempBuf[0] = (char) (leadByte+0x80) ;
271 mySourceChar= (leadByte << 8) | mySourceChar;
275 mySourceChar = (int32_t)leadByte;
279 mySourceChar= 0x10000 | (leadByte << 8) | mySourceChar;
  /external/chromium_org/third_party/icu/source/common/unicode/
utf8.h 71 #define U8_COUNT_TRAIL_BYTES(leadByte) (utf8_countTrailBytes[(uint8_t)leadByte])
80 #define U8_MASK_LEAD_BYTE(leadByte, countTrailBytes) ((leadByte)&=(1<<(6-(countTrailBytes)))-1)
utf_old.h 276 #define UTF8_COUNT_TRAIL_BYTES(leadByte) (utf8_countTrailBytes[(uint8_t)leadByte])
282 #define UTF8_MASK_LEAD_BYTE(leadByte, countTrailBytes) ((leadByte)&=(1<<(6-(countTrailBytes)))-1)
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/
ucol_res.cpp     [all...]
  /external/icu4c/i18n/
ucol_res.cpp     [all...]
ucol_imp.h     [all...]
  /prebuilts/misc/common/icu4j/
icu4j.jar 

Completed in 387 milliseconds