Home
last modified time | relevance | path

Searched refs:numTailoredPrimaries (Results 1 – 3 of 3) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationBuilder.java781 int numTailoredPrimaries = 0;
783 if(ceStrength(ces[i]) == Collator.PRIMARY) { ++numTailoredPrimaries; }
788 assert(numTailoredPrimaries <= 31);
791 if(numTailoredPrimaries > 0) {
805 if(numBasePrimaries < numTailoredPrimaries) {
807 } else if(numBasePrimaries == numTailoredPrimaries) {
818 if(numBasePrimaries >= numTailoredPrimaries) {
819 cases |= (long)lastCase << ((numTailoredPrimaries - 1) * 2);
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationBuilder.java777 int numTailoredPrimaries = 0;
779 if(ceStrength(ces[i]) == Collator.PRIMARY) { ++numTailoredPrimaries; }
784 assert(numTailoredPrimaries <= 31);
787 if(numTailoredPrimaries > 0) {
801 if(numBasePrimaries < numTailoredPrimaries) {
803 } else if(numBasePrimaries == numTailoredPrimaries) {
814 if(numBasePrimaries >= numTailoredPrimaries) {
815 cases |= (long)lastCase << ((numTailoredPrimaries - 1) * 2);
/external/icu/icu4c/source/i18n/
Dcollationbuilder.cpp1016 int32_t numTailoredPrimaries = 0; in setCaseBits() local
1018 if(ceStrength(ces[i]) == UCOL_PRIMARY) { ++numTailoredPrimaries; } in setCaseBits()
1023 U_ASSERT(numTailoredPrimaries <= 31); in setCaseBits()
1026 if(numTailoredPrimaries > 0) { in setCaseBits()
1044 if(numBasePrimaries < numTailoredPrimaries) { in setCaseBits()
1046 } else if(numBasePrimaries == numTailoredPrimaries) { in setCaseBits()
1057 if(numBasePrimaries >= numTailoredPrimaries) { in setCaseBits()
1058 cases |= (int64_t)lastCase << ((numTailoredPrimaries - 1) * 2); in setCaseBits()