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.java80 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
92 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
102 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
138 ix = (ix << UTRIE2_INDEX_SHIFT) + (codeUnit & UTRIE2_DATA_MASK); in getFromU16SingleLead()
204 block = index[cp >> UTRIE2_SHIFT_2] << UTRIE2_INDEX_SHIFT; in rangeEnd()
208 … block = index[index2Block + ((cp - 0xd800) >> UTRIE2_SHIFT_2)] << UTRIE2_INDEX_SHIFT; in rangeEnd()
213 … block = index[index2Block + ((cp >> UTRIE2_SHIFT_2) & UTRIE2_INDEX_2_MASK)] << UTRIE2_INDEX_SHIFT; in rangeEnd()
DTrie2_32.java79 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
91 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
101 ix = (ix << UTRIE2_INDEX_SHIFT) + (codePoint & UTRIE2_DATA_MASK); in get()
135 ix = (ix << UTRIE2_INDEX_SHIFT) + (codeUnit & UTRIE2_DATA_MASK); in getFromU16SingleLead()
201 block = index[cp >> UTRIE2_SHIFT_2] << UTRIE2_INDEX_SHIFT; in rangeEnd()
205 … block = index[index2Block + ((cp - 0xd800) >> UTRIE2_SHIFT_2)] << UTRIE2_INDEX_SHIFT; in rangeEnd()
210 … block = index[index2Block + ((cp >> UTRIE2_SHIFT_2) & UTRIE2_INDEX_2_MASK)] << UTRIE2_INDEX_SHIFT; in rangeEnd()
DTrie2Writable.java915 index2[newStart++]=0x0000ffff<<UTRIE2_INDEX_SHIFT; in compactIndex2()
1017 private static final int UTRIE2_MAX_DATA_LENGTH = 0xffff<<UTRIE2_INDEX_SHIFT;
1083 dest.header.shiftedDataLength = dest.dataLength>>UTRIE2_INDEX_SHIFT; in freeze()
1093 dest.index[destIdx++] = (char)((index2[i]+dataMove) >> UTRIE2_INDEX_SHIFT); in freeze()
1129 … dest.index[destIdx++] = (char)((dataMove + index2[index2Offset+i])>>UTRIE2_INDEX_SHIFT); in freeze()
DTrie2.java142 This.dataLength = header.shiftedDataLength << UTRIE2_INDEX_SHIFT; in createFromSerialized()
743 static final int UTRIE2_INDEX_SHIFT=2; field in Trie2
746 static final int UTRIE2_DATA_GRANULARITY=1<<UTRIE2_INDEX_SHIFT;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
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()
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()
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()
741 static final int UTRIE2_INDEX_SHIFT=2; field in Trie2
744 static final int UTRIE2_DATA_GRANULARITY=1<<UTRIE2_INDEX_SHIFT;
/external/icu/icu4c/source/common/
Dutrie2.h757 UTRIE2_INDEX_SHIFT=2, enumerator
760 UTRIE2_DATA_GRANULARITY=1<<UTRIE2_INDEX_SHIFT,
844 <<UTRIE2_INDEX_SHIFT)+ \
865 <<UTRIE2_INDEX_SHIFT)+ \
957 <<UTRIE2_INDEX_SHIFT)+ \
Dutrie2.cpp173 tempTrie.dataLength=header->shiftedDataLength<<UTRIE2_INDEX_SHIFT; in utrie2_openFromSerialized()
305 header->shiftedDataLength=(uint16_t)(dataLength>>UTRIE2_INDEX_SHIFT); in utrie2_openDummy()
316 *dest16++=(uint16_t)(dataMove>>UTRIE2_INDEX_SHIFT); /* null data block */ in utrie2_openDummy()
463 dataLength=(int32_t)trie.shiftedDataLength<<UTRIE2_INDEX_SHIFT; in utrie2_swap()
659 block=(int32_t)idx[i2Block+i2]<<UTRIE2_INDEX_SHIFT; in enumEitherTrie()
Dutrie2_builder.cpp1161 trie->index2[newStart++]=(int32_t)0xffff<<UTRIE2_INDEX_SHIFT; in compactIndex2()
1247 #define UTRIE2_MAX_DATA_LENGTH (0xffff<<UTRIE2_INDEX_SHIFT)
1349 header->shiftedDataLength=(uint16_t)(trie->dataLength>>UTRIE2_INDEX_SHIFT); in utrie2_freeze()
1361 *dest16++=(uint16_t)((dataMove + *p++)>>UTRIE2_INDEX_SHIFT); in utrie2_freeze()
1388 *dest16++=(uint16_t)((dataMove + *p++)>>UTRIE2_INDEX_SHIFT); in utrie2_freeze()