Home
last modified time | relevance | path

Searched refs:UTRIE2_INDEX_SHIFT (Results 1 – 11 of 11) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTrie2_16.java78 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
90 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
100 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
136 ix = (ix << UTRIE2_INDEX_SHIFT) + (codeUnit & UTRIE2_DATA_MASK); in getFromU16SingleLead()
202 block = index[cp >> UTRIE2_SHIFT_2] << UTRIE2_INDEX_SHIFT; in rangeEnd()
206 … block = index[index2Block + ((cp - 0xd800) >> UTRIE2_SHIFT_2)] << UTRIE2_INDEX_SHIFT; in rangeEnd()
211 … block = index[index2Block + ((cp >> UTRIE2_SHIFT_2) & UTRIE2_INDEX_2_MASK)] << UTRIE2_INDEX_SHIFT; in rangeEnd()
DTrie2_32.java77 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
89 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
99 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
133 ix = (ix << UTRIE2_INDEX_SHIFT) + (codeUnit & UTRIE2_DATA_MASK); in getFromU16SingleLead()
199 block = index[cp >> UTRIE2_SHIFT_2] << UTRIE2_INDEX_SHIFT; in rangeEnd()
203 … block = index[index2Block + ((cp - 0xd800) >> UTRIE2_SHIFT_2)] << UTRIE2_INDEX_SHIFT; in rangeEnd()
208 … block = index[index2Block + ((cp >> UTRIE2_SHIFT_2) & UTRIE2_INDEX_2_MASK)] << UTRIE2_INDEX_SHIFT; in rangeEnd()
DTrie2Writable.java913 index2[newStart++]=0x0000ffff<<UTRIE2_INDEX_SHIFT; in compactIndex2()
1015 private static final int UTRIE2_MAX_DATA_LENGTH = 0xffff<<UTRIE2_INDEX_SHIFT;
1081 dest.header.shiftedDataLength = dest.dataLength>>UTRIE2_INDEX_SHIFT; in freeze()
1091 dest.index[destIdx++] = (char)((index2[i]+dataMove) >> UTRIE2_INDEX_SHIFT); in freeze()
1127 … dest.index[destIdx++] = (char)((dataMove + index2[index2Offset+i])>>UTRIE2_INDEX_SHIFT); in freeze()
DTrie2.java140 This.dataLength = header.shiftedDataLength << UTRIE2_INDEX_SHIFT; in createFromSerialized()
732 static final int UTRIE2_INDEX_SHIFT=2; field in Trie2
735 static final int UTRIE2_DATA_GRANULARITY=1<<UTRIE2_INDEX_SHIFT;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2_32.java75 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
87 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
97 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
131 ix = (ix << UTRIE2_INDEX_SHIFT) + (codeUnit & UTRIE2_DATA_MASK); in getFromU16SingleLead()
197 block = index[cp >> UTRIE2_SHIFT_2] << UTRIE2_INDEX_SHIFT; in rangeEnd()
201 … block = index[index2Block + ((cp - 0xd800) >> UTRIE2_SHIFT_2)] << UTRIE2_INDEX_SHIFT; in rangeEnd()
206 … block = index[index2Block + ((cp >> UTRIE2_SHIFT_2) & UTRIE2_INDEX_2_MASK)] << UTRIE2_INDEX_SHIFT; in rangeEnd()
DTrie2_16.java76 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
88 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
98 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
134 ix = (ix << UTRIE2_INDEX_SHIFT) + (codeUnit & UTRIE2_DATA_MASK); in getFromU16SingleLead()
200 block = index[cp >> UTRIE2_SHIFT_2] << UTRIE2_INDEX_SHIFT; in rangeEnd()
204 … block = index[index2Block + ((cp - 0xd800) >> UTRIE2_SHIFT_2)] << UTRIE2_INDEX_SHIFT; in rangeEnd()
209 … block = index[index2Block + ((cp >> UTRIE2_SHIFT_2) & UTRIE2_INDEX_2_MASK)] << UTRIE2_INDEX_SHIFT; in rangeEnd()
DTrie2Writable.java911 index2[newStart++]=0x0000ffff<<UTRIE2_INDEX_SHIFT; in compactIndex2()
1013 private static final int UTRIE2_MAX_DATA_LENGTH = 0xffff<<UTRIE2_INDEX_SHIFT;
1079 dest.header.shiftedDataLength = dest.dataLength>>UTRIE2_INDEX_SHIFT; in freeze()
1089 dest.index[destIdx++] = (char)((index2[i]+dataMove) >> UTRIE2_INDEX_SHIFT); in freeze()
1125 … dest.index[destIdx++] = (char)((dataMove + index2[index2Offset+i])>>UTRIE2_INDEX_SHIFT); in freeze()
DTrie2.java138 This.dataLength = header.shiftedDataLength << UTRIE2_INDEX_SHIFT; in createFromSerialized()
730 static final int UTRIE2_INDEX_SHIFT=2; field in Trie2
733 static final int UTRIE2_DATA_GRANULARITY=1<<UTRIE2_INDEX_SHIFT;
/external/icu/icu4c/source/common/
Dutrie2.h755 UTRIE2_INDEX_SHIFT=2, enumerator
758 UTRIE2_DATA_GRANULARITY=1<<UTRIE2_INDEX_SHIFT,
842 <<UTRIE2_INDEX_SHIFT)+ \
863 <<UTRIE2_INDEX_SHIFT)+ \
955 <<UTRIE2_INDEX_SHIFT)+ \
Dutrie2.cpp171 tempTrie.dataLength=header->shiftedDataLength<<UTRIE2_INDEX_SHIFT; in utrie2_openFromSerialized()
303 header->shiftedDataLength=(uint16_t)(dataLength>>UTRIE2_INDEX_SHIFT); in utrie2_openDummy()
314 *dest16++=(uint16_t)(dataMove>>UTRIE2_INDEX_SHIFT); /* null data block */ in utrie2_openDummy()
461 dataLength=(int32_t)trie.shiftedDataLength<<UTRIE2_INDEX_SHIFT; in utrie2_swap()
657 block=(int32_t)idx[i2Block+i2]<<UTRIE2_INDEX_SHIFT; in enumEitherTrie()
Dutrie2_builder.cpp1159 trie->index2[newStart++]=(int32_t)0xffff<<UTRIE2_INDEX_SHIFT; in compactIndex2()
1245 #define UTRIE2_MAX_DATA_LENGTH (0xffff<<UTRIE2_INDEX_SHIFT)
1347 header->shiftedDataLength=(uint16_t)(trie->dataLength>>UTRIE2_INDEX_SHIFT); in utrie2_freeze()
1359 *dest16++=(uint16_t)((dataMove + *p++)>>UTRIE2_INDEX_SHIFT); in utrie2_freeze()
1386 *dest16++=(uint16_t)((dataMove + *p++)>>UTRIE2_INDEX_SHIFT); in utrie2_freeze()