OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:leadByte
(Results
1 - 17
of
17
) sorted by null
/external/icu/icu4c/source/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
((uint8_t)(
leadByte
)<0xf0 ? \
82
((uint8_t)(
leadByte
)>=0xc0)+((uint8_t)(
leadByte
)>=0xe0) : \
83
(uint8_t)(
leadByte
)<0xfe ? 3+((uint8_t)(leadByte)>=0xf8)+((uint8_t)(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/icu/android_icu4j/src/main/java/android/icu/util/
BytesTrie.java
336
int
leadByte
=bytes_[pos++]&0xff;
337
assert(
leadByte
>=kMinValueLead);
338
return readValue(bytes_, pos,
leadByte
>>1);
673
// pos is already after the
leadByte
, and the lead byte is already shifted right by 1.
674
private static int readValue(byte[] bytes, int pos, int
leadByte
) {
676
if(
leadByte
<kMinTwoByteValueLead) {
677
value=
leadByte
-kMinOneByteValueLead;
678
} else if(
leadByte
<kMinThreeByteValueLead) {
679
value=((
leadByte
-kMinTwoByteValueLead)<<8)|(bytes[pos]&0xff);
680
} else if(
leadByte
<kFourByteValueLead)
[
all
...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
BytesTrie.java
355
int
leadByte
=bytes_[pos++]&0xff;
356
assert(
leadByte
>=kMinValueLead);
357
return readValue(bytes_, pos,
leadByte
>>1);
708
// pos is already after the
leadByte
, and the lead byte is already shifted right by 1.
709
private static int readValue(byte[] bytes, int pos, int
leadByte
) {
711
if(
leadByte
<kMinTwoByteValueLead) {
712
value=
leadByte
-kMinOneByteValueLead;
713
} else if(
leadByte
<kMinThreeByteValueLead) {
714
value=((
leadByte
-kMinTwoByteValueLead)<<8)|(bytes[pos]&0xff);
715
} else if(
leadByte
<kFourByteValueLead)
[
all
...]
/external/libchrome/base/third_party/icu/
icu_utf.h
110
#define CBU8_COUNT_TRAIL_BYTES(
leadByte
) \
111
(base_icu::utf8_countTrailBytes[(uint8_t)
leadByte
])
117
#define CBU8_MASK_LEAD_BYTE(
leadByte
, countTrailBytes) ((
leadByte
)&=(1<<(6-(countTrailBytes)))-1)
/external/libweave/third_party/chromium/base/third_party/icu/
icu_utf.h
112
#define CBU8_COUNT_TRAIL_BYTES(
leadByte
) (base_icu::utf8_countTrailBytes[(uint8_t)
leadByte
])
118
#define CBU8_MASK_LEAD_BYTE(
leadByte
, countTrailBytes) ((
leadByte
)&=(1<<(6-(countTrailBytes)))-1)
/external/icu/icu4c/source/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/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
CharsetHZ.java
148
int
leadByte
= toUnicodeStatus & 0xff;
160
leadIsOk = (short)(UConverterConstants.UNSIGNED_BYTE_MASK & (
leadByte
- 0x21)) <= (0x7d - 0x21);
163
tempBuf[0] = (byte)(
leadByte
+ 0x80);
166
mySourceChar = (
leadByte
<< 8) | mySourceChar;
170
mySourceChar =
leadByte
;
174
mySourceChar = 0x10000 | (
leadByte
<< 8) | mySourceChar;
/external/icu/icu4c/source/i18n/
collationdata.cpp
318
int32_t
leadByte
= table[i];
319
if(
leadByte
!= 0) { continue; }
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
CollationData.java
407
int
leadByte
= table[i];
408
if(
leadByte
!= 0) { continue; }
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
CollationData.java
405
int
leadByte
= table[i];
406
if(
leadByte
!= 0) { continue; }
/prebuilts/misc/common/icu4j/
icu4j.jar
/prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/53.1/
icu4j-53.1.jar
/prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/54.1.1/
icu4j-54.1.1.jar
/external/libgdx/backends/gdx-backend-moe/libs/
intel-moe-core.jar
Completed in 961 milliseconds