Home
last modified time | relevance | path

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

/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.c122 ucol_setAttribute(coll, currAttr, UCOL_DEFAULT, &status); in TestGetSetAttr()
133 ucol_setAttribute(coll, currAttr, attrs[i].val[j], &status); in TestGetSetAttr()
140 ucol_setAttribute(coll, currAttr, attrs[i].nonValue, &status); in TestGetSetAttr()
147 ucol_setAttribute(coll, currAttr, value, &status); in TestGetSetAttr()
159 ucol_setAttribute(coll, UCOL_ATTRIBUTE_COUNT, UCOL_DEFAULT, &status); in TestGetSetAttr()
792 ucol_setAttribute(someCollators[idx], UCOL_CASE_LEVEL, UCOL_OFF, &err); in TestSafeClone()
800 ucol_setAttribute(someClonedCollators[idx], UCOL_CASE_LEVEL, UCOL_OFF, &err); in TestSafeClone()
1110 ucol_setAttribute(col, UCOL_STRENGTH, UCOL_IDENTICAL, &status); in TestSortKey()
1190 ucol_setAttribute(col, UCOL_STRENGTH, UCOL_TERTIARY, &status); in TestSortKey()
1279 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 …]
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()
Dcfrtst.c157 ucol_setAttribute(myCollation, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); in TestTertiary()
181 ucol_setAttribute(myCollation, UCOL_STRENGTH, UCOL_SECONDARY, &status); in TestSecondary()
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.cpp1463 ucol_setAttribute(gCol, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); in main()
1470 ucol_setAttribute(gCol, UCOL_FRENCH_COLLATION, UCOL_ON, &status); in main()
1473 ucol_setAttribute(gCol, UCOL_FRENCH_COLLATION, UCOL_OFF, &status); in main()
1476 ucol_setAttribute(gCol, UCOL_CASE_FIRST, UCOL_LOWER_FIRST, &status); in main()
1479 ucol_setAttribute(gCol, UCOL_CASE_FIRST, UCOL_UPPER_FIRST, &status); in main()
1482 ucol_setAttribute(gCol, UCOL_CASE_LEVEL, UCOL_ON, &status); in main()
1485 ucol_setAttribute(gCol, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); in main()
1490 ucol_setAttribute(gCol, UCOL_STRENGTH, UCOL_PRIMARY, &status); in main()
1493 ucol_setAttribute(gCol, UCOL_STRENGTH, UCOL_SECONDARY, &status); in main()
1496 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.cpp261 ucol_setAttribute(collator.getAlias(), UCOL_NORMALIZATION_MODE, normalize, &status); in searchTest()
262 ucol_setAttribute(collator.getAlias(), UCOL_ALTERNATE_HANDLING, alternateHandling, &status); in searchTest()
/external/sqlite/android/
Dsqlite3_android.cpp438 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_PRIMARY, &status); in register_localized_collators()
480 ucol_setAttribute(collator, UCOL_STRENGTH, UCOL_PRIMARY, &status); in register_localized_collators()
/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.cpp539 ucol_setAttribute(result, (UColAttribute)i, s.options[i], status); in ucol_openFromShortString()
/external/icu/libandroidicu/include/unicode/
Ducol.h1204 ucol_setAttribute(UCollator *coll, UColAttribute attr, UColAttributeValue value, UErrorCode *status…
Durename.h758 #define ucol_setAttribute U_ICU_ENTRY_POINT_RENAME(ucol_setAttribute) macro
/external/icu/icu4c/source/i18n/unicode/
Ducol.h1204 ucol_setAttribute(UCollator *coll, UColAttribute attr, UColAttributeValue value, UErrorCode *status…
/external/icu/icu4c/source/common/unicode/
Durename.h758 #define ucol_setAttribute U_ICU_ENTRY_POINT_RENAME(ucol_setAttribute) macro
/external/icu/libandroidicu/static_shim/
Dshim.cpp1247 ucol_setAttribute(coll, attr, value, status); in ucol_setAttribute_android()