Lines Matching refs:CollationRootElements
36 #include "collationrootelements.h"
590 UBool isValidCE(const CollationRootElements &re, const CollationData &data,
678 UBool isValidCE(const CollationRootElements &re, const CollationData &data, int64_t ce) {
690 index((int32_t)elements[CollationRootElements::IX_FIRST_TERTIARY_INDEX]) {}
695 if(p == CollationRootElements::PRIMARY_SENTINEL) { return FALSE; }
696 if((p & CollationRootElements::SEC_TER_DELTA_FLAG) != 0) {
698 secTer = p & ~CollationRootElements::SEC_TER_DELTA_FLAG;
701 if((p & CollationRootElements::PRIMARY_STEP_MASK) != 0) {
703 int32_t step = (int32_t)p & CollationRootElements::PRIMARY_STEP_MASK;
729 if((secTer & CollationRootElements::SEC_TER_DELTA_FLAG) == 0) {
733 secTer &= ~CollationRootElements::SEC_TER_DELTA_FLAG;
767 CollationRootElements rootElements(root->rootElements, root->rootElementsLength);
790 // CollationRootElements CEs must have 0 case and quaternary bits.
792 errln("CollationRootElements CE has non-zero case and/or quaternary bits: %08lx %08lx",
800 // but they are not stored in the CollationRootElements.
870 CollationRootElements rootElements(root->rootElements, root->rootElementsLength);