Home
last modified time | relevance | path

Searched refs:BOCU1_START_NEG_2 (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4c/source/common/
Ducnvbocu.cpp106 #define BOCU1_START_NEG_2 (BOCU1_MIDDLE+BOCU1_REACH_NEG_1) macro
107 #define BOCU1_START_NEG_3 (BOCU1_START_NEG_2-BOCU1_LEAD_2)
113 ((BOCU1_START_NEG_2<=(lead) && (lead)<BOCU1_START_POS_2) ? 1 : \
353 result|=(BOCU1_START_NEG_2+diff)<<8; in packDiff()
532 diff+=BOCU1_START_NEG_2; in _Bocu1FromUnicodeWithOffsets()
773 diff+=BOCU1_START_NEG_2; in _Bocu1FromUnicode()
886 if(b>=BOCU1_START_NEG_2) { in decodeBocu1LeadByte()
905 diff=((int32_t)b-BOCU1_START_NEG_2)*BOCU1_TRAIL_COUNT+BOCU1_REACH_NEG_1; in decodeBocu1LeadByte()
1009 if(BOCU1_START_NEG_2<=(c=*source) && c<BOCU1_START_POS_2) { in _Bocu1ToUnicodeWithOffsets()
1042 if(BOCU1_START_NEG_2<=c && c<BOCU1_START_POS_2) { in _Bocu1ToUnicodeWithOffsets()
[all …]
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetBOCU1.java80 private static final int BOCU1_START_NEG_2 = (BOCU1_MIDDLE+BOCU1_REACH_NEG_1); field in CharsetBOCU1
81 private static final int BOCU1_START_NEG_3 = (BOCU1_START_NEG_2-BOCU1_LEAD_2);
352 result|=(BOCU1_START_NEG_2+diff)<<8; in packDiff()
566 diff+=BOCU1_START_NEG_2; in regularLoop()
727 if(b >= BOCU1_START_NEG_2) {
746 diffValue=(b -BOCU1_START_NEG_2)*BOCU1_TRAIL_COUNT + BOCU1_REACH_NEG_1;
854 …if(BOCU1_START_NEG_2 <=(c=source.get(source.position())&UConverterConstants.UNSIGNED_BYTE_MASK) &&… in fastSingle()
931 if(BOCU1_START_NEG_2 <= c && c < BOCU1_START_POS_2) { in afterGetTrail()
963 diff=(c-BOCU1_START_NEG_2)*BOCU1_TRAIL_COUNT + BOCU1_REACH_NEG_1; in afterGetTrail()
/external/icu/icu4c/source/test/cintltst/
Dbocu1tst.c116 #define BOCU1_START_NEG_2 (BOCU1_MIDDLE+BOCU1_REACH_NEG_1) macro
117 #define BOCU1_START_NEG_3 (BOCU1_START_NEG_2-BOCU1_LEAD_2)
123 ((BOCU1_START_NEG_2<=(lead) && (lead)<BOCU1_START_POS_2) ? 1 : \
316 lead=BOCU1_START_NEG_2; in packDiff()
419 if(b>=BOCU1_START_NEG_2) { in decodeBocu1LeadByte()
438 c=((int32_t)b-BOCU1_START_NEG_2)*BOCU1_TRAIL_COUNT+BOCU1_REACH_NEG_1; in decodeBocu1LeadByte()
572 if(b>=BOCU1_START_NEG_2 && b<BOCU1_START_POS_2) { in decodeBocu1()
804 …log_verbose(" BOCU1_START_NEG_2 0x%02x BOCU1_START_POS_2 0x%02x\n", BOCU1_START_NEG_2, BOCU1… in TestBOCU1RefDiff()