Home
last modified time | relevance | path

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

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2Writable.java83 (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 …]
DTrie2_16.java77 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()
DTrie2_32.java76 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()
DTrie2.java706 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)+
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DTrie2Writable.java85 (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 …]
DTrie2_16.java79 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()
DTrie2_32.java78 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()
DTrie2.java712 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)+
/third_party/skia/third_party/externals/icu/source/common/
Dutrie2.h694 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 …]
Dutrie2_builder.cpp191 (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()
502 i2=(UTRIE2_LSCP_INDEX_2_OFFSET-(0xd800>>UTRIE2_SHIFT_2))+ in isInNullBlock()
503 (c>>UTRIE2_SHIFT_2); in isInNullBlock()
506 ((c>>UTRIE2_SHIFT_2)&UTRIE2_INDEX_2_MASK); in isInNullBlock()
558 trie->firstFreeBlock=-trie->map[newBlock>>UTRIE2_SHIFT_2]; in allocDataBlock()
592 trie->map[newBlock>>UTRIE2_SHIFT_2]=0; in allocDataBlock()
600 trie->map[block>>UTRIE2_SHIFT_2]=-trie->firstFreeBlock; in releaseDataBlock()
[all …]
Dutrie2_impl.h113 (0x110000>>UTRIE2_SHIFT_2)+
172 int32_t map[UNEWTRIE2_MAX_DATA_LENGTH>>UTRIE2_SHIFT_2];
Dutrie2.cpp50 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()
/third_party/icu/icu4c/source/common/
Dutrie2.h694 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 …]
Dutrie2_builder.cpp191 (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()
502 i2=(UTRIE2_LSCP_INDEX_2_OFFSET-(0xd800>>UTRIE2_SHIFT_2))+ in isInNullBlock()
503 (c>>UTRIE2_SHIFT_2); in isInNullBlock()
506 ((c>>UTRIE2_SHIFT_2)&UTRIE2_INDEX_2_MASK); in isInNullBlock()
558 trie->firstFreeBlock=-trie->map[newBlock>>UTRIE2_SHIFT_2]; in allocDataBlock()
592 trie->map[newBlock>>UTRIE2_SHIFT_2]=0; in allocDataBlock()
600 trie->map[block>>UTRIE2_SHIFT_2]=-trie->firstFreeBlock; in releaseDataBlock()
[all …]
Dutrie2_impl.h113 (0x110000>>UTRIE2_SHIFT_2)+
172 int32_t map[UNEWTRIE2_MAX_DATA_LENGTH>>UTRIE2_SHIFT_2];
Dutrie2.cpp50 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()
/third_party/node/deps/icu-small/source/common/
Dutrie2.h694 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 …]
Dutrie2_builder.cpp191 (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()
502 i2=(UTRIE2_LSCP_INDEX_2_OFFSET-(0xd800>>UTRIE2_SHIFT_2))+ in isInNullBlock()
503 (c>>UTRIE2_SHIFT_2); in isInNullBlock()
506 ((c>>UTRIE2_SHIFT_2)&UTRIE2_INDEX_2_MASK); in isInNullBlock()
558 trie->firstFreeBlock=-trie->map[newBlock>>UTRIE2_SHIFT_2]; in allocDataBlock()
592 trie->map[newBlock>>UTRIE2_SHIFT_2]=0; in allocDataBlock()
600 trie->map[block>>UTRIE2_SHIFT_2]=-trie->firstFreeBlock; in releaseDataBlock()
[all …]
Dutrie2_impl.h113 (0x110000>>UTRIE2_SHIFT_2)+
172 int32_t map[UNEWTRIE2_MAX_DATA_LENGTH>>UTRIE2_SHIFT_2];
Dutrie2.cpp50 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()
/third_party/icu/icu4c/source/test/cintltst/
Dtrie2test.c1207 for(i=0; i<(0x120000>>UTRIE2_SHIFT_2)/2; ++i) { in FreeBlocksTest()