Lines Matching defs:ce
56 ConditionalCE32(const UnicodeString &ct, uint32_t ce)
58 ce32(ce), defaultCE32(Collation::NO_CE32), builtCE32(Collation::NO_CE32),
196 int64_t ce = getCE(i);
197 if(ce != 0) {
199 ces[cesLength] = ce;
345 // An offset CE is also a little more expensive to look up and compute
346 // than a simple CE.
488 CollationDataBuilder::addCE(int64_t ce, UErrorCode &errorCode) {
491 if(ce == ce64s.elementAti(i)) { return i; }
493 ce64s.addElement(ce, errorCode);
621 CollationDataBuilder::encodeOneCEAsCE32(int64_t ce) {
622 uint32_t p = (uint32_t)(ce >> 32);
623 uint32_t lower32 = (uint32_t)ce;
624 uint32_t t = (uint32_t)(ce & 0xffff);
626 if((ce & INT64_C(0xffff00ff00ff)) == 0) {
629 } else if((ce & INT64_C(0xffffffffff)) == Collation::COMMON_SEC_AND_TER_CE) {
640 CollationDataBuilder::encodeOneCE(int64_t ce, UErrorCode &errorCode) {
641 // Try to encode one CE as one CE32.
642 uint32_t ce32 = encodeOneCEAsCE32(ce);
644 int32_t index = addCE(ce, errorCode);
666 // Convenience: We cannot map to nothing, but we can map to a completely ignorable CE.
914 int64_t ce = modifier.modifyCE32(ce32);
915 if(ce != Collation::NO_CE) {
916 ce32 = dest.encodeOneCE(ce, errorCode);
929 int64_t ce;
931 (ce = modifier.modifyCE32(ce32)) == Collation::NO_CE) {
942 modifiedCEs[i] = ce;
960 int64_t ce = modifier.modifyCE(srcCE);
961 if(ce == Collation::NO_CE) {
972 modifiedCEs[i] = ce;
1391 // (There is no p|c, only p|cd, p|ce etc.)
1397 // For example, if there are mappings for ch, p|cd, p|ce, but not for p|c,