Home
last modified time | relevance | path

Searched refs:CollationRootElements (Results 1 – 13 of 13) sorted by relevance

/external/icu/icu4c/source/i18n/
Dcollationrootelements.cpp23 CollationRootElements::lastCEWithPrimaryBefore(uint32_t p) const { in lastCEWithPrimaryBefore()
69 CollationRootElements::firstCEWithPrimaryAtLeast(uint32_t p) const { in firstCEWithPrimaryAtLeast()
87 CollationRootElements::getPrimaryBefore(uint32_t p, UBool isCompressible) const { in getPrimaryBefore()
117 CollationRootElements::getSecondaryBefore(uint32_t p, uint32_t s) const { in getSecondaryBefore()
141 CollationRootElements::getTertiaryBefore(uint32_t p, uint32_t s, uint32_t t) const { in getTertiaryBefore()
171 CollationRootElements::getPrimaryAfter(uint32_t p, int32_t index, UBool isCompressible) const { in getPrimaryAfter()
193 CollationRootElements::getSecondaryAfter(int32_t index, uint32_t s) const { in getSecondaryAfter()
219 CollationRootElements::getTertiaryAfter(int32_t index, uint32_t s, uint32_t t) const { in getTertiaryAfter()
255 CollationRootElements::getFirstSecTerForPrimary(int32_t index) const { in getFirstSecTerForPrimary()
271 CollationRootElements::findPrimary(uint32_t p) const { in findPrimary()
[all …]
Dcollationrootelements.h31 class U_I18N_API CollationRootElements : public UMemory {
33 CollationRootElements(const uint32_t *rootElements, int32_t rootElementsLength) in CollationRootElements() function
Dcollationdatareader.cpp225 if(data == NULL || length <= CollationRootElements::IX_SEC_TER_BOUNDARIES) { in read()
231 uint32_t commonSecTer = data->rootElements[CollationRootElements::IX_COMMON_SEC_AND_TER_CE]; in read()
236 … uint32_t secTerBoundaries = data->rootElements[CollationRootElements::IX_SEC_TER_BOUNDARIES]; in read()
Dcollationbuilder.h298 const CollationRootElements rootElements;
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationTest.java27 import com.ibm.icu.impl.coll.CollationRootElements;
667 …private static boolean isValidCE(CollationRootElements re, CollationData data, long p, long s, lon… in isValidCE()
754 private static boolean isValidCE(CollationRootElements re, CollationData data, long ce) { in isValidCE()
775 index = (int)elements[CollationRootElements.IX_FIRST_TERTIARY_INDEX]; in RootElementsIterator()
783 if (p == CollationRootElements.PRIMARY_SENTINEL) { in next()
786 if ((p & CollationRootElements.SEC_TER_DELTA_FLAG) != 0) { in next()
788 secTer = p & ~CollationRootElements.SEC_TER_DELTA_FLAG; in next()
791 if ((p & CollationRootElements.PRIMARY_STEP_MASK) != 0) { in next()
793 int step = (int)p & CollationRootElements.PRIMARY_STEP_MASK; in next()
819 if((secTer & CollationRootElements.SEC_TER_DELTA_FLAG) == 0) { in next()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationTest.java28 import android.icu.impl.coll.CollationRootElements;
671 …private static boolean isValidCE(CollationRootElements re, CollationData data, long p, long s, lon… in isValidCE()
758 private static boolean isValidCE(CollationRootElements re, CollationData data, long ce) { in isValidCE()
779 index = (int)elements[CollationRootElements.IX_FIRST_TERTIARY_INDEX]; in RootElementsIterator()
787 if (p == CollationRootElements.PRIMARY_SENTINEL) { in next()
790 if ((p & CollationRootElements.SEC_TER_DELTA_FLAG) != 0) { in next()
792 secTer = p & ~CollationRootElements.SEC_TER_DELTA_FLAG; in next()
795 if ((p & CollationRootElements.PRIMARY_STEP_MASK) != 0) { in next()
797 int step = (int)p & CollationRootElements.PRIMARY_STEP_MASK; in next()
823 if((secTer & CollationRootElements.SEC_TER_DELTA_FLAG) == 0) { in next()
[all …]
/external/icu/icu4c/source/test/intltest/
Dcollationtest.cpp590 UBool isValidCE(const CollationRootElements &re, const CollationData &data, in isValidCE()
678 UBool isValidCE(const CollationRootElements &re, const CollationData &data, int64_t ce) { in isValidCE()
690 index((int32_t)elements[CollationRootElements::IX_FIRST_TERTIARY_INDEX]) {} in RootElementsIterator()
695 if(p == CollationRootElements::PRIMARY_SENTINEL) { return FALSE; } in next()
696 if((p & CollationRootElements::SEC_TER_DELTA_FLAG) != 0) { in next()
698 secTer = p & ~CollationRootElements::SEC_TER_DELTA_FLAG; in next()
701 if((p & CollationRootElements::PRIMARY_STEP_MASK) != 0) { in next()
703 int32_t step = (int32_t)p & CollationRootElements::PRIMARY_STEP_MASK; in next()
729 if((secTer & CollationRootElements::SEC_TER_DELTA_FLAG) == 0) { in next()
733 secTer &= ~CollationRootElements::SEC_TER_DELTA_FLAG; in next()
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationDataReader.java281 if(rootElementsLength <= CollationRootElements.IX_SEC_TER_BOUNDARIES) { in read()
288 long commonSecTer = data.rootElements[CollationRootElements.IX_COMMON_SEC_AND_TER_CE]; in read()
292 long secTerBoundaries = data.rootElements[CollationRootElements.IX_SEC_TER_BOUNDARIES]; in read()
DCollationRootElements.java21 public final class CollationRootElements { class
22 public CollationRootElements(long[] rootElements) { in CollationRootElements() method in CollationRootElements
DCollationBuilder.java42 rootElements = new CollationRootElements(b.data.rootElements); in CollationBuilder()
1491 private CollationRootElements rootElements;
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationDataReader.java282 if(rootElementsLength <= CollationRootElements.IX_SEC_TER_BOUNDARIES) { in read()
289 long commonSecTer = data.rootElements[CollationRootElements.IX_COMMON_SEC_AND_TER_CE]; in read()
293 long secTerBoundaries = data.rootElements[CollationRootElements.IX_SEC_TER_BOUNDARIES]; in read()
DCollationRootElements.java23 public final class CollationRootElements { class
24 public CollationRootElements(long[] rootElements) { in CollationRootElements() method in CollationRootElements
DCollationBuilder.java46 rootElements = new CollationRootElements(b.data.rootElements); in CollationBuilder()
1495 private CollationRootElements rootElements;