Home
last modified time | relevance | path

Searched refs:trieIndex (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4c/source/common/
Dutrie2.h814 #define _UTRIE2_INDEX_RAW(offset, trieIndex, c) \ argument
815 (((int32_t)((trieIndex)[(offset)+((c)>>UTRIE2_SHIFT_2)]) \
820 #define _UTRIE2_INDEX_FROM_U16_SINGLE_LEAD(trieIndex, c) _UTRIE2_INDEX_RAW(0, trieIndex, c) argument
823 #define _UTRIE2_INDEX_FROM_LSCP(trieIndex, c) \ argument
824 _UTRIE2_INDEX_RAW(UTRIE2_LSCP_INDEX_2_OFFSET-(0xd800>>UTRIE2_SHIFT_2), trieIndex, c)
827 #define _UTRIE2_INDEX_FROM_BMP(trieIndex, c) \ argument
829 trieIndex, c)
832 #define _UTRIE2_INDEX_FROM_SUPP(trieIndex, c) \ argument
833 (((int32_t)((trieIndex)[ \
834 (trieIndex)[(UTRIE2_INDEX_1_OFFSET-UTRIE2_OMITTED_BMP_INDEX_1_LENGTH)+ \
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DMutableCodePointTrie.java1510 char[] trieIndex; in build() local
1513 trieIndex = new char[indexLength]; in build()
1515 trieIndex[j] = (char)index[i]; in build()
1519 trieIndex = index16; in build()
1522 trieIndex = Arrays.copyOf(index16, indexLength); in build()
1533 new CodePointTrie.Fast16(trieIndex, data16, highStart, in build()
1535 new CodePointTrie.Small16(trieIndex, data16, highStart, in build()
1542 new CodePointTrie.Fast32(trieIndex, data32, highStart, in build()
1544 new CodePointTrie.Small32(trieIndex, data32, highStart, in build()
1552 new CodePointTrie.Fast8(trieIndex, data8, highStart, in build()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DMutableCodePointTrie.java1503 char[] trieIndex; in build() local
1506 trieIndex = new char[indexLength]; in build()
1508 trieIndex[j] = (char)index[i]; in build()
1512 trieIndex = index16; in build()
1515 trieIndex = Arrays.copyOf(index16, indexLength); in build()
1526 new CodePointTrie.Fast16(trieIndex, data16, highStart, in build()
1528 new CodePointTrie.Small16(trieIndex, data16, highStart, in build()
1535 new CodePointTrie.Fast32(trieIndex, data32, highStart, in build()
1537 new CodePointTrie.Small32(trieIndex, data32, highStart, in build()
1545 new CodePointTrie.Fast8(trieIndex, data8, highStart, in build()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationDataBuilder.java570 int trieIndex = Collation.indexFromCE32(ce32); in copyFromBaseCE32() local
571 ce32 = base.getCE32FromContexts(trieIndex); // Default if no prefix match. in copyFromBaseCE32()
585 CharsTrie.Iterator prefixes = CharsTrie.iterator(base.contexts, trieIndex + 2, 0); in copyFromBaseCE32()
638 int trieIndex = Collation.indexFromCE32(ce32); in copyContractionsFromBaseCE32() local
647 ce32 = base.getCE32FromContexts(trieIndex); // Default if no suffix match. in copyContractionsFromBaseCE32()
655 CharsTrie.Iterator suffixes = CharsTrie.iterator(base.contexts, trieIndex + 2, 0); in copyContractionsFromBaseCE32()
DCollationFastLatinBuilder.java327 int trieIndex = Collation.indexFromCE32(ce32); in getCEsFromContractionCE32() local
328 ce32 = data.getCE32FromContexts(trieIndex); // Default if no suffix match. in getCEsFromContractionCE32()
343 CharsTrie.Iterator suffixes = CharsTrie.iterator(data.contexts, trieIndex + 2, 0); in getCEsFromContractionCE32()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationDataBuilder.java569 int trieIndex = Collation.indexFromCE32(ce32); in copyFromBaseCE32() local
570 ce32 = base.getCE32FromContexts(trieIndex); // Default if no prefix match. in copyFromBaseCE32()
584 CharsTrie.Iterator prefixes = CharsTrie.iterator(base.contexts, trieIndex + 2, 0); in copyFromBaseCE32()
637 int trieIndex = Collation.indexFromCE32(ce32); in copyContractionsFromBaseCE32() local
646 ce32 = base.getCE32FromContexts(trieIndex); // Default if no suffix match. in copyContractionsFromBaseCE32()
654 CharsTrie.Iterator suffixes = CharsTrie.iterator(base.contexts, trieIndex + 2, 0); in copyContractionsFromBaseCE32()
DCollationFastLatinBuilder.java326 int trieIndex = Collation.indexFromCE32(ce32); in getCEsFromContractionCE32() local
327 ce32 = data.getCE32FromContexts(trieIndex); // Default if no suffix match. in getCEsFromContractionCE32()
342 CharsTrie.Iterator suffixes = CharsTrie.iterator(data.contexts, trieIndex + 2, 0); in getCEsFromContractionCE32()