Home
last modified time | relevance | path

Searched refs:ucol_setAttribute (Results 1 – 25 of 46) sorted by relevance

12

/external/icu4c/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()
189 ucol_setAttribute(collator, UCOL_CASE_FIRST, UCOL_LOWER_FIRST, in processCollator()
193 ucol_setAttribute(collator, UCOL_CASE_FIRST, UCOL_UPPER_FIRST, in processCollator()
197 ucol_setAttribute(collator, UCOL_CASE_LEVEL, UCOL_ON, &status); in processCollator()
200 ucol_setAttribute(collator, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, in processCollator()
206 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_PRIMARY, &status); in processCollator()
209 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_SECONDARY, in processCollator()
213 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_TERTIARY, &status); in processCollator()
216 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_QUATERNARY, in processCollator()
[all …]
/external/icu4c/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()
180 ucol_setAttribute(collator, UCOL_CASE_FIRST, UCOL_LOWER_FIRST, in processCollator()
184 ucol_setAttribute(collator, UCOL_CASE_FIRST, UCOL_UPPER_FIRST, in processCollator()
188 ucol_setAttribute(collator, UCOL_CASE_LEVEL, UCOL_ON, &status); in processCollator()
191 ucol_setAttribute(collator, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, in processCollator()
197 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_PRIMARY, &status); in processCollator()
200 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_SECONDARY, in processCollator()
204 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_TERTIARY, &status); in processCollator()
207 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_QUATERNARY, in processCollator()
[all …]
/external/chromium_org/third_party/icu/source/test/intltest/
Ducaconf.cpp90 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in setCollNonIgnorable()
91 ucol_setAttribute(coll, UCOL_CASE_FIRST, UCOL_OFF, &status); in setCollNonIgnorable()
92 ucol_setAttribute(coll, UCOL_CASE_LEVEL, UCOL_OFF, &status); in setCollNonIgnorable()
93 ucol_setAttribute(coll, UCOL_STRENGTH, UCOL_TERTIARY, &status); in setCollNonIgnorable()
94 ucol_setAttribute(coll, UCOL_ALTERNATE_HANDLING, UCOL_NON_IGNORABLE, &status); in setCollNonIgnorable()
99 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in setCollShifted()
100 ucol_setAttribute(coll, UCOL_CASE_FIRST, UCOL_OFF, &status); in setCollShifted()
101 ucol_setAttribute(coll, UCOL_CASE_LEVEL, UCOL_OFF, &status); in setCollShifted()
102 ucol_setAttribute(coll, UCOL_STRENGTH, UCOL_QUATERNARY, &status); in setCollShifted()
103 ucol_setAttribute(coll, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); in setCollShifted()
Dtscoll.cpp192 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in doTestVariant()
196 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); in doTestVariant()
232 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in doTestVariant()
234 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); in doTestVariant()
Dtsmthred.cpp1010 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestCollators()
1011 ucol_setAttribute(coll, UCOL_CASE_FIRST, UCOL_OFF, &status); in TestCollators()
1012 ucol_setAttribute(coll, UCOL_CASE_LEVEL, UCOL_OFF, &status); in TestCollators()
1013 ucol_setAttribute(coll, UCOL_STRENGTH, UCOL_TERTIARY, &status); in TestCollators()
1014 ucol_setAttribute(coll, UCOL_ALTERNATE_HANDLING, UCOL_NON_IGNORABLE, &status); in TestCollators()
/external/icu4c/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()
245 ucol_setAttribute(myCollation, UCOL_STRENGTH, UCOL_QUATERNARY, &status); in TestChooonKigoo()
246 ucol_setAttribute(myCollation, UCOL_CASE_LEVEL, UCOL_ON, &status); in TestChooonKigoo()
Dcapitst.c128 ucol_setAttribute(coll, currAttr, UCOL_DEFAULT, &status); in TestGetSetAttr()
139 ucol_setAttribute(coll, currAttr, attrs[i].val[j], &status); in TestGetSetAttr()
146 ucol_setAttribute(coll, currAttr, attrs[i].nonValue, &status); in TestGetSetAttr()
153 ucol_setAttribute(coll, currAttr, value, &status); in TestGetSetAttr()
165 ucol_setAttribute(coll, UCOL_ATTRIBUTE_COUNT, UCOL_DEFAULT, &status); in TestGetSetAttr()
801 ucol_setAttribute(someCollators[idx], UCOL_CASE_LEVEL, UCOL_OFF, &err); in TestSafeClone()
809 ucol_setAttribute(someClonedCollators[idx], UCOL_CASE_LEVEL, UCOL_OFF, &err); in TestSafeClone()
1112 ucol_setAttribute(col, UCOL_STRENGTH, UCOL_IDENTICAL, &status); in TestSortKey()
1192 ucol_setAttribute(col, UCOL_STRENGTH, UCOL_TERTIARY, &status); in TestSortKey()
1281 ucol_setAttribute(col, UCOL_NORMALIZATION_MODE, UCOL_OFF, &status); in TestElemIter()
[all …]
Dcfrtst.c154 ucol_setAttribute(myCollation, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); in TestTertiary()
178 ucol_setAttribute(myCollation, UCOL_STRENGTH, UCOL_SECONDARY, &status); in TestSecondary()
Dcallcoll.c340 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in doTestVariant()
345 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); in doTestVariant()
384 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in doTestVariant()
386 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); in doTestVariant()
676 ucol_setAttribute(coll, attrs[i], values[i], &status); in genericRulesStarterWithOptionsAndResult()
698 ucol_setAttribute(coll, attrs[i], values[i], &status); in genericLocaleStarterWithOptionsAndResult()
930 ucol_setAttribute(myCollator, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestJB1401()
1042 ucol_setAttribute(enCollation, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, in TestVariableTop()
1044 ucol_setAttribute(myCollation, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, in TestVariableTop()
1277 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestFCDCrash()
Dcmsccoll.c194 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_OFF, &status); in BlackBirdTest()
195 ucol_setAttribute(coll, UCOL_ALTERNATE_HANDLING, UCOL_NON_IGNORABLE, &status); in BlackBirdTest()
208 ucol_setAttribute(coll, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); in BlackBirdTest()
209 ucol_setAttribute(coll, UCOL_STRENGTH, UCOL_QUATERNARY, &status); in BlackBirdTest()
222 ucol_setAttribute(coll, UCOL_STRENGTH, UCOL_TERTIARY, &status); in BlackBirdTest()
273 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in FunkyATest()
359 ucol_setAttribute(coll, UCOL_CASE_FIRST, caseFirst[i], &status);
363 ucol_setAttribute(coll, UCOL_ALTERNATE_HANDLING, alternateHandling[i], &status);
367 ucol_setAttribute(coll, UCOL_CASE_LEVEL, caseLevel[j], &status);
371 ucol_setAttribute(coll, UCOL_STRENGTH, strengths[k], &status);
[all …]
Dcg7coll.c152 ucol_setAttribute(myCollation, UCOL_STRENGTH, UCOL_QUATERNARY, &status); in TestG7Locales()
153 ucol_setAttribute(myCollation, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); in TestG7Locales()
/external/chromium_org/third_party/icu/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()
245 ucol_setAttribute(myCollation, UCOL_STRENGTH, UCOL_QUATERNARY, &status); in TestChooonKigoo()
246 ucol_setAttribute(myCollation, UCOL_CASE_LEVEL, UCOL_ON, &status); in TestChooonKigoo()
Dcapitst.c167 ucol_setAttribute(coll, currAttr, UCOL_DEFAULT, &status); in TestGetSetAttr()
178 ucol_setAttribute(coll, currAttr, attrs[i].val[j], &status); in TestGetSetAttr()
185 ucol_setAttribute(coll, currAttr, attrs[i].nonValue, &status); in TestGetSetAttr()
192 ucol_setAttribute(coll, currAttr, value, &status); in TestGetSetAttr()
204 ucol_setAttribute(coll, UCOL_ATTRIBUTE_COUNT, UCOL_DEFAULT, &status); in TestGetSetAttr()
802 ucol_setAttribute(someCollators[index], UCOL_CASE_LEVEL, UCOL_OFF, &err); in TestSafeClone()
810 ucol_setAttribute(someClonedCollators[index], UCOL_CASE_LEVEL, UCOL_OFF, &err); in TestSafeClone()
1038 ucol_setAttribute(col, UCOL_STRENGTH, UCOL_IDENTICAL, &status); in TestSortKey()
1118 ucol_setAttribute(col, UCOL_STRENGTH, UCOL_TERTIARY, &status); in TestSortKey()
1207 ucol_setAttribute(col, UCOL_NORMALIZATION_MODE, UCOL_OFF, &status); in TestElemIter()
[all …]
Dcfrtst.c154 ucol_setAttribute(myCollation, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); in TestTertiary()
178 ucol_setAttribute(myCollation, UCOL_STRENGTH, UCOL_SECONDARY, &status); in TestSecondary()
Dcallcoll.c307 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in doTestVariant()
311 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); in doTestVariant()
349 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in doTestVariant()
351 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); in doTestVariant()
648 ucol_setAttribute(coll, attrs[i], values[i], &status); in genericRulesStarterWithOptionsAndResult()
670 ucol_setAttribute(coll, attrs[i], values[i], &status); in genericLocaleStarterWithOptionsAndResult()
902 ucol_setAttribute(myCollator, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestJB1401()
1014 ucol_setAttribute(enCollation, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, in TestVariableTop()
1016 ucol_setAttribute(myCollation, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, in TestVariableTop()
1249 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestFCDCrash()
Dcmsccoll.c193 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_OFF, &status); in BlackBirdTest()
194 ucol_setAttribute(coll, UCOL_ALTERNATE_HANDLING, UCOL_NON_IGNORABLE, &status); in BlackBirdTest()
207 ucol_setAttribute(coll, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); in BlackBirdTest()
208 ucol_setAttribute(coll, UCOL_STRENGTH, UCOL_QUATERNARY, &status); in BlackBirdTest()
221 ucol_setAttribute(coll, UCOL_STRENGTH, UCOL_TERTIARY, &status); in BlackBirdTest()
272 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in FunkyATest()
358 ucol_setAttribute(coll, UCOL_CASE_FIRST, caseFirst[i], &status);
362 ucol_setAttribute(coll, UCOL_ALTERNATE_HANDLING, alternateHandling[i], &status);
366 ucol_setAttribute(coll, UCOL_CASE_LEVEL, caseLevel[j], &status);
370 ucol_setAttribute(coll, UCOL_STRENGTH, strengths[k], &status);
[all …]
Dcg7coll.c148 ucol_setAttribute(myCollation, UCOL_STRENGTH, UCOL_QUATERNARY, &status); in TestG7Locales()
149 ucol_setAttribute(myCollation, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); in TestG7Locales()
Dusrchtst.c488 ucol_setAttribute(collator, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in assertCanonicalEqual()
507 ucol_setAttribute(collator, UCOL_NORMALIZATION_MODE, UCOL_OFF, &status); in assertCanonicalEqual()
576 ucol_setAttribute(EN_US_, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestNormExact()
594 ucol_setAttribute(EN_US_, UCOL_NORMALIZATION_MODE, UCOL_OFF, &status); in TestNormExact()
737 ucol_setAttribute(EN_US_, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); in TestVariable()
749 ucol_setAttribute(EN_US_, UCOL_ALTERNATE_HANDLING, in TestVariable()
1718 ucol_setAttribute(EN_US_, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestNormCanonical()
1726 ucol_setAttribute(EN_US_, UCOL_NORMALIZATION_MODE, UCOL_OFF, &status); in TestNormCanonical()
1838 ucol_setAttribute(EN_US_, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); in TestVariableCanonical()
1850 ucol_setAttribute(EN_US_, UCOL_ALTERNATE_HANDLING, in TestVariableCanonical()
[all …]
Dcdetst.c111 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestTertiary()
/external/chromium_org/third_party/icu/source/test/perf/collperf/
Dcollperf.cpp603 ucol_setAttribute(col, UCOL_FRENCH_COLLATION, UCOL_ON, &status); in CollPerfTest()
605 ucol_setAttribute(col, UCOL_FRENCH_COLLATION, UCOL_OFF, &status); in CollPerfTest()
609 ucol_setAttribute(col, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); in CollPerfTest()
614 ucol_setAttribute(col, UCOL_CASE_FIRST, UCOL_LOWER_FIRST, &status); in CollPerfTest()
616 ucol_setAttribute(col, UCOL_CASE_FIRST, UCOL_UPPER_FIRST, &status); in CollPerfTest()
624 ucol_setAttribute(col, UCOL_CASE_LEVEL, UCOL_ON, &status); in CollPerfTest()
628 ucol_setAttribute(col, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in CollPerfTest()
639 case 1: ucol_setAttribute(col, UCOL_STRENGTH, UCOL_PRIMARY, &status); break; in CollPerfTest()
640 case 2: ucol_setAttribute(col, UCOL_STRENGTH, UCOL_SECONDARY, &status); break; in CollPerfTest()
641 case 3: ucol_setAttribute(col, UCOL_STRENGTH, UCOL_TERTIARY, &status); break; in CollPerfTest()
[all …]
/external/icu4c/test/perf/collperf/
Dcollperf.cpp614 ucol_setAttribute(col, UCOL_FRENCH_COLLATION, UCOL_ON, &status); in CollPerfTest()
616 ucol_setAttribute(col, UCOL_FRENCH_COLLATION, UCOL_OFF, &status); in CollPerfTest()
620 ucol_setAttribute(col, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); in CollPerfTest()
625 ucol_setAttribute(col, UCOL_CASE_FIRST, UCOL_LOWER_FIRST, &status); in CollPerfTest()
627 ucol_setAttribute(col, UCOL_CASE_FIRST, UCOL_UPPER_FIRST, &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()
650 case 1: ucol_setAttribute(col, UCOL_STRENGTH, UCOL_PRIMARY, &status); break; in CollPerfTest()
651 case 2: ucol_setAttribute(col, UCOL_STRENGTH, UCOL_SECONDARY, &status); break; in CollPerfTest()
652 case 3: ucol_setAttribute(col, UCOL_STRENGTH, UCOL_TERTIARY, &status); break; in CollPerfTest()
[all …]
/external/chromium_org/third_party/WebKit/Source/wtf/unicode/icu/
DCollatorICU.cpp128ucol_setAttribute(m_collator, UCOL_CASE_FIRST, m_lowerFirst ? UCOL_LOWER_FIRST : UCOL_UPPER_FIRST,… in createCollator()
131 ucol_setAttribute(m_collator, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in createCollator()
/external/chromium_org/third_party/icu/source/test/perf/collationperf/
Dcollperf.cpp1453 ucol_setAttribute(gCol, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in main()
1460 ucol_setAttribute(gCol, UCOL_FRENCH_COLLATION, UCOL_ON, &status); in main()
1463 ucol_setAttribute(gCol, UCOL_FRENCH_COLLATION, UCOL_OFF, &status); in main()
1466 ucol_setAttribute(gCol, UCOL_CASE_FIRST, UCOL_LOWER_FIRST, &status); in main()
1469 ucol_setAttribute(gCol, UCOL_CASE_FIRST, UCOL_UPPER_FIRST, &status); in main()
1472 ucol_setAttribute(gCol, UCOL_CASE_LEVEL, UCOL_ON, &status); in main()
1475 ucol_setAttribute(gCol, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); in main()
1480 ucol_setAttribute(gCol, UCOL_STRENGTH, UCOL_PRIMARY, &status); in main()
1483 ucol_setAttribute(gCol, UCOL_STRENGTH, UCOL_SECONDARY, &status); in main()
1486 ucol_setAttribute(gCol, UCOL_STRENGTH, UCOL_TERTIARY, &status); in main()
[all …]
/external/icu4c/test/perf/collationperf/
Dcollperf.cpp1459 ucol_setAttribute(gCol, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in main()
1466 ucol_setAttribute(gCol, UCOL_FRENCH_COLLATION, UCOL_ON, &status); in main()
1469 ucol_setAttribute(gCol, UCOL_FRENCH_COLLATION, UCOL_OFF, &status); in main()
1472 ucol_setAttribute(gCol, UCOL_CASE_FIRST, UCOL_LOWER_FIRST, &status); in main()
1475 ucol_setAttribute(gCol, UCOL_CASE_FIRST, UCOL_UPPER_FIRST, &status); in main()
1478 ucol_setAttribute(gCol, UCOL_CASE_LEVEL, UCOL_ON, &status); in main()
1481 ucol_setAttribute(gCol, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); in main()
1486 ucol_setAttribute(gCol, UCOL_STRENGTH, UCOL_PRIMARY, &status); in main()
1489 ucol_setAttribute(gCol, UCOL_STRENGTH, UCOL_SECONDARY, &status); in main()
1492 ucol_setAttribute(gCol, UCOL_STRENGTH, UCOL_TERTIARY, &status); in main()
[all …]
/external/icu4c/test/intltest/
Dtscoll.cpp196 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in doTestVariant()
200 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); in doTestVariant()
236 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in doTestVariant()
238 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); in doTestVariant()

12