/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/search/ |
SearchTest.java | 20 import static android.icu.text.Collator.TERTIARY; 86 SD("xxxxxxxxxxxxxxxxxxxx", "fisher", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(-1), IA(0)), 87 SD("silly spring string", "string", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(13, -1), IA(6)), 88 SD("silly spring string string", "string", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(13, 20, -1), IA(6, 6)), 89 SD("silly string spring string", "string", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(6, 20, -1), IA(6, 6)), 90 SD("string spring string", "string", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(0, 14, -1), IA(6, 6)), 91 SD("Scott Ganyo", "c", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(1, -1), IA(1)), 92 SD("Scott Ganyo", " ", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(5, -1), IA(1)), 93 SD("\u0300\u0325", "\u0300", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(-1), IA(0)), 94 SD("a\u0300\u0325", "\u0300", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(-1), IA(0)) [all...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/search/ |
SearchTest.java | 19 import static com.ibm.icu.text.Collator.TERTIARY; 82 SD("xxxxxxxxxxxxxxxxxxxx", "fisher", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(-1), IA(0)), 83 SD("silly spring string", "string", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(13, -1), IA(6)), 84 SD("silly spring string string", "string", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(13, 20, -1), IA(6, 6)), 85 SD("silly string spring string", "string", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(6, 20, -1), IA(6, 6)), 86 SD("string spring string", "string", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(0, 14, -1), IA(6, 6)), 87 SD("Scott Ganyo", "c", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(1, -1), IA(1)), 88 SD("Scott Ganyo", " ", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(5, -1), IA(1)), 89 SD("\u0300\u0325", "\u0300", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(-1), IA(0)), 90 SD("a\u0300\u0325", "\u0300", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, null, IA(-1), IA(0)) [all...] |
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
CollatorICU.java | 103 case Collator.TERTIARY: 104 strength = java.text.Collator.TERTIARY; 108 // Return tertiary instead for now. 109 strength = java.text.Collator.TERTIARY; 150 case java.text.Collator.TERTIARY: 151 fIcuCollator.setStrength(Collator.TERTIARY);
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
CollatorTest.java | 32 cn.setStrength(Collator.TERTIARY); 52 c.setStrength(Collator.TERTIARY); 64 c.setStrength(Collator.TERTIARY); 179 c.setStrength(Collator.TERTIARY);
|
CollationKeyTest.java | 23 c.setStrength(Collator.TERTIARY); 43 c.setStrength(Collator.TERTIARY);
|
/libcore/ojluni/src/main/java/java/text/ |
PatternEntry.java | 135 case Collator.TERTIARY: toAddTo.append(','); break; 230 newStrength = Collator.TERTIARY; break;
|
Collator.java | 84 * <code>SECONDARY</code>, <code>TERTIARY</code>, and <code>IDENTICAL</code>. 88 * "e" and "E" are tertiary differences and "e" and "e" are identical. 147 * Collator strength value. When set, only TERTIARY and above differences are 150 * case differences ("a" vs "A") to be considered a TERTIARY difference. 155 public final static int TERTIARY = 2; 162 * PRIMARY, SECONDARY, and TERTIARY levels but different at the IDENTICAL 374 * @see java.text.Collator#TERTIARY 390 * PRIMARY, SECONDARY, TERTIARY or IDENTICAL. 394 * @see Collator#TERTIARY
|
/external/icu/icu4c/source/test/intltest/ |
lcukocol.cpp | 67 myCollation->setStrength(Collator::TERTIARY);
|
allcoll.cpp | 95 myCollation->setStrength(Collator::TERTIARY); 133 myCollation->setStrength(Collator::TERTIARY);
|
ficoll.cpp | 72 myCollation->setStrength(Collator::TERTIARY);
|
escoll.cpp | 86 myCollation->setStrength(Collator::TERTIARY);
|
trcoll.cpp | 76 myCollation->setStrength(Collator::TERTIARY);
|
frcoll.cpp | 141 myCollation->setStrength(Collator::TERTIARY); 189 myCollation->setStrength(Collator::TERTIARY);
|
jacoll.cpp | 58 Collator::EQUAL, //Collator::LESS, /* Katakanas and Hiraganas are equal on tertiary level(ICU 2.0)*/ 108 myCollation->setStrength(Collator::TERTIARY); 144 myCollation->setStrength(Collator::TERTIARY);
|
/libcore/benchmarks/src/benchmarks/regression/ |
CollatorBenchmark.java | 47 collator.setStrength(Collator.TERTIARY);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
CollatorTest.java | 46 assertTrue("a) Failed on tertiary difference", c.compare(o, o2) < 0); 56 c.setStrength(Collator.TERTIARY); 65 assertTrue("b) Failed on tertiary difference", c.compare(o, o2) < 0); 82 assertEquals("c) Failed on tertiary difference", 0, c.compare(o, o2)); 99 assertEquals("d) Failed on tertiary difference", 0, c.compare(o, o2)); 131 assertTrue("a) Failed on tertiary difference", !c.equals("e", "E")); 135 c.setStrength(Collator.TERTIARY); 139 assertTrue("b) Failed on tertiary difference", !c.equals("e", "E")); 147 assertTrue("c) Failed on tertiary difference", c.equals("e", "E")); 154 assertTrue("d) Failed on tertiary difference", c.equals("e", "E")) [all...] |
RuleBasedCollatorTest.java | 63 assertEquals(Collator.TERTIARY, coll.getStrength()); 71 coll.setStrength(Collator.TERTIARY);
|
/libcore/luni/src/test/java/libcore/java/text/ |
CollatorTest.java | 34 collator.setStrength(Collator.TERTIARY); 35 assertEquals(Collator.TERTIARY, collator.getStrength()); 99 assertEquals(Collator.TERTIARY, coll.getStrength()); 107 coll.setStrength(Collator.TERTIARY);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
CollationBuilder.java | 127 assert(Collator.PRIMARY <= strength && strength <= Collator.TERTIARY); 172 if(strength >= Collator.TERTIARY) { 173 index = findCommonNode(index, Collator.TERTIARY); 185 "reset tertiary-before completely ignorable not possible"); 235 * Returns the secondary or tertiary weight preceding the current node's weight. 243 if(strengthFromNode(node) == Collator.TERTIARY) { 290 // Non-zero quaternary weights are possible only on tertiary or stronger CEs. 295 // Look for a tailored tertiary node after [0, 0, 0]. 296 int index = findOrInsertNodeForRootCE(0, Collator.TERTIARY); 300 assert(strengthFromNode(node) <= Collator.TERTIARY); [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
CollationBuilder.java | 123 assert(Collator.PRIMARY <= strength && strength <= Collator.TERTIARY); 168 if(strength >= Collator.TERTIARY) { 169 index = findCommonNode(index, Collator.TERTIARY); 181 "reset tertiary-before completely ignorable not possible"); 231 * Returns the secondary or tertiary weight preceding the current node's weight. 239 if(strengthFromNode(node) == Collator.TERTIARY) { 286 // Non-zero quaternary weights are possible only on tertiary or stronger CEs. 291 // Look for a tailored tertiary node after [0, 0, 0]. 292 int index = findOrInsertNodeForRootCE(0, Collator.TERTIARY); 296 assert(strengthFromNode(node) <= Collator.TERTIARY); [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
Collator.java | 39 * <li>TERTIARY strength: Upper and lower case differences in characters are 40 * distinguished at tertiary strength (for example, "ao" < "Ao" < 42 * form on the tertiary strength (such as "A" and "Ⓐ"). Another 44 * difference between large and small Kana. A tertiary difference is ignored 48 * (see Ignoring Punctuations in the user guide)</a> at PRIMARY to TERTIARY 52 * This difference is ignored when there is a PRIMARY, SECONDARY or TERTIARY 167 * form on the tertiary level. 173 public final static int TERTIARY = java.text.Collator.TERTIARY; 179 * (see Ignoring Punctuations in the user guide)</a> at PRIMARY to TERTIARY [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
CollationKanaTest.java | 52 0, //Collator::LESS, /* Katakanas and Hiraganas are equal on tertiary level(ICU 2.0)*/ 110 myCollation.setStrength(Collator.TERTIARY); 140 myCollation.setStrength(Collator.TERTIARY);
|
CollationRegressionTest.java | 353 String[] tertiary = { local 362 c.setStrength(Collator.TERTIARY); 363 compareArray(c, tertiary); 376 // Secondary/Tertiary comparison incorrect in French Secondary 461 c.setStrength(Collator.TERTIARY); 514 c.setStrength(Collator.TERTIARY); 553 c.setStrength(Collator.TERTIARY); 574 // These now have tertiary differences in UCA 593 // These now have tertiary differences in UCA 594 //c->setStrength(Collator::TERTIARY); [all...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
CollationKanaTest.java | 48 0, //Collator::LESS, /* Katakanas and Hiraganas are equal on tertiary level(ICU 2.0)*/ 106 myCollation.setStrength(Collator.TERTIARY); 136 myCollation.setStrength(Collator.TERTIARY);
|
CollationRegressionTest.java | 349 String[] tertiary = { local 358 c.setStrength(Collator.TERTIARY); 359 compareArray(c, tertiary); 372 // Secondary/Tertiary comparison incorrect in French Secondary 457 c.setStrength(Collator.TERTIARY); 510 c.setStrength(Collator.TERTIARY); 549 c.setStrength(Collator.TERTIARY); 570 // These now have tertiary differences in UCA 589 // These now have tertiary differences in UCA 590 //c->setStrength(Collator::TERTIARY); [all...] |