Lines Matching refs:options
27 * Collation settings/options/attributes.
56 /** maxVariable options bit mask before shifting. */
87 * It is the top used bit field in the options. (No need to mask after shifting.)
90 /** Strength options bit mask before shifting. */
102 : options((UCOL_DEFAULT_STRENGTH << STRENGTH_SHIFT) |
126 static int32_t getStrength(int32_t options) {
127 return options >> STRENGTH_SHIFT;
131 return getStrength(options);
134 /** Sets the options bit for an on/off attribute. */
139 return ((options & bit) != 0) ? UCOL_ON : UCOL_OFF;
145 int32_t option = options & CASE_FIRST_AND_UPPER_MASK;
154 return ((options & ALTERNATE_MASK) == 0) ? UCOL_NON_IGNORABLE : UCOL_SHIFTED;
160 return (MaxVariable)((options & MAX_VARIABLE_MASK) >> MAX_VARIABLE_SHIFT);
166 static inline UBool isTertiaryWithCaseBits(int32_t options) {
167 return (options & (CASE_LEVEL | CASE_FIRST)) == CASE_FIRST;
169 static uint32_t getTertiaryMask(int32_t options) {
171 return isTertiaryWithCaseBits(options) ?
175 static UBool sortsTertiaryUpperCaseFirst(int32_t options) {
178 return (options & (CASE_LEVEL | CASE_FIRST_AND_UPPER_MASK)) == CASE_FIRST_AND_UPPER_MASK;
182 return (options & CHECK_FCD) == 0;
186 return (options & BACKWARD_SECONDARY) != 0;
190 return (options & NUMERIC) != 0;
194 int32_t options;