Home
last modified time | relevance | path

Searched refs:setStrength (Results 1 – 25 of 112) sorted by relevance

12345

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DCollatorTest.java30 c.setStrength(Collator.SECONDARY); in testHashCode()
32 c2.setStrength(Collator.SECONDARY); in testHashCode()
34 cn.setStrength(Collator.TERTIARY); in testHashCode()
50 c.setStrength(Collator.PRIMARY); in testSetStrength()
52 c.setStrength(Collator.SECONDARY); in testSetStrength()
54 c.setStrength(Collator.TERTIARY); in testSetStrength()
57 c.setStrength(Collator.QUATERNARY); in testSetStrength()
66 c.setStrength(Collator.TERTIARY); in testSetDecomposition()
128 c.setStrength(Collator.PRIMARY); in testGetStrength()
130 c.setStrength(Collator.SECONDARY); in testGetStrength()
[all …]
DCollationKeyTest.java22 c.setStrength(Collator.PRIMARY); in testHashCode()
25 c.setStrength(Collator.TERTIARY); in testHashCode()
42 c.setStrength(Collator.PRIMARY); in testCompareToCollationKey()
45 c.setStrength(Collator.TERTIARY); in testCompareToCollationKey()
56 c.setStrength(Collator.PRIMARY); in testCompareToObject()
67 c.setStrength(Collator.PRIMARY); in testEqualsObject()
78 c.setStrength(Collator.PRIMARY); in testToString()
88 c.setStrength(Collator.PRIMARY); in testGetSourceString()
98 c.setStrength(Collator.PRIMARY); in testToByteArray()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DCollatorICU.java144 fIcuCollator.setStrength(Collator.IDENTICAL); in setDecomposition()
152 public void setStrength(int newStrength) { in setStrength() method in CollatorICU
155 fIcuCollator.setStrength(Collator.IDENTICAL); in setStrength()
158 fIcuCollator.setStrength(Collator.PRIMARY); in setStrength()
161 fIcuCollator.setStrength(Collator.SECONDARY); in setStrength()
164 fIcuCollator.setStrength(Collator.TERTIARY); in setStrength()
/external/icu/icu4c/source/test/intltest/
Djacoll.cpp110 myCollation->setStrength(Collator::TERTIARY); in TestTertiary()
124 myCollation->setStrength(Collator::PRIMARY); in TestBase()
133 myCollation->setStrength(Collator::SECONDARY); in TestPlainDakutenHandakuten()
146 myCollation->setStrength(Collator::TERTIARY); in TestSmallLarge()
159 myCollation->setStrength(Collator::QUATERNARY); in TestKatakanaHiragana()
174 myCollation->setStrength(Collator::QUATERNARY); in TestChooonKigoo()
Dallcoll.cpp98 myCollation->setStrength(Collator::TERTIARY); in TestTertiary()
110 myCollation->setStrength(Collator::PRIMARY); in TestPrimary()
126 myCollation->setStrength(Collator::SECONDARY); in TestSecondary()
136 myCollation->setStrength(Collator::TERTIARY); in TestExtra()
149 myCollation->setStrength(Collator::IDENTICAL); in TestIdentical()
176 coll->setStrength(Collator::PRIMARY); in TestJB581()
Dmnkytst.cpp94 myCollator->setStrength(Collator::TERTIARY); in TestCollationKey()
101 myCollator->setStrength(Collator::SECONDARY); in TestCollationKey()
108 myCollator->setStrength(Collator::PRIMARY); in TestCollationKey()
166 myCollator->setStrength(Collator::TERTIARY); in TestCompare()
171 myCollator->setStrength(Collator::SECONDARY); in TestCompare()
176 myCollator->setStrength(Collator::PRIMARY); in TestCompare()
Dregcoll.cpp189 c->setStrength(Collator::IDENTICAL); in Test4054734()
206 c->setStrength(Collator::SECONDARY); in Test4054736()
342 c->setStrength(Collator::TERTIARY); in Test4060154()
357 c->setStrength(Collator::PRIMARY); in Test4060154()
382 c->setStrength(Collator::SECONDARY); in Test4062418()
462 c->setStrength(Collator::SECONDARY); in Test4066696()
499 c->setStrength(Collator::TERTIARY); in Test4076676()
577 c->setStrength(Collator::TERTIARY); in Test4081866()
611 c->setStrength(Collator::SECONDARY); in Test4087241()
632 c->setStrength(Collator::TERTIARY); in Test4087243()
[all …]
Dfrcoll.cpp144 myCollation->setStrength(Collator::TERTIARY); in TestTertiary()
167 myCollation->setStrength(Collator::SECONDARY); in TestSecondary()
192 myCollation->setStrength(Collator::TERTIARY); in TestExtra()
Dsrchtest.cpp489 collator->setStrength(getECollationStrength(search->strength)); in assertEqual()
498 collator->setStrength(getECollationStrength(UCOL_TERTIARY)); in assertEqual()
509 collator->setStrength(getECollationStrength(UCOL_TERTIARY)); in assertEqual()
516 collator->setStrength(getECollationStrength(UCOL_TERTIARY)); in assertEqual()
548 collator->setStrength(getECollationStrength(search->strength)); in assertCanonicalEqual()
565 collator->setStrength(getECollationStrength(UCOL_TERTIARY)); in assertCanonicalEqual()
601 collator->setStrength(getECollationStrength(search->strength)); in assertEqualWithAttribute()
613 collator->setStrength(getECollationStrength(UCOL_TERTIARY)); in assertEqualWithAttribute()
617 collator->setStrength(getECollationStrength(UCOL_TERTIARY)); in assertEqualWithAttribute()
922 collator->setStrength(getECollationStrength(search->strength)); in TestBreakIterator()
[all …]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationDummyTest.java191 myCollation.setStrength(Collator.TERTIARY); in TestTertiary()
201 myCollation.setStrength(Collator.PRIMARY); in TestPrimary()
211 myCollation.setStrength(Collator.SECONDARY); in TestSecondary()
221 myCollation.setStrength(Collator.TERTIARY); in TestExtra()
232 myCollation.setStrength(Collator.IDENTICAL); in TestIdentical()
258 coll.setStrength(Collator.PRIMARY); in TestJB581()
308 myCollation.setStrength(Collator.TERTIARY); in TestSurrogates()
378 enColl.setStrength(Collator.PRIMARY); in TestVariableTop()
379 myColl.setStrength(Collator.PRIMARY); in TestVariableTop()
DCollationKanaTest.java114 myCollation.setStrength(Collator.TERTIARY); in TestTertiary()
125 myCollation.setStrength(Collator.PRIMARY); in TestBase()
135 myCollation.setStrength(Collator.SECONDARY); in TestPlainDakutenHandakuten()
147 myCollation.setStrength(Collator.TERTIARY); in TestSmallLarge()
160 myCollation.setStrength(Collator.QUATERNARY); in TestKatakanaHiragana()
172 myCollation.setStrength(Collator.QUATERNARY); in TestChooonKigoo()
190 rb.setStrength(Collator.QUATERNARY); in TestCommonCharacters()
DCollationRegressionTest.java162 c.setStrength(Collator.IDENTICAL); in Test4054734()
282 c.setStrength(Collator.SECONDARY); in Test4054736()
370 c.setStrength(Collator.TERTIARY); in Test4060154()
378 c.setStrength(Collator.PRIMARY); in Test4060154()
395 c.setStrength(Collator.SECONDARY); in Test4062418()
454 c.setStrength(Collator.SECONDARY); in Test4066696()
474 c.setStrength(Collator.TERTIARY); in Test4076676()
530 c.setStrength(Collator.TERTIARY); in Test4081866()
555 c.setStrength(Collator.SECONDARY); in Test4087241()
571 c.setStrength(Collator.TERTIARY); in Test4087243()
[all …]
DCollationFrozenMonkeyTest.java55 myPrimaryCollator.setStrength(Collator.PRIMARY); in TestCollationKey()
59 mySecondaryCollator.setStrength(Collator.SECONDARY); in TestCollationKey()
63 myTertiaryCollator.setStrength(Collator.TERTIARY); in TestCollationKey()
141 myPrimaryCollator.setStrength(Collator.PRIMARY); in TestCompare()
145 mySecondaryCollator.setStrength(Collator.SECONDARY); in TestCompare()
149 myTertiaryCollator.setStrength(Collator.TERTIARY); in TestCompare()
DCollationMonkeyTest.java65 myCollator.setStrength(Collator.TERTIARY); in TestCollationKey()
72 myCollator.setStrength(Collator.SECONDARY); in TestCollationKey()
79 myCollator.setStrength(Collator.PRIMARY); in TestCollationKey()
141 myCollator.setStrength(Collator.TERTIARY); in TestCompare()
146 myCollator.setStrength(Collator.SECONDARY); in TestCompare()
151 myCollator.setStrength(Collator.PRIMARY); in TestCompare()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationDummyTest.java194 myCollation.setStrength(Collator.TERTIARY); in TestTertiary()
204 myCollation.setStrength(Collator.PRIMARY); in TestPrimary()
214 myCollation.setStrength(Collator.SECONDARY); in TestSecondary()
224 myCollation.setStrength(Collator.TERTIARY); in TestExtra()
235 myCollation.setStrength(Collator.IDENTICAL); in TestIdentical()
261 coll.setStrength(Collator.PRIMARY); in TestJB581()
311 myCollation.setStrength(Collator.TERTIARY); in TestSurrogates()
381 enColl.setStrength(Collator.PRIMARY); in TestVariableTop()
382 myColl.setStrength(Collator.PRIMARY); in TestVariableTop()
DCollationKanaTest.java117 myCollation.setStrength(Collator.TERTIARY); in TestTertiary()
128 myCollation.setStrength(Collator.PRIMARY); in TestBase()
138 myCollation.setStrength(Collator.SECONDARY); in TestPlainDakutenHandakuten()
150 myCollation.setStrength(Collator.TERTIARY); in TestSmallLarge()
163 myCollation.setStrength(Collator.QUATERNARY); in TestKatakanaHiragana()
175 myCollation.setStrength(Collator.QUATERNARY); in TestChooonKigoo()
193 rb.setStrength(Collator.QUATERNARY); in TestCommonCharacters()
DCollationRegressionTest.java165 c.setStrength(Collator.IDENTICAL); in Test4054734()
285 c.setStrength(Collator.SECONDARY); in Test4054736()
373 c.setStrength(Collator.TERTIARY); in Test4060154()
381 c.setStrength(Collator.PRIMARY); in Test4060154()
398 c.setStrength(Collator.SECONDARY); in Test4062418()
457 c.setStrength(Collator.SECONDARY); in Test4066696()
477 c.setStrength(Collator.TERTIARY); in Test4076676()
533 c.setStrength(Collator.TERTIARY); in Test4081866()
558 c.setStrength(Collator.SECONDARY); in Test4087241()
574 c.setStrength(Collator.TERTIARY); in Test4087243()
[all …]
DCollationMonkeyTest.java68 myCollator.setStrength(Collator.TERTIARY); in TestCollationKey()
75 myCollator.setStrength(Collator.SECONDARY); in TestCollationKey()
82 myCollator.setStrength(Collator.PRIMARY); in TestCollationKey()
144 myCollator.setStrength(Collator.TERTIARY); in TestCompare()
149 myCollator.setStrength(Collator.SECONDARY); in TestCompare()
154 myCollator.setStrength(Collator.PRIMARY); in TestCompare()
DCollationFrozenMonkeyTest.java58 myPrimaryCollator.setStrength(Collator.PRIMARY); in TestCollationKey()
62 mySecondaryCollator.setStrength(Collator.SECONDARY); in TestCollationKey()
66 myTertiaryCollator.setStrength(Collator.TERTIARY); in TestCollationKey()
144 myPrimaryCollator.setStrength(Collator.PRIMARY); in TestCompare()
148 mySecondaryCollator.setStrength(Collator.SECONDARY); in TestCompare()
152 myTertiaryCollator.setStrength(Collator.TERTIARY); in TestCompare()
DCollationAPITest.java60 col.setStrength(Collator.TERTIARY); in TestCollationKey()
108 col.setStrength(Collator.IDENTICAL); in TestCollationKey()
124 col.setStrength(Collator.SECONDARY); in TestCollationKey()
211 col.setStrength(Collator.SECONDARY); in TestCompare()
217 col.setStrength(Collator.PRIMARY); in TestCompare()
491 col.setStrength(Collator.SECONDARY); in TestProperty()
514 col.setStrength(Collator.PRIMARY); in TestProperty()
520 col.setStrength(Collator.TERTIARY); in TestProperty()
694 someClonedCollators[index].setStrength(Collator.TERTIARY);
695 someCollators[index].setStrength(Collator.PRIMARY);
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/impl/
DCacheTest.java45 CacheValue.setStrength(Strength.STRONG); in testStrongCacheValue()
56 CacheValue.setStrength(Strength.SOFT); in testStrongCacheValue()
64 CacheValue.setStrength(Strength.SOFT); in testSoftCacheValue()
73 CacheValue.setStrength(Strength.STRONG); in testSoftCacheValue()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/
DCacheTest.java42 CacheValue.setStrength(Strength.STRONG); in testStrongCacheValue()
53 CacheValue.setStrength(Strength.SOFT); in testStrongCacheValue()
61 CacheValue.setStrength(Strength.SOFT); in testSoftCacheValue()
70 CacheValue.setStrength(Strength.STRONG); in testSoftCacheValue()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/search/
DSearchTest.java596 collator.setStrength(search.strength); in assertCanonicalEqual()
608 collator.setStrength(TERTIARY); in assertCanonicalEqual()
612 collator.setStrength(TERTIARY); in assertCanonicalEqual()
628 collator.setStrength(search.strength); in assertEqual()
638 collator.setStrength(TERTIARY); in assertEqual()
641 collator.setStrength(TERTIARY); in assertEqual()
656 collator.setStrength(search.strength); in assertEqualWithAttribute()
668 collator.setStrength(TERTIARY); in assertEqualWithAttribute()
671 collator.setStrength(TERTIARY); in assertEqualWithAttribute()
847 collator.setStrength(search.strength); in TestBreakIterator()
[all …]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/search/
DSearchTest.java593 collator.setStrength(search.strength); in assertCanonicalEqual()
605 collator.setStrength(TERTIARY); in assertCanonicalEqual()
609 collator.setStrength(TERTIARY); in assertCanonicalEqual()
625 collator.setStrength(search.strength); in assertEqual()
635 collator.setStrength(TERTIARY); in assertEqual()
638 collator.setStrength(TERTIARY); in assertEqual()
653 collator.setStrength(search.strength); in assertEqualWithAttribute()
665 collator.setStrength(TERTIARY); in assertEqualWithAttribute()
668 collator.setStrength(TERTIARY); in assertEqualWithAttribute()
844 collator.setStrength(search.strength); in TestBreakIterator()
[all …]
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DCollatorTest.java98 jdkColl.setStrength(Collator.PRIMARY); in TestICUEquivalent()
99 icuColl.setStrength(com.ibm.icu.text.Collator.PRIMARY); in TestICUEquivalent()
103 jdkColl.setStrength(Collator.SECONDARY); in TestICUEquivalent()
104 icuColl.setStrength(com.ibm.icu.text.Collator.SECONDARY); in TestICUEquivalent()

12345