Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dcollationrootelements.cpp25 CollationRootElements::lastCEWithPrimaryBefore(uint32_t p) const { in lastCEWithPrimaryBefore()
71 CollationRootElements::firstCEWithPrimaryAtLeast(uint32_t p) const { in firstCEWithPrimaryAtLeast()
89 CollationRootElements::getPrimaryBefore(uint32_t p, UBool isCompressible) const { in getPrimaryBefore()
119 CollationRootElements::getSecondaryBefore(uint32_t p, uint32_t s) const { in getSecondaryBefore()
143 CollationRootElements::getTertiaryBefore(uint32_t p, uint32_t s, uint32_t t) const { in getTertiaryBefore()
173 CollationRootElements::getPrimaryAfter(uint32_t p, int32_t index, UBool isCompressible) const { in getPrimaryAfter()
195 CollationRootElements::getSecondaryAfter(int32_t index, uint32_t s) const { in getSecondaryAfter()
221 CollationRootElements::getTertiaryAfter(int32_t index, uint32_t s, uint32_t t) const { in getTertiaryAfter()
257 CollationRootElements::getFirstSecTerForPrimary(int32_t index) const { in getFirstSecTerForPrimary()
273 CollationRootElements::findPrimary(uint32_t p) const { in findPrimary()
[all …]
Dcollationrootelements.h33 class U_I18N_API CollationRootElements : public UMemory {
35 CollationRootElements(const uint32_t *rootElements, int32_t rootElementsLength) in CollationRootElements() function
Dcollationdatareader.cpp227 if(data == NULL || length <= CollationRootElements::IX_SEC_TER_BOUNDARIES) { in read()
233 uint32_t commonSecTer = data->rootElements[CollationRootElements::IX_COMMON_SEC_AND_TER_CE]; in read()
238 … uint32_t secTerBoundaries = data->rootElements[CollationRootElements::IX_SEC_TER_BOUNDARIES]; in read()
Dcollationbuilder.h300 const CollationRootElements rootElements;
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationTest.java33 import com.ibm.icu.impl.coll.CollationRootElements;
652 …private static boolean isValidCE(CollationRootElements re, CollationData data, long p, long s, lon… in isValidCE()
739 private static boolean isValidCE(CollationRootElements re, CollationData data, long ce) { in isValidCE()
760 index = (int)elements[CollationRootElements.IX_FIRST_TERTIARY_INDEX]; in RootElementsIterator()
768 if (p == CollationRootElements.PRIMARY_SENTINEL) { in next()
771 if ((p & CollationRootElements.SEC_TER_DELTA_FLAG) != 0) { in next()
773 secTer = p & ~CollationRootElements.SEC_TER_DELTA_FLAG; in next()
776 if ((p & CollationRootElements.PRIMARY_STEP_MASK) != 0) { in next()
778 int step = (int)p & CollationRootElements.PRIMARY_STEP_MASK; in next()
804 if((secTer & CollationRootElements.SEC_TER_DELTA_FLAG) == 0) { in next()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationTest.java34 import android.icu.impl.coll.CollationRootElements;
655 …private static boolean isValidCE(CollationRootElements re, CollationData data, long p, long s, lon… in isValidCE()
742 private static boolean isValidCE(CollationRootElements re, CollationData data, long ce) { in isValidCE()
763 index = (int)elements[CollationRootElements.IX_FIRST_TERTIARY_INDEX]; in RootElementsIterator()
771 if (p == CollationRootElements.PRIMARY_SENTINEL) { in next()
774 if ((p & CollationRootElements.SEC_TER_DELTA_FLAG) != 0) { in next()
776 secTer = p & ~CollationRootElements.SEC_TER_DELTA_FLAG; in next()
779 if ((p & CollationRootElements.PRIMARY_STEP_MASK) != 0) { in next()
781 int step = (int)p & CollationRootElements.PRIMARY_STEP_MASK; in next()
807 if((secTer & CollationRootElements.SEC_TER_DELTA_FLAG) == 0) { in next()
[all …]
/external/icu/icu4c/source/test/intltest/
Dcollationtest.cpp588 UBool isValidCE(const CollationRootElements &re, const CollationData &data, in isValidCE()
676 UBool isValidCE(const CollationRootElements &re, const CollationData &data, int64_t ce) { in isValidCE()
688 index((int32_t)elements[CollationRootElements::IX_FIRST_TERTIARY_INDEX]) {} in RootElementsIterator()
693 if(p == CollationRootElements::PRIMARY_SENTINEL) { return FALSE; } in next()
694 if((p & CollationRootElements::SEC_TER_DELTA_FLAG) != 0) { in next()
696 secTer = p & ~CollationRootElements::SEC_TER_DELTA_FLAG; in next()
699 if((p & CollationRootElements::PRIMARY_STEP_MASK) != 0) { in next()
701 int32_t step = (int32_t)p & CollationRootElements::PRIMARY_STEP_MASK; in next()
727 if((secTer & CollationRootElements::SEC_TER_DELTA_FLAG) == 0) { in next()
731 secTer &= ~CollationRootElements::SEC_TER_DELTA_FLAG; in next()
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationDataReader.java283 if(rootElementsLength <= CollationRootElements.IX_SEC_TER_BOUNDARIES) { in read()
290 long commonSecTer = data.rootElements[CollationRootElements.IX_COMMON_SEC_AND_TER_CE]; in read()
294 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.java45 rootElements = new CollationRootElements(b.data.rootElements); in CollationBuilder()
1496 private CollationRootElements rootElements;
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationDataReader.java284 if(rootElementsLength <= CollationRootElements.IX_SEC_TER_BOUNDARIES) { in read()
291 long commonSecTer = data.rootElements[CollationRootElements.IX_COMMON_SEC_AND_TER_CE]; in read()
295 long secTerBoundaries = data.rootElements[CollationRootElements.IX_SEC_TER_BOUNDARIES]; in read()
DCollationRootElements.java25 public final class CollationRootElements { class
26 public CollationRootElements(long[] rootElements) { in CollationRootElements() method in CollationRootElements
DCollationBuilder.java49 rootElements = new CollationRootElements(b.data.rootElements); in CollationBuilder()
1500 private CollationRootElements rootElements;