Home | History | Annotate | Download | only in i18n

Lines Matching refs:strength

146         int32_t strength = result & STRENGTH_MASK;
150 if(strength != resetStrength) {
151 setParseError("reset-before strength differs from its first relation", errorCode);
155 if(strength < resetStrength) {
156 setParseError("reset-before strength followed by a stronger relation", errorCode);
163 parseRelationStrings(strength, i, errorCode);
165 parseStarredCharacters(strength, i, errorCode);
212 int32_t strength;
223 strength = UCOL_QUATERNARY;
225 strength = UCOL_TERTIARY;
228 strength = UCOL_SECONDARY;
231 strength = UCOL_PRIMARY;
235 strength |= STARRED_FLAG;
239 strength = UCOL_SECONDARY;
242 strength = UCOL_TERTIARY;
245 strength = UCOL_IDENTICAL;
248 strength |= STARRED_FLAG;
254 return ((i - ruleIndex) << OFFSET_SHIFT) | strength;
258 CollationRuleParser::parseRelationStrings(int32_t strength, int32_t i, UErrorCode &errorCode) {
284 sink->addRelation(strength, prefix, str, extension, errorReason, errorCode);
290 CollationRuleParser::parseStarredCharacters(int32_t strength, int32_t i, UErrorCode &errorCode) {
307 sink->addRelation(strength, empty, UnicodeString(c), empty, errorReason, errorCode);
349 sink->addRelation(strength, empty, s, empty, errorReason, errorCode);
514 if(raw == UNICODE_STRING_SIMPLE("strength") && v.length() == 1) {