Home
last modified time | relevance | path

Searched refs:UTRIE2_SHIFT_2 (Results 1 – 9 of 9) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2Writable.java81 (0x110000>>UTRIE2_SHIFT_2) - in init()
82 (0x80>>UTRIE2_SHIFT_2) + in init()
94 for(i=0x80>>UTRIE2_SHIFT_2; i<UTRIE2_INDEX_2_BMP_LENGTH; ++i) { in init()
156 i2=(UTRIE2_LSCP_INDEX_2_OFFSET-(0xd800>>UTRIE2_SHIFT_2))+ in isInNullBlock()
157 (c>>UTRIE2_SHIFT_2); in isInNullBlock()
160 ((c>>UTRIE2_SHIFT_2)&UTRIE2_INDEX_2_MASK); in isInNullBlock()
206 firstFreeBlock=-map[newBlock>>UTRIE2_SHIFT_2]; in allocDataBlock()
236 map[newBlock>>UTRIE2_SHIFT_2]=0; in allocDataBlock()
244 map[block>>UTRIE2_SHIFT_2]=-firstFreeBlock; in releaseDataBlock()
250 return (block!=dataNullOffset && 1==map[block>>UTRIE2_SHIFT_2]); in isWritableBlock()
[all …]
DTrie2_32.java74 ix = index[codePoint >> UTRIE2_SHIFT_2]; in get()
86 ix = index[UTRIE2_LSCP_INDEX_2_OFFSET + ((codePoint - 0xd800) >> UTRIE2_SHIFT_2)]; in get()
95 ix += (codePoint >> UTRIE2_SHIFT_2) & UTRIE2_INDEX_2_MASK; in get()
130 ix = index[codeUnit >> UTRIE2_SHIFT_2]; 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.java75 ix = index[codePoint >> UTRIE2_SHIFT_2]; in get()
87 ix = index[UTRIE2_LSCP_INDEX_2_OFFSET + ((codePoint - 0xd800) >> UTRIE2_SHIFT_2)]; in get()
96 ix += (codePoint >> UTRIE2_SHIFT_2) & UTRIE2_INDEX_2_MASK; in get()
133 ix = index[codeUnit >> UTRIE2_SHIFT_2]; 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()
DTrie2.java705 static final int UTRIE2_SHIFT_2=5; field in Trie2
711 static final int UTRIE2_SHIFT_1_2=UTRIE2_SHIFT_1-UTRIE2_SHIFT_2;
729 static final int UTRIE2_DATA_BLOCK_LENGTH=1<<UTRIE2_SHIFT_2;
759 static final int UTRIE2_LSCP_INDEX_2_OFFSET=0x10000>>UTRIE2_SHIFT_2;
760 static final int UTRIE2_LSCP_INDEX_2_LENGTH=0x400>>UTRIE2_SHIFT_2;
828 (0x110000>>UTRIE2_SHIFT_2)+
/external/icu/icu4c/source/common/
Dutrie2.h720 UTRIE2_SHIFT_2=5, enumerator
726 UTRIE2_SHIFT_1_2=UTRIE2_SHIFT_1-UTRIE2_SHIFT_2,
744 UTRIE2_DATA_BLOCK_LENGTH=1<<UTRIE2_SHIFT_2,
774 UTRIE2_LSCP_INDEX_2_OFFSET=0x10000>>UTRIE2_SHIFT_2,
775 UTRIE2_LSCP_INDEX_2_LENGTH=0x400>>UTRIE2_SHIFT_2,
841 (((int32_t)((trieIndex)[(offset)+((c)>>UTRIE2_SHIFT_2)]) \
850 _UTRIE2_INDEX_RAW(UTRIE2_LSCP_INDEX_2_OFFSET-(0xd800>>UTRIE2_SHIFT_2), trieIndex, c)
854 _UTRIE2_INDEX_RAW(U_IS_LEAD(c) ? UTRIE2_LSCP_INDEX_2_OFFSET-(0xd800>>UTRIE2_SHIFT_2) : 0, \
862 (((c)>>UTRIE2_SHIFT_2)&UTRIE2_INDEX_2_MASK)]) \
875 (c)<=0xdbff ? UTRIE2_LSCP_INDEX_2_OFFSET-(0xd800>>UTRIE2_SHIFT_2) : 0, \
[all …]
Dutrie2_builder.cpp176 (0x110000>>UTRIE2_SHIFT_2)- in utrie2_open()
177 (0x80>>UTRIE2_SHIFT_2)+ in utrie2_open()
189 for(i=0x80>>UTRIE2_SHIFT_2; i<UTRIE2_INDEX_2_BMP_LENGTH; ++i) { in utrie2_open()
263 uprv_memcpy(trie->map, other->map, (other->dataLength>>UTRIE2_SHIFT_2)*4); in cloneBuilder()
461 i2=(UTRIE2_LSCP_INDEX_2_OFFSET-(0xd800>>UTRIE2_SHIFT_2))+ in isInNullBlock()
462 (c>>UTRIE2_SHIFT_2); in isInNullBlock()
465 ((c>>UTRIE2_SHIFT_2)&UTRIE2_INDEX_2_MASK); in isInNullBlock()
517 trie->firstFreeBlock=-trie->map[newBlock>>UTRIE2_SHIFT_2]; in allocDataBlock()
551 trie->map[newBlock>>UTRIE2_SHIFT_2]=0; in allocDataBlock()
559 trie->map[block>>UTRIE2_SHIFT_2]=-trie->firstFreeBlock; in releaseDataBlock()
[all …]
Dutrie2_impl.h113 (0x110000>>UTRIE2_SHIFT_2)+
169 int32_t map[UNEWTRIE2_MAX_DATA_LENGTH>>UTRIE2_SHIFT_2];
Dutrie2.cpp49 i2=(UTRIE2_LSCP_INDEX_2_OFFSET-(0xd800>>UTRIE2_SHIFT_2))+ in get32()
50 (c>>UTRIE2_SHIFT_2); in get32()
53 ((c>>UTRIE2_SHIFT_2)&UTRIE2_INDEX_2_MASK); in get32()
600 i2Block=c>>UTRIE2_SHIFT_2; in enumEitherTrie()
613 i2Block=0xd800>>UTRIE2_SHIFT_2; in enumEitherTrie()
649 i2=(c>>UTRIE2_SHIFT_2)&UTRIE2_INDEX_2_MASK; in enumEitherTrie()
651 i2Limit=(tempLimit>>UTRIE2_SHIFT_2)&UTRIE2_INDEX_2_MASK; in enumEitherTrie()
/external/icu/icu4c/source/test/cintltst/
Dtrie2test.c1170 for(i=0; i<(0x120000>>UTRIE2_SHIFT_2)/2; ++i) { in FreeBlocksTest()