Home
last modified time | relevance | path

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

/third_party/node/deps/icu-small/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)+ \
/third_party/skia/third_party/externals/icu/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)+ \
/third_party/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)+ \
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DMeasureUnitImpl.java308 public static CompoundPart getCompoundPartFromTrieIndex(int trieIndex) { in getCompoundPartFromTrieIndex() argument
309 int index = trieIndex - UnitsData.Constants.kCompoundPartOffset; in getCompoundPartFromTrieIndex()
353 public static int getPowerFromTrieIndex(int trieIndex) { in getPowerFromTrieIndex() argument
354 return trieIndex - UnitsData.Constants.kPowerPartOffset; in getPowerFromTrieIndex()
378 public static InitialCompoundPart getInitialCompoundPartFromTrieIndex(int trieIndex) { in getInitialCompoundPartFromTrieIndex() argument
379 int index = trieIndex - UnitsData.Constants.kInitialCompoundPartOffset; in getInitialCompoundPartFromTrieIndex()
499 private static MeasureUnit.MeasurePrefix getPrefixFromTrieIndex(int trieIndex) { in getPrefixFromTrieIndex() argument
500 return measurePrefixValues[trieIndex - UnitsData.Constants.kPrefixOffset]; in getPrefixFromTrieIndex()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DMutableCodePointTrie.java1501 char[] trieIndex; in build() local
1504 trieIndex = new char[indexLength]; in build()
1506 trieIndex[j] = (char)index[i]; in build()
1510 trieIndex = index16; in build()
1513 trieIndex = Arrays.copyOf(index16, indexLength); in build()
1524 new CodePointTrie.Fast16(trieIndex, data16, highStart, in build()
1526 new CodePointTrie.Small16(trieIndex, data16, highStart, in build()
1533 new CodePointTrie.Fast32(trieIndex, data32, highStart, in build()
1535 new CodePointTrie.Small32(trieIndex, data32, highStart, in build()
1543 new CodePointTrie.Fast8(trieIndex, data8, highStart, in build()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DMutableCodePointTrie.java1493 char[] trieIndex; in build() local
1496 trieIndex = new char[indexLength]; in build()
1498 trieIndex[j] = (char)index[i]; in build()
1502 trieIndex = index16; in build()
1505 trieIndex = Arrays.copyOf(index16, indexLength); in build()
1516 new CodePointTrie.Fast16(trieIndex, data16, highStart, in build()
1518 new CodePointTrie.Small16(trieIndex, data16, highStart, in build()
1525 new CodePointTrie.Fast32(trieIndex, data32, highStart, in build()
1527 new CodePointTrie.Small32(trieIndex, data32, highStart, in build()
1535 new CodePointTrie.Fast8(trieIndex, data8, highStart, in build()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationDataBuilder.java581 int trieIndex = Collation.indexFromCE32(ce32); in copyFromBaseCE32() local
582 ce32 = base.getCE32FromContexts(trieIndex); // Default if no prefix match. in copyFromBaseCE32()
596 CharsTrie.Iterator prefixes = CharsTrie.iterator(base.contexts, trieIndex + 2, 0); in copyFromBaseCE32()
649 int trieIndex = Collation.indexFromCE32(ce32); in copyContractionsFromBaseCE32() local
658 ce32 = base.getCE32FromContexts(trieIndex); // Default if no suffix match. in copyContractionsFromBaseCE32()
666 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()