Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dutrie2.h840 #define _UTRIE2_INDEX_RAW(offset, trieIndex, c) \ argument
841 (((int32_t)((trieIndex)[(offset)+((c)>>UTRIE2_SHIFT_2)]) \
846 #define _UTRIE2_INDEX_FROM_U16_SINGLE_LEAD(trieIndex, c) _UTRIE2_INDEX_RAW(0, trieIndex, c) argument
849 #define _UTRIE2_INDEX_FROM_LSCP(trieIndex, c) \ argument
850 _UTRIE2_INDEX_RAW(UTRIE2_LSCP_INDEX_2_OFFSET-(0xd800>>UTRIE2_SHIFT_2), trieIndex, c)
853 #define _UTRIE2_INDEX_FROM_BMP(trieIndex, c) \ argument
855 trieIndex, c)
858 #define _UTRIE2_INDEX_FROM_SUPP(trieIndex, c) \ argument
859 (((int32_t)((trieIndex)[ \
860 (trieIndex)[(UTRIE2_INDEX_1_OFFSET-UTRIE2_OMITTED_BMP_INDEX_1_LENGTH)+ \
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationDataBuilder.java567 int trieIndex = Collation.indexFromCE32(ce32); in copyFromBaseCE32() local
568 ce32 = base.getCE32FromContexts(trieIndex); // Default if no prefix match. in copyFromBaseCE32()
582 CharsTrie.Iterator prefixes = CharsTrie.iterator(base.contexts, trieIndex + 2, 0); in copyFromBaseCE32()
635 int trieIndex = Collation.indexFromCE32(ce32); in copyContractionsFromBaseCE32() local
644 ce32 = base.getCE32FromContexts(trieIndex); // Default if no suffix match. in copyContractionsFromBaseCE32()
652 CharsTrie.Iterator suffixes = CharsTrie.iterator(base.contexts, trieIndex + 2, 0); in copyContractionsFromBaseCE32()
DCollationFastLatinBuilder.java324 int trieIndex = Collation.indexFromCE32(ce32); in getCEsFromContractionCE32() local
325 ce32 = data.getCE32FromContexts(trieIndex); // Default if no suffix match. in getCEsFromContractionCE32()
340 CharsTrie.Iterator suffixes = CharsTrie.iterator(data.contexts, trieIndex + 2, 0); in getCEsFromContractionCE32()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationDataBuilder.java568 int trieIndex = Collation.indexFromCE32(ce32); in copyFromBaseCE32() local
569 ce32 = base.getCE32FromContexts(trieIndex); // Default if no prefix match. in copyFromBaseCE32()
583 CharsTrie.Iterator prefixes = CharsTrie.iterator(base.contexts, trieIndex + 2, 0); in copyFromBaseCE32()
636 int trieIndex = Collation.indexFromCE32(ce32); in copyContractionsFromBaseCE32() local
645 ce32 = base.getCE32FromContexts(trieIndex); // Default if no suffix match. in copyContractionsFromBaseCE32()
653 CharsTrie.Iterator suffixes = CharsTrie.iterator(base.contexts, trieIndex + 2, 0); in copyContractionsFromBaseCE32()
DCollationFastLatinBuilder.java325 int trieIndex = Collation.indexFromCE32(ce32); in getCEsFromContractionCE32() local
326 ce32 = data.getCE32FromContexts(trieIndex); // Default if no suffix match. in getCEsFromContractionCE32()
341 CharsTrie.Iterator suffixes = CharsTrie.iterator(data.contexts, trieIndex + 2, 0); in getCEsFromContractionCE32()