Home
last modified time | relevance | path

Searched refs:UCOL_ON (Results 1 – 25 of 38) sorted by relevance

12

/external/icu/icu4c/source/test/intltest/
Djacoll.cpp111 myCollation->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in TestTertiary()
112 myCollation->setAttribute(UCOL_CASE_LEVEL, UCOL_ON, status); in TestTertiary()
145 myCollation->setAttribute(UCOL_CASE_LEVEL, UCOL_ON, status); in TestSmallLarge()
158 myCollation->setAttribute(UCOL_CASE_LEVEL, UCOL_ON, status); in TestKatakanaHiragana()
173 myCollation->setAttribute(UCOL_CASE_LEVEL, UCOL_ON, status); in TestChooonKigoo()
Ddecoll.cpp113 myCollation->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in TestTertiary()
128 myCollation->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in TestPrimary()
Dregcoll.cpp150 c->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in Test4054238()
191 c->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in Test4054734()
207 c->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in Test4054736()
319 c->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in Test4060154()
429 c1->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in Test4066189()
582 c->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in Test4081866()
775 c->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in Test4114076()
908 c->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in Test4114077()
Dlcukocol.cpp37 myCollation->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in LotusCollationKoreanTest()
Ducaconf.cpp91 coll->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in setCollNonIgnorable()
100 coll->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in setCollShifted()
Dtscoll.cpp178 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in doTestVariant()
216 if(norm != UCOL_ON && !quick) { in doTestVariant()
218 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in doTestVariant()
Dfrcoll.cpp142 myCollation->setAttribute(UCOL_FRENCH_COLLATION, UCOL_ON, status); in TestTertiary()
Dapicoll.cpp356 if (vi_VN->getAttribute(UCOL_NORMALIZATION_MODE, status) != UCOL_ON) in TestDecomposition()
361 if (el_GR->getAttribute(UCOL_NORMALIZATION_MODE, status) != UCOL_ON) in TestDecomposition()
866 RuleBasedCollator *col9 = new RuleBasedCollator(ruleset2, Collator::PRIMARY, UCOL_ON, success); in TestOperators()
1425 coll->setAttribute(UCOL_FRENCH_COLLATION, UCOL_ON, error); in TestAttribute()
1426 if (coll->getAttribute(UCOL_FRENCH_COLLATION, error) != UCOL_ON || in TestAttribute()
1455 coll->setAttribute(UCOL_CASE_LEVEL, UCOL_ON, error); in TestAttribute()
1456 if (coll->getAttribute(UCOL_CASE_LEVEL, error) != UCOL_ON || in TestAttribute()
1467 coll->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, error); in TestAttribute()
1468 if (coll->getAttribute(UCOL_NORMALIZATION_MODE, error) != UCOL_ON || in TestAttribute()
2399 coll.setAttribute(UCOL_NUMERIC_COLLATION, UCOL_ON, errorCode); in TestIterNumeric()
Dallcoll.cpp106 myCollation->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in TestPrimary()
Dsrchtest.cpp546 collator->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in assertCanonicalEqual()
827 m_en_us_->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in TestNormExact()
1602 getECollationStrength(UCOL_TERTIARY), UCOL_ON, status); in TestContraction()
1641 UCOL_ON, status); in TestIgnorable()
1723 m_en_us_->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in TestNormCanonical()
1927 UCOL_ON, status); in TestCollatorCanonical()
2110 collator->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in TestGetSetOffsetCanonical()
2207 getECollationStrength(UCOL_TERTIARY), UCOL_ON, status); in TestContractionCanonical()
/external/icu/icu4c/source/test/cintltst/
Dcjaptst.c127 ucol_setAttribute(myCollation, UCOL_CASE_LEVEL, UCOL_ON, &status); in TestTertiary()
195 ucol_setAttribute(myCollation, UCOL_CASE_LEVEL, UCOL_ON, &status); in TestSmallLarge()
220 ucol_setAttribute(myCollation, UCOL_CASE_LEVEL, UCOL_ON, &status); in TestKatakanaHiragana()
246 ucol_setAttribute(myCollation, UCOL_CASE_LEVEL, UCOL_ON, &status); in TestChooonKigoo()
Dcmsccoll.c272 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in FunkyATest()
295 UCOL_ON
546 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestFCDProblem()
858 { UCOL_LOWER_FIRST, UCOL_ON}, in TestCase()
859 { UCOL_UPPER_FIRST, UCOL_ON} in TestCase()
998 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestIncrementalNormalize()
1447 coll = ucol_openRules(rule, rlen, UCOL_ON, UCOL_TERTIARY,NULL, &status); in TestContraction()
1486 coll = ucol_openRules(rule, rlen, UCOL_ON, UCOL_TERTIARY,NULL, &status); in TestContraction()
1510 coll1 = ucol_openRules(rule, rlen, UCOL_ON, UCOL_TERTIARY,NULL, &status); in TestContraction()
1512 coll2 = ucol_openRules(rule, rlen, UCOL_ON, UCOL_TERTIARY,NULL, &status); in TestContraction()
[all …]
Dcapitst.c101 {UCOL_FRENCH_COLLATION, {UCOL_ON, UCOL_OFF}, 2, UCOL_SHIFTED}, in TestGetSetAttr()
104 {UCOL_CASE_LEVEL, {UCOL_ON, UCOL_OFF}, 2, UCOL_SHIFTED},/* do we have an extra case level */ in TestGetSetAttr()
105 … {UCOL_NORMALIZATION_MODE, {UCOL_ON, UCOL_OFF}, 2, UCOL_SHIFTED},/* attribute for normalization */ in TestGetSetAttr()
106 {UCOL_DECOMPOSITION_MODE, {UCOL_ON, UCOL_OFF}, 2, UCOL_SHIFTED}, in TestGetSetAttr()
108 …{UCOL_HIRAGANA_QUATERNARY_MODE, {UCOL_ON, UCOL_OFF}, 2, UCOL_SHIFTED},/* when turned on, this attr… in TestGetSetAttr()
226 coll = ucol_openRules(defaultRulesArray, size, UCOL_ON, UCOL_PRIMARY, &status);
621 if (ucol_getAttribute(vi_VN, UCOL_NORMALIZATION_MODE, &status) != UCOL_ON || in TestDecomposition()
628 if (ucol_getAttribute(el_GR, UCOL_NORMALIZATION_MODE, &status) != UCOL_ON || in TestDecomposition()
671 someCollators[3] = ucol_openRules(sampleRule, -1, UCOL_ON, UCOL_TERTIARY, NULL, &err); in TestSafeClone()
1731 ucol_setAttribute(coll, UCOL_FRENCH_COLLATION, UCOL_ON, &status); in TestSortKeyBufferOverrun()
[all …]
Dcdetst.c111 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestTertiary()
Dcallcoll.c165 …if(ucol_getAttribute(coll, UCOL_CASE_LEVEL, &errorCode) == UCOL_ON && strength == UCOL_SECONDARY &… in sortKeyToString()
340 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in doTestVariant()
382 if(getTestOption(QUICK_OPTION) <= 0 && norm != UCOL_ON) { in doTestVariant()
384 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in doTestVariant()
932 ucol_setAttribute(myCollator, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestJB1401()
1290 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestFCDCrash()
Dusrchtst.c72 DE_ = ucol_openRules(rules, u_strlen(rules), UCOL_ON, UCOL_TERTIARY, in open()
78 ES_ = ucol_openRules(rules, u_strlen(rules), UCOL_ON, UCOL_TERTIARY, in open()
587 ucol_setAttribute(collator, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in assertCanonicalEqual()
675 ucol_setAttribute(EN_US_, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestNormExact()
978 tailored = ucol_openRules(rules, -1, UCOL_ON, COLLATOR[1].strength, in TestCollator()
1664 collator = ucol_openRules(rules, u_strlen(rules), UCOL_ON, in TestContraction()
1708 collator = ucol_openRules(rules, u_strlen(rules), UCOL_ON, in TestIgnorable()
1817 ucol_setAttribute(EN_US_, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestNormCanonical()
2064 tailored = ucol_openRules(rules, -1, UCOL_ON, in TestCollatorCanonical()
2283 ucol_setAttribute(collator, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestGetSetOffsetCanonical()
[all …]
Dcitertst.c152 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestBug672Normalize()
367 coll = ucol_openRules(rule, rulelen, UCOL_ON, UCOL_TERTIARY, NULL, &status); in TestNormalization()
368 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestNormalization()
635 ucol_setAttribute(en_us, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestOffset()
/external/icu/icu4c/source/samples/coll/
Dcoll.cpp183 ucol_setAttribute(collator, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in processCollator()
186 ucol_setAttribute(collator, UCOL_FRENCH_COLLATION, UCOL_ON, &status); in processCollator()
197 ucol_setAttribute(collator, UCOL_CASE_LEVEL, UCOL_ON, &status); in processCollator()
/external/icu/icu4c/source/samples/strsrch/
Dstrsrch.cpp174 ucol_setAttribute(collator, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in processCollator()
177 ucol_setAttribute(collator, UCOL_FRENCH_COLLATION, UCOL_ON, &status); in processCollator()
188 ucol_setAttribute(collator, UCOL_CASE_LEVEL, UCOL_ON, &status); in processCollator()
/external/v8/src/
Di18n.cc483 UCOL_NUMERIC_COLLATION, numeric ? UCOL_ON : UCOL_OFF, status); in CreateICUCollator()
489 collator->setAttribute(UCOL_NORMALIZATION_MODE, UCOL_ON, status); in CreateICUCollator()
511 collator->setAttribute(UCOL_CASE_LEVEL, UCOL_ON, status); in CreateICUCollator()
539 collator->getAttribute(UCOL_NUMERIC_COLLATION, status) == UCOL_ON), in SetResolvedCollatorSettings()
566 if (UCOL_ON == collator->getAttribute(UCOL_CASE_LEVEL, status)) { in SetResolvedCollatorSettings()
/external/icu/icu4c/source/i18n/
Dcollationruleparser.cpp110 UCOL_ON, 0, errorCode); in parse()
502 UCOL_ON, 0, errorCode); in parseSetting()
594 if(value == UCOL_ON) { in parseSetting()
736 return UCOL_ON; in getOnOffValue()
Dcollationsettings.h158 return ((options & bit) != 0) ? UCOL_ON : UCOL_OFF; in getFlag()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationRuleParser.java115 private static final int UCOL_ON = 1; field in CollationRuleParser
631 if(value == UCOL_ON) { in parseSetting()
762 return UCOL_ON; in getOnOffValue()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationRuleParser.java119 private static final int UCOL_ON = 1; field in CollationRuleParser
635 if(value == UCOL_ON) { in parseSetting()
766 return UCOL_ON; in getOnOffValue()
/external/icu/icu4c/source/test/perf/collperf/
Dcollperf.cpp614 ucol_setAttribute(col, UCOL_FRENCH_COLLATION, UCOL_ON, &status); in CollPerfTest()
635 ucol_setAttribute(col, UCOL_CASE_LEVEL, UCOL_ON, &status); in CollPerfTest()
639 ucol_setAttribute(col, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in CollPerfTest()

12