Searched refs:BOCU1_REACH_NEG_1 (Results 1 – 3 of 3) sorted by relevance
88 #define BOCU1_REACH_NEG_1 (-BOCU1_SINGLE) macro92 #define BOCU1_REACH_NEG_2 (BOCU1_REACH_NEG_1-BOCU1_LEAD_2*BOCU1_TRAIL_COUNT)106 #define BOCU1_START_NEG_2 (BOCU1_MIDDLE+BOCU1_REACH_NEG_1)217 #define DIFF_IS_SINGLE(diff) (BOCU1_REACH_NEG_1<=(diff) && (diff)<=BOCU1_REACH_POS_1)291 if(diff>=BOCU1_REACH_NEG_1) { in packDiff()347 diff-=BOCU1_REACH_NEG_1; in packDiff()530 diff-=BOCU1_REACH_NEG_1; in _Bocu1FromUnicodeWithOffsets()771 diff-=BOCU1_REACH_NEG_1; in _Bocu1FromUnicode()905 diff=((int32_t)b-BOCU1_START_NEG_2)*BOCU1_TRAIL_COUNT+BOCU1_REACH_NEG_1; in decodeBocu1LeadByte()1069 diff=((int32_t)c-BOCU1_START_NEG_2)*BOCU1_TRAIL_COUNT+BOCU1_REACH_NEG_1; in _Bocu1ToUnicodeWithOffsets()[all …]
62 private static final int BOCU1_REACH_NEG_1 = (-BOCU1_SINGLE); field in CharsetBOCU166 private static final int BOCU1_REACH_NEG_2 = (BOCU1_REACH_NEG_1-BOCU1_LEAD_2*BOCU1_TRAIL_COUNT);80 private static final int BOCU1_START_NEG_2 = (BOCU1_MIDDLE+BOCU1_REACH_NEG_1);211 return (BOCU1_REACH_NEG_1<=(diff) && (diff)<=BOCU1_REACH_POS_1); in DIFF_IS_SINGLE()296 if(diff>=BOCU1_REACH_NEG_1) { in packDiff()346 diff-=BOCU1_REACH_NEG_1; in packDiff()564 diff -= BOCU1_REACH_NEG_1; in regularLoop()746 diffValue=(b -BOCU1_START_NEG_2)*BOCU1_TRAIL_COUNT + BOCU1_REACH_NEG_1;963 diff=(c-BOCU1_START_NEG_2)*BOCU1_TRAIL_COUNT + BOCU1_REACH_NEG_1; in afterGetTrail()
98 #define BOCU1_REACH_NEG_1 (-BOCU1_SINGLE) macro102 #define BOCU1_REACH_NEG_2 (BOCU1_REACH_NEG_1-BOCU1_LEAD_2*BOCU1_TRAIL_COUNT)116 #define BOCU1_START_NEG_2 (BOCU1_MIDDLE+BOCU1_REACH_NEG_1)290 if(diff>=BOCU1_REACH_NEG_1) { in packDiff()315 diff-=BOCU1_REACH_NEG_1; in packDiff()438 c=((int32_t)b-BOCU1_START_NEG_2)*BOCU1_TRAIL_COUNT+BOCU1_REACH_NEG_1; in decodeBocu1LeadByte()795 log_verbose("reach of single bytes: %ld\n", 1+BOCU1_REACH_POS_1-BOCU1_REACH_NEG_1); in TestBOCU1RefDiff()799 …log_verbose(" BOCU1_REACH_NEG_1 %8ld BOCU1_REACH_POS_1 %8ld\n", BOCU1_REACH_NEG_1, BOCU1_REA… in TestBOCU1RefDiff()