Searched refs:UTRIE2_SHIFT_2 (Results 1 – 13 of 13) sorted by relevance
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | Trie2Writable.java | 85 (0x110000>>UTRIE2_SHIFT_2) - in init() 86 (0x80>>UTRIE2_SHIFT_2) + in init() 98 for(i=0x80>>UTRIE2_SHIFT_2; i<UTRIE2_INDEX_2_BMP_LENGTH; ++i) { in init() 160 i2=(UTRIE2_LSCP_INDEX_2_OFFSET-(0xd800>>UTRIE2_SHIFT_2))+ in isInNullBlock() 161 (c>>UTRIE2_SHIFT_2); in isInNullBlock() 164 ((c>>UTRIE2_SHIFT_2)&UTRIE2_INDEX_2_MASK); in isInNullBlock() 210 firstFreeBlock=-map[newBlock>>UTRIE2_SHIFT_2]; in allocDataBlock() 240 map[newBlock>>UTRIE2_SHIFT_2]=0; in allocDataBlock() 248 map[block>>UTRIE2_SHIFT_2]=-firstFreeBlock; in releaseDataBlock() 254 return (block!=dataNullOffset && 1==map[block>>UTRIE2_SHIFT_2]); in isWritableBlock() [all …]
|
D | Trie2_16.java | 79 ix = index[codePoint >> UTRIE2_SHIFT_2]; in get() 91 ix = index[UTRIE2_LSCP_INDEX_2_OFFSET + ((codePoint - 0xd800) >> UTRIE2_SHIFT_2)]; in get() 100 ix += (codePoint >> UTRIE2_SHIFT_2) & UTRIE2_INDEX_2_MASK; in get() 137 ix = index[codeUnit >> UTRIE2_SHIFT_2]; 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()
|
D | Trie2_32.java | 78 ix = index[codePoint >> UTRIE2_SHIFT_2]; in get() 90 ix = index[UTRIE2_LSCP_INDEX_2_OFFSET + ((codePoint - 0xd800) >> UTRIE2_SHIFT_2)]; in get() 99 ix += (codePoint >> UTRIE2_SHIFT_2) & UTRIE2_INDEX_2_MASK; in get() 134 ix = index[codeUnit >> UTRIE2_SHIFT_2]; 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()
|
D | Trie2.java | 712 static final int UTRIE2_SHIFT_2=5; field in Trie2 718 static final int UTRIE2_SHIFT_1_2=UTRIE2_SHIFT_1-UTRIE2_SHIFT_2; 736 static final int UTRIE2_DATA_BLOCK_LENGTH=1<<UTRIE2_SHIFT_2; 766 static final int UTRIE2_LSCP_INDEX_2_OFFSET=0x10000>>UTRIE2_SHIFT_2; 767 static final int UTRIE2_LSCP_INDEX_2_LENGTH=0x400>>UTRIE2_SHIFT_2; 835 (0x110000>>UTRIE2_SHIFT_2)+
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Trie2Writable.java | 83 (0x110000>>UTRIE2_SHIFT_2) - in init() 84 (0x80>>UTRIE2_SHIFT_2) + in init() 96 for(i=0x80>>UTRIE2_SHIFT_2; i<UTRIE2_INDEX_2_BMP_LENGTH; ++i) { in init() 158 i2=(UTRIE2_LSCP_INDEX_2_OFFSET-(0xd800>>UTRIE2_SHIFT_2))+ in isInNullBlock() 159 (c>>UTRIE2_SHIFT_2); in isInNullBlock() 162 ((c>>UTRIE2_SHIFT_2)&UTRIE2_INDEX_2_MASK); in isInNullBlock() 208 firstFreeBlock=-map[newBlock>>UTRIE2_SHIFT_2]; in allocDataBlock() 238 map[newBlock>>UTRIE2_SHIFT_2]=0; in allocDataBlock() 246 map[block>>UTRIE2_SHIFT_2]=-firstFreeBlock; in releaseDataBlock() 252 return (block!=dataNullOffset && 1==map[block>>UTRIE2_SHIFT_2]); in isWritableBlock() [all …]
|
D | Trie2_32.java | 76 ix = index[codePoint >> UTRIE2_SHIFT_2]; in get() 88 ix = index[UTRIE2_LSCP_INDEX_2_OFFSET + ((codePoint - 0xd800) >> UTRIE2_SHIFT_2)]; in get() 97 ix += (codePoint >> UTRIE2_SHIFT_2) & UTRIE2_INDEX_2_MASK; in get() 132 ix = index[codeUnit >> UTRIE2_SHIFT_2]; 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()
|
D | Trie2_16.java | 77 ix = index[codePoint >> UTRIE2_SHIFT_2]; in get() 89 ix = index[UTRIE2_LSCP_INDEX_2_OFFSET + ((codePoint - 0xd800) >> UTRIE2_SHIFT_2)]; in get() 98 ix += (codePoint >> UTRIE2_SHIFT_2) & UTRIE2_INDEX_2_MASK; in get() 135 ix = index[codeUnit >> UTRIE2_SHIFT_2]; 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()
|
D | Trie2.java | 706 static final int UTRIE2_SHIFT_2=5; field in Trie2 712 static final int UTRIE2_SHIFT_1_2=UTRIE2_SHIFT_1-UTRIE2_SHIFT_2; 730 static final int UTRIE2_DATA_BLOCK_LENGTH=1<<UTRIE2_SHIFT_2; 760 static final int UTRIE2_LSCP_INDEX_2_OFFSET=0x10000>>UTRIE2_SHIFT_2; 761 static final int UTRIE2_LSCP_INDEX_2_LENGTH=0x400>>UTRIE2_SHIFT_2; 829 (0x110000>>UTRIE2_SHIFT_2)+
|
/external/icu/icu4c/source/common/ |
D | utrie2.h | 694 UTRIE2_SHIFT_2=5, enumerator 700 UTRIE2_SHIFT_1_2=UTRIE2_SHIFT_1-UTRIE2_SHIFT_2, 718 UTRIE2_DATA_BLOCK_LENGTH=1<<UTRIE2_SHIFT_2, 748 UTRIE2_LSCP_INDEX_2_OFFSET=0x10000>>UTRIE2_SHIFT_2, 749 UTRIE2_LSCP_INDEX_2_LENGTH=0x400>>UTRIE2_SHIFT_2, 815 (((int32_t)((trieIndex)[(offset)+((c)>>UTRIE2_SHIFT_2)]) \ 824 _UTRIE2_INDEX_RAW(UTRIE2_LSCP_INDEX_2_OFFSET-(0xd800>>UTRIE2_SHIFT_2), trieIndex, c) 828 _UTRIE2_INDEX_RAW(U_IS_LEAD(c) ? UTRIE2_LSCP_INDEX_2_OFFSET-(0xd800>>UTRIE2_SHIFT_2) : 0, \ 836 (((c)>>UTRIE2_SHIFT_2)&UTRIE2_INDEX_2_MASK)]) \ 849 (c)<=0xdbff ? UTRIE2_LSCP_INDEX_2_OFFSET-(0xd800>>UTRIE2_SHIFT_2) : 0, \ [all …]
|
D | utrie2_builder.cpp | 191 (0x110000>>UTRIE2_SHIFT_2)- in utrie2_open() 192 (0x80>>UTRIE2_SHIFT_2)+ in utrie2_open() 204 for(i=0x80>>UTRIE2_SHIFT_2; i<UTRIE2_INDEX_2_BMP_LENGTH; ++i) { in utrie2_open() 286 uprv_memcpy(trie->map, other->map, ((size_t)other->dataLength>>UTRIE2_SHIFT_2)*4); in cloneBuilder() 500 i2=(UTRIE2_LSCP_INDEX_2_OFFSET-(0xd800>>UTRIE2_SHIFT_2))+ in isInNullBlock() 501 (c>>UTRIE2_SHIFT_2); in isInNullBlock() 504 ((c>>UTRIE2_SHIFT_2)&UTRIE2_INDEX_2_MASK); in isInNullBlock() 556 trie->firstFreeBlock=-trie->map[newBlock>>UTRIE2_SHIFT_2]; in allocDataBlock() 590 trie->map[newBlock>>UTRIE2_SHIFT_2]=0; in allocDataBlock() 598 trie->map[block>>UTRIE2_SHIFT_2]=-trie->firstFreeBlock; in releaseDataBlock() [all …]
|
D | utrie2_impl.h | 113 (0x110000>>UTRIE2_SHIFT_2)+ 172 int32_t map[UNEWTRIE2_MAX_DATA_LENGTH>>UTRIE2_SHIFT_2];
|
D | utrie2.cpp | 50 i2=(UTRIE2_LSCP_INDEX_2_OFFSET-(0xd800>>UTRIE2_SHIFT_2))+ in get32() 51 (c>>UTRIE2_SHIFT_2); in get32() 54 ((c>>UTRIE2_SHIFT_2)&UTRIE2_INDEX_2_MASK); in get32() 498 i2Block=c>>UTRIE2_SHIFT_2; in enumEitherTrie() 511 i2Block=0xd800>>UTRIE2_SHIFT_2; in enumEitherTrie() 547 i2=(c>>UTRIE2_SHIFT_2)&UTRIE2_INDEX_2_MASK; in enumEitherTrie() 549 i2Limit=(tempLimit>>UTRIE2_SHIFT_2)&UTRIE2_INDEX_2_MASK; in enumEitherTrie()
|
/external/icu/icu4c/source/test/cintltst/ |
D | trie2test.c | 1204 for(i=0; i<(0x120000>>UTRIE2_SHIFT_2)/2; ++i) { in FreeBlocksTest()
|