Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dcollationfastlatin.h69 static const uint32_t CASE_MASK = 0x18; // bits 4..3 variable
72 static const uint32_t CASE_AND_TERTIARY_MASK = CASE_MASK | TERTIARY_MASK;
81 (CASE_MASK << 16) | CASE_MASK; // 0x180018
Dcollation.h70 static const uint32_t CASE_MASK = 0xc000; variable
71 static const uint32_t SECONDARY_AND_CASE_MASK = SECONDARY_MASK | CASE_MASK;
77 static const uint32_t CASE_AND_TERTIARY_MASK = CASE_MASK | ONLY_TERTIARY_MASK;
80 static const uint32_t CASE_AND_QUATERNARY_MASK = CASE_MASK | QUATERNARY_MASK;
Dcollationfastlatinbuilder.cpp412 ce &= ~(int64_t)Collation::CASE_MASK; // blank out case bits in addUniqueCE()
421 ce &= ~(int64_t)Collation::CASE_MASK; // blank out case bits in getMiniCE()
533 U_ASSERT((lower32 & Collation::CASE_MASK) == 0); // blanked out in uniqueCEs in encodeUniqueCEs()
682 uint32_t c = (((uint32_t)first & Collation::CASE_MASK) >> (14 - 3)); in encodeTwoCEs()
692 uint32_t case1 = (uint32_t)second & Collation::CASE_MASK; in encodeTwoCEs()
Dcollationfastlatin.cpp385 leftTertiary ^= CASE_MASK; in compareUTF16()
388 rightTertiary ^= CASE_MASK; in compareUTF16()
736 leftTertiary ^= CASE_MASK; in compareUTF8()
739 rightTertiary ^= CASE_MASK; in compareUTF8()
982 pair &= CASE_MASK; // explicit weight of primary CE in getCases()
997 pair &= CASE_MASK; in getCases()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollation.java75 public static final int CASE_MASK = 0xc000; field in Collation
76 static final int SECONDARY_AND_CASE_MASK = SECONDARY_MASK | CASE_MASK;
82 static final int CASE_AND_TERTIARY_MASK = CASE_MASK | ONLY_TERTIARY_MASK;
85 public static final int CASE_AND_QUATERNARY_MASK = CASE_MASK | QUATERNARY_MASK;
DCollationFastLatin.java65 static final int CASE_MASK = 0x18; // bits 4..3 field in CollationFastLatin
68 static final int CASE_AND_TERTIARY_MASK = CASE_MASK | TERTIARY_MASK;
77 (CASE_MASK << 16) | CASE_MASK; // 0x180018
598 leftTertiary ^= CASE_MASK; in compareUTF16()
601 rightTertiary ^= CASE_MASK; in compareUTF16()
794 pair &= CASE_MASK; // explicit weight of primary CE in getCases()
809 pair &= CASE_MASK; in getCases()
DCollationFastLatinBuilder.java390 ce &= ~(long)Collation.CASE_MASK; // blank out case bits in addUniqueCE()
398 ce &= ~(long)Collation.CASE_MASK; // blank out case bits in getMiniCE()
503 assert((lower32 & Collation.CASE_MASK) == 0); // blanked out in uniqueCEs in encodeUniqueCEs()
640 int c = (((int)first & Collation.CASE_MASK) >> (14 - 3)); in encodeTwoCEs()
650 int case1 = (int)second & Collation.CASE_MASK; in encodeTwoCEs()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollation.java73 public static final int CASE_MASK = 0xc000; field in Collation
74 static final int SECONDARY_AND_CASE_MASK = SECONDARY_MASK | CASE_MASK;
80 static final int CASE_AND_TERTIARY_MASK = CASE_MASK | ONLY_TERTIARY_MASK;
83 public static final int CASE_AND_QUATERNARY_MASK = CASE_MASK | QUATERNARY_MASK;
DCollationFastLatin.java61 static final int CASE_MASK = 0x18; // bits 4..3 field in CollationFastLatin
64 static final int CASE_AND_TERTIARY_MASK = CASE_MASK | TERTIARY_MASK;
73 (CASE_MASK << 16) | CASE_MASK; // 0x180018
594 leftTertiary ^= CASE_MASK; in compareUTF16()
597 rightTertiary ^= CASE_MASK; in compareUTF16()
790 pair &= CASE_MASK; // explicit weight of primary CE in getCases()
805 pair &= CASE_MASK; in getCases()
DCollationFastLatinBuilder.java389 ce &= ~(long)Collation.CASE_MASK; // blank out case bits in addUniqueCE()
397 ce &= ~(long)Collation.CASE_MASK; // blank out case bits in getMiniCE()
502 assert((lower32 & Collation.CASE_MASK) == 0); // blanked out in uniqueCEs in encodeUniqueCEs()
639 int c = (((int)first & Collation.CASE_MASK) >> (14 - 3)); in encodeTwoCEs()
649 int case1 = (int)second & Collation.CASE_MASK; in encodeTwoCEs()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationTest.java675 long c = (ctq & Collation.CASE_MASK) >>> 14; in isValidCE()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationTest.java679 long c = (ctq & Collation.CASE_MASK) >>> 14; in isValidCE()
/external/icu/icu4c/source/test/intltest/
Dcollationtest.cpp599 uint32_t c = (ctq & Collation::CASE_MASK) >> 14; in isValidCE()