Home
last modified time | relevance | path

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

/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/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/icu4c/source/i18n/
Dcollationbuilder.cpp1017 int32_t numTailoredPrimaries = 0; in setCaseBits() local
1019 if(ceStrength(ces[i]) == UCOL_PRIMARY) { ++numTailoredPrimaries; } in setCaseBits()
1024 U_ASSERT(numTailoredPrimaries <= 31); in setCaseBits()
1027 if(numTailoredPrimaries > 0) { in setCaseBits()
1045 if(numBasePrimaries < numTailoredPrimaries) { in setCaseBits()
1047 } else if(numBasePrimaries == numTailoredPrimaries) { in setCaseBits()
1058 if(numBasePrimaries >= numTailoredPrimaries) { in setCaseBits()
1059 cases |= (int64_t)lastCase << ((numTailoredPrimaries - 1) * 2); in setCaseBits()