Home
last modified time | relevance | path

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

/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()
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/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()
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/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()
245 ucol_setAttribute(myCollation, UCOL_STRENGTH, UCOL_QUATERNARY, &status); in TestChooonKigoo()
246 ucol_setAttribute(myCollation, UCOL_CASE_LEVEL, UCOL_ON, &status); in TestChooonKigoo()
Dcapitst.c120 ucol_setAttribute(coll, currAttr, UCOL_DEFAULT, &status); in TestGetSetAttr()
131 ucol_setAttribute(coll, currAttr, attrs[i].val[j], &status); in TestGetSetAttr()
138 ucol_setAttribute(coll, currAttr, attrs[i].nonValue, &status); in TestGetSetAttr()
145 ucol_setAttribute(coll, currAttr, value, &status); in TestGetSetAttr()
157 ucol_setAttribute(coll, UCOL_ATTRIBUTE_COUNT, UCOL_DEFAULT, &status); in TestGetSetAttr()
790 ucol_setAttribute(someCollators[idx], UCOL_CASE_LEVEL, UCOL_OFF, &err); in TestSafeClone()
798 ucol_setAttribute(someClonedCollators[idx], UCOL_CASE_LEVEL, UCOL_OFF, &err); in TestSafeClone()
1108 ucol_setAttribute(col, UCOL_STRENGTH, UCOL_IDENTICAL, &status); in TestSortKey()
1188 ucol_setAttribute(col, UCOL_STRENGTH, UCOL_TERTIARY, &status); in TestSortKey()
1277 ucol_setAttribute(col, UCOL_NORMALIZATION_MODE, UCOL_OFF, &status); in TestElemIter()
[all …]
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 …]
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()
677 ucol_setAttribute(coll, attrs[i], values[i], &status); in genericRulesStarterWithOptionsAndResult()
699 ucol_setAttribute(coll, attrs[i], values[i], &status); in genericLocaleStarterWithOptionsAndResult()
932 ucol_setAttribute(myCollator, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestJB1401()
1051 ucol_setAttribute(enCollation, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, in TestVariableTop()
1053 ucol_setAttribute(myCollation, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, in TestVariableTop()
1290 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestFCDCrash()
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.c587 ucol_setAttribute(collator, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in assertCanonicalEqual()
606 ucol_setAttribute(collator, UCOL_NORMALIZATION_MODE, UCOL_OFF, &status); in assertCanonicalEqual()
675 ucol_setAttribute(EN_US_, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestNormExact()
693 ucol_setAttribute(EN_US_, UCOL_NORMALIZATION_MODE, UCOL_OFF, &status); in TestNormExact()
836 ucol_setAttribute(EN_US_, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); in TestVariable()
848 ucol_setAttribute(EN_US_, UCOL_ALTERNATE_HANDLING, in TestVariable()
1817 ucol_setAttribute(EN_US_, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestNormCanonical()
1825 ucol_setAttribute(EN_US_, UCOL_NORMALIZATION_MODE, UCOL_OFF, &status); in TestNormCanonical()
1937 ucol_setAttribute(EN_US_, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); in TestVariableCanonical()
1949 ucol_setAttribute(EN_US_, UCOL_ALTERNATE_HANDLING, in TestVariableCanonical()
[all …]
Dcdetst.c111 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestTertiary()
Dcitertst.c152 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestBug672Normalize()
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/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/icu/icu4c/source/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/icu/icu4c/source/test/intltest/
Dtscoll.cpp178 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in doTestVariant()
182 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); in doTestVariant()
218 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in doTestVariant()
220 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); in doTestVariant()
Dssearch.cpp260 ucol_setAttribute(collator.getAlias(), UCOL_NORMALIZATION_MODE, normalize, &status); in searchTest()
261 ucol_setAttribute(collator.getAlias(), UCOL_ALTERNATE_HANDLING, alternateHandling, &status); in searchTest()
/external/sqlite/android/
Dsqlite3_android.cpp427 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_PRIMARY, &status); in register_localized_collators()
471 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_PRIMARY, &status); in register_localized_collators()
/external/icu/icu4c/source/i18n/
Ducol.cpp337 ucol_setAttribute(UCollator *coll, UColAttribute attr, UColAttributeValue value, UErrorCode *status… in ucol_setAttribute() function
359 ucol_setAttribute(coll, UCOL_STRENGTH, strength, &status); in ucol_setStrength()
Ducol_sit.cpp530 ucol_setAttribute(result, (UColAttribute)i, s.options[i], status); in ucol_openFromShortString()
/external/icu/icu4c/source/i18n/unicode/
Ducol.h1187 ucol_setAttribute(UCollator *coll, UColAttribute attr, UColAttributeValue value, UErrorCode *status…
/external/icu/icu4c/source/common/unicode/
Durename.h752 #define ucol_setAttribute U_ICU_ENTRY_POINT_RENAME(ucol_setAttribute) macro