Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/samples/coll/
Dcoll.cpp189 ucol_setAttribute(collator, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in processCollator()
192 ucol_setAttribute(collator, UCOL_FRENCH_COLLATION, UCOL_ON, &status); in processCollator()
195 ucol_setAttribute(collator, UCOL_CASE_FIRST, UCOL_LOWER_FIRST, in processCollator()
199 ucol_setAttribute(collator, UCOL_CASE_FIRST, UCOL_UPPER_FIRST, in processCollator()
203 ucol_setAttribute(collator, UCOL_CASE_LEVEL, UCOL_ON, &status); in processCollator()
206 ucol_setAttribute(collator, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, in processCollator()
212 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_PRIMARY, &status); in processCollator()
215 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_SECONDARY, in processCollator()
219 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_TERTIARY, &status); in processCollator()
222 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_QUATERNARY, in processCollator()
[all …]
/external/icu/icu4c/source/samples/strsrch/
Dstrsrch.cpp179 ucol_setAttribute(collator, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in processCollator()
182 ucol_setAttribute(collator, UCOL_FRENCH_COLLATION, UCOL_ON, &status); in processCollator()
185 ucol_setAttribute(collator, UCOL_CASE_FIRST, UCOL_LOWER_FIRST, in processCollator()
189 ucol_setAttribute(collator, UCOL_CASE_FIRST, UCOL_UPPER_FIRST, in processCollator()
193 ucol_setAttribute(collator, UCOL_CASE_LEVEL, UCOL_ON, &status); in processCollator()
196 ucol_setAttribute(collator, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, in processCollator()
202 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_PRIMARY, &status); in processCollator()
205 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_SECONDARY, in processCollator()
209 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_TERTIARY, &status); in processCollator()
212 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_QUATERNARY, in processCollator()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcjaptst.c129 ucol_setAttribute(myCollation, UCOL_CASE_LEVEL, UCOL_ON, &status); in TestTertiary()
197 ucol_setAttribute(myCollation, UCOL_CASE_LEVEL, UCOL_ON, &status); in TestSmallLarge()
222 ucol_setAttribute(myCollation, UCOL_CASE_LEVEL, UCOL_ON, &status); in TestKatakanaHiragana()
247 ucol_setAttribute(myCollation, UCOL_STRENGTH, UCOL_QUATERNARY, &status); in TestChooonKigoo()
248 ucol_setAttribute(myCollation, UCOL_CASE_LEVEL, UCOL_ON, &status); in TestChooonKigoo()
Dcapitst.c123 ucol_setAttribute(coll, currAttr, UCOL_DEFAULT, &status); in TestGetSetAttr()
134 ucol_setAttribute(coll, currAttr, attrs[i].val[j], &status); in TestGetSetAttr()
141 ucol_setAttribute(coll, currAttr, attrs[i].nonValue, &status); in TestGetSetAttr()
148 ucol_setAttribute(coll, currAttr, value, &status); in TestGetSetAttr()
160 ucol_setAttribute(coll, UCOL_ATTRIBUTE_COUNT, UCOL_DEFAULT, &status); in TestGetSetAttr()
793 ucol_setAttribute(someCollators[idx], UCOL_CASE_LEVEL, UCOL_OFF, &err); in TestSafeClone()
801 ucol_setAttribute(someClonedCollators[idx], UCOL_CASE_LEVEL, UCOL_OFF, &err); in TestSafeClone()
1111 ucol_setAttribute(col, UCOL_STRENGTH, UCOL_IDENTICAL, &status); in TestSortKey()
1191 ucol_setAttribute(col, UCOL_STRENGTH, UCOL_TERTIARY, &status); in TestSortKey()
1280 ucol_setAttribute(col, UCOL_NORMALIZATION_MODE, UCOL_OFF, &status); in TestElemIter()
[all …]
Dcmsccoll.c192 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_OFF, &status); in BlackBirdTest()
193 ucol_setAttribute(coll, UCOL_ALTERNATE_HANDLING, UCOL_NON_IGNORABLE, &status); in BlackBirdTest()
206 ucol_setAttribute(coll, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); in BlackBirdTest()
207 ucol_setAttribute(coll, UCOL_STRENGTH, UCOL_QUATERNARY, &status); in BlackBirdTest()
220 ucol_setAttribute(coll, UCOL_STRENGTH, UCOL_TERTIARY, &status); in BlackBirdTest()
271 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in FunkyATest()
357 ucol_setAttribute(coll, UCOL_CASE_FIRST, caseFirst[i], &status);
361 ucol_setAttribute(coll, UCOL_ALTERNATE_HANDLING, alternateHandling[i], &status);
365 ucol_setAttribute(coll, UCOL_CASE_LEVEL, caseLevel[j], &status);
369 ucol_setAttribute(coll, UCOL_STRENGTH, strengths[k], &status);
[all …]
Dcfrtst.c157 ucol_setAttribute(myCollation, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); in TestTertiary()
181 ucol_setAttribute(myCollation, UCOL_STRENGTH, UCOL_SECONDARY, &status); in TestSecondary()
Dcallcoll.c345 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in doTestVariant()
350 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); in doTestVariant()
389 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in doTestVariant()
391 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); in doTestVariant()
682 ucol_setAttribute(coll, attrs[i], values[i], &status); in genericRulesStarterWithOptionsAndResult()
704 ucol_setAttribute(coll, attrs[i], values[i], &status); in genericLocaleStarterWithOptionsAndResult()
937 ucol_setAttribute(myCollator, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestJB1401()
1056 ucol_setAttribute(enCollation, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, in TestVariableTop()
1058 ucol_setAttribute(myCollation, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, in TestVariableTop()
1295 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestFCDCrash()
Dcg7coll.c150 ucol_setAttribute(myCollation, UCOL_STRENGTH, UCOL_QUATERNARY, &status); in TestG7Locales()
151 ucol_setAttribute(myCollation, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); in TestG7Locales()
Dusrchtst.c589 ucol_setAttribute(collator, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in assertCanonicalEqual()
608 ucol_setAttribute(collator, UCOL_NORMALIZATION_MODE, UCOL_OFF, &status); in assertCanonicalEqual()
677 ucol_setAttribute(EN_US_, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestNormExact()
695 ucol_setAttribute(EN_US_, UCOL_NORMALIZATION_MODE, UCOL_OFF, &status); in TestNormExact()
838 ucol_setAttribute(EN_US_, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); in TestVariable()
850 ucol_setAttribute(EN_US_, UCOL_ALTERNATE_HANDLING, in TestVariable()
1819 ucol_setAttribute(EN_US_, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestNormCanonical()
1827 ucol_setAttribute(EN_US_, UCOL_NORMALIZATION_MODE, UCOL_OFF, &status); in TestNormCanonical()
1939 ucol_setAttribute(EN_US_, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); in TestVariableCanonical()
1951 ucol_setAttribute(EN_US_, UCOL_ALTERNATE_HANDLING, in TestVariableCanonical()
[all …]
Dcdetst.c113 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestTertiary()
Dcitertst.c155 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestBug672Normalize()
371 ucol_setAttribute(coll, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestNormalization()
638 ucol_setAttribute(en_us, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in TestOffset()
/external/icu/icu4c/source/test/perf/collperf/
Dcollperf.cpp620 ucol_setAttribute(col, UCOL_FRENCH_COLLATION, UCOL_ON, &status); in CollPerfTest()
622 ucol_setAttribute(col, UCOL_FRENCH_COLLATION, UCOL_OFF, &status); in CollPerfTest()
626 ucol_setAttribute(col, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); in CollPerfTest()
631 ucol_setAttribute(col, UCOL_CASE_FIRST, UCOL_LOWER_FIRST, &status); in CollPerfTest()
633 ucol_setAttribute(col, UCOL_CASE_FIRST, UCOL_UPPER_FIRST, &status); in CollPerfTest()
641 ucol_setAttribute(col, UCOL_CASE_LEVEL, UCOL_ON, &status); in CollPerfTest()
645 ucol_setAttribute(col, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in CollPerfTest()
656 case 1: ucol_setAttribute(col, UCOL_STRENGTH, UCOL_PRIMARY, &status); break; in CollPerfTest()
657 case 2: ucol_setAttribute(col, UCOL_STRENGTH, UCOL_SECONDARY, &status); break; in CollPerfTest()
658 case 3: ucol_setAttribute(col, UCOL_STRENGTH, UCOL_TERTIARY, &status); break; in CollPerfTest()
[all …]
/external/icu/icu4c/source/test/perf/collationperf/
Dcollperf.cpp1462 ucol_setAttribute(gCol, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in main()
1469 ucol_setAttribute(gCol, UCOL_FRENCH_COLLATION, UCOL_ON, &status); in main()
1472 ucol_setAttribute(gCol, UCOL_FRENCH_COLLATION, UCOL_OFF, &status); in main()
1475 ucol_setAttribute(gCol, UCOL_CASE_FIRST, UCOL_LOWER_FIRST, &status); in main()
1478 ucol_setAttribute(gCol, UCOL_CASE_FIRST, UCOL_UPPER_FIRST, &status); in main()
1481 ucol_setAttribute(gCol, UCOL_CASE_LEVEL, UCOL_ON, &status); in main()
1484 ucol_setAttribute(gCol, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); in main()
1489 ucol_setAttribute(gCol, UCOL_STRENGTH, UCOL_PRIMARY, &status); in main()
1492 ucol_setAttribute(gCol, UCOL_STRENGTH, UCOL_SECONDARY, &status); in main()
1495 ucol_setAttribute(gCol, UCOL_STRENGTH, UCOL_TERTIARY, &status); in main()
[all …]
/external/icu/icu4c/source/test/intltest/
Dtscoll.cpp180 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in doTestVariant()
184 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); in doTestVariant()
220 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in doTestVariant()
222 ucol_setAttribute(myCollation, UCOL_NORMALIZATION_MODE, norm, &status); in doTestVariant()
Dssearch.cpp271 ucol_setAttribute(collator.getAlias(), UCOL_NORMALIZATION_MODE, normalize, &status); in searchTest()
272 ucol_setAttribute(collator.getAlias(), UCOL_ALTERNATE_HANDLING, alternateHandling, &status); in searchTest()
/external/sqlite/android/
Dsqlite3_android.cpp444 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_PRIMARY, &status); in register_localized_collators()
486 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_PRIMARY, &status); in register_localized_collators()
/external/icu/tools/icu4c_srcgen/
Dlibandroidicu_allowlisted_api.txt93 ucol_setAttribute
/external/icu/icu4c/source/i18n/
Ducol.cpp340 ucol_setAttribute(UCollator *coll, UColAttribute attr, UColAttributeValue value, UErrorCode *status… in ucol_setAttribute() function
362 ucol_setAttribute(coll, UCOL_STRENGTH, strength, &status); in ucol_setStrength()
Ducol_sit.cpp536 ucol_setAttribute(result, (UColAttribute)i, s.options[i], status); in ucol_openFromShortString()
/external/icu/libandroidicu/include/unicode/
Ducol.h1209 ucol_setAttribute(UCollator *coll, UColAttribute attr, UColAttributeValue value, UErrorCode *status…
/external/icu/libicu/cts_headers/unicode/
Ducol.h1209 ucol_setAttribute(UCollator *coll, UColAttribute attr, UColAttributeValue value, UErrorCode *status…
Durename.h775 #define ucol_setAttribute U_ICU_ENTRY_POINT_RENAME(ucol_setAttribute) macro
/external/icu/icu4c/source/i18n/unicode/
Ducol.h1209 ucol_setAttribute(UCollator *coll, UColAttribute attr, UColAttributeValue value, UErrorCode *status…
/external/icu/libandroidicu/static_shim/
Dshim.cpp281 ucol_setAttribute(coll, attr, value, status); in ucol_setAttribute_android()
/external/icu/icu4c/source/common/unicode/
Durename.h775 #define ucol_setAttribute U_ICU_ENTRY_POINT_RENAME(ucol_setAttribute) macro

12