Home
last modified time | relevance | path

Searched refs:getCollationKey (Results 1 – 25 of 73) sorted by relevance

123

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DCollationKeyTest.java23 CollationKey k1 = c.getCollationKey("This"); in testHashCode()
24 CollationKey k2 = c.getCollationKey("this"); in testHashCode()
26 CollationKey kn = c.getCollationKey("this"); in testHashCode()
43 CollationKey k1 = c.getCollationKey("This"); in testCompareToCollationKey()
44 CollationKey k2 = c.getCollationKey("this"); in testCompareToCollationKey()
46 CollationKey k3 = c.getCollationKey("this"); in testCompareToCollationKey()
57 CollationKey k1 = c.getCollationKey("This"); in testCompareToObject()
58 CollationKey k2 = c.getCollationKey("this"); in testCompareToObject()
68 CollationKey k1 = c.getCollationKey("This"); in testEqualsObject()
69 CollationKey k2 = c.getCollationKey("this"); in testEqualsObject()
[all …]
DCollatorTest.java178 CollationKey k1 = c.getCollationKey(s1); in testGetCollationKey()
179 CollationKey k2 = c.getCollationKey(s2); in testGetCollationKey()
182 k1 = c.getCollationKey(s1); in testGetCollationKey()
183 k2 = c.getCollationKey(s2); in testGetCollationKey()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationFrozenMonkeyTest.java77 collationKey1 = myTertiaryCollator.getCollationKey(subs); in TestCollationKey()
78 collationKey2 = myTertiaryCollator.getCollationKey(subt); in TestCollationKey()
83 collationKey1 = mySecondaryCollator.getCollationKey(subs); in TestCollationKey()
84 collationKey2 = mySecondaryCollator.getCollationKey(subt); in TestCollationKey()
89 collationKey1 = myPrimaryCollator.getCollationKey(subs); in TestCollationKey()
90 collationKey2 = myPrimaryCollator.getCollationKey(subt); in TestCollationKey()
98 collationKey1 = myPrimaryCollator.getCollationKey(subs); in TestCollationKey()
99 collationKey2 = myPrimaryCollator.getCollationKey(addOne); in TestCollationKey()
263 sortKey1 = myCollation.getCollationKey(source); in doTest()
264 sortKey2 = myCollation.getCollationKey(target); in doTest()
DCollationMonkeyTest.java63 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey()
64 collationKey2 = myCollator.getCollationKey(subt); in TestCollationKey()
70 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey()
71 collationKey2 = myCollator.getCollationKey(subt); in TestCollationKey()
77 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey()
78 collationKey2 = myCollator.getCollationKey(subt); in TestCollationKey()
86 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey()
87 collationKey2 = myCollator.getCollationKey(addOne); in TestCollationKey()
238 sortKey1 = myCollation.getCollationKey(source); in doTest()
239 sortKey2 = myCollation.getCollationKey(target); in doTest()
DCollationDummyTest.java265 sourceKeyOut = coll.getCollationKey(source); in TestJB581()
266 targetKeyOut = coll.getCollationKey(target); in TestJB581()
331 CollationKey enKey = enCollation.getCollationKey(source[3]); in TestSurrogates()
332 CollationKey newKey = newCollation.getCollationKey(source[3]); in TestSurrogates()
386 CollationKey key = enColl.getCollationKey(" "); in TestVariableTop()
399 key = myColl.getCollationKey(new String(source)); in TestVariableTop()
525 srckey = collation.getCollationKey(source); in doTestVariant()
526 tgtkey = collation.getCollationKey(target); in doTestVariant()
DCollationMiscTest.java684 CollationKey key = coll.getCollationKey(test); in TestBocsuCoverage()
1705 CollationKey prefixKey = coll.getCollationKey(prefix); in TestMergeSortKeys()
1706 CollationKey suffixKey = coll.getCollationKey(suffix); in TestMergeSortKeys()
1708 CollationKey key = coll.getCollationKey(cases[i]); in TestMergeSortKeys()
1762 CollationKey key1 = coll.getCollationKey(tokens[i]); in TestVariableTop()
1764 CollationKey key2 = coll.getCollationKey(tokens[j]); in TestVariableTop()
2334 CollationKey expectingKey = coll.getCollationKey(cases[i][0]); in TestVI5913()
2336 CollationKey key = coll.getCollationKey(cases[i][j]); in TestVI5913()
2351 CollationKey expectingKey = vi_vi.getCollationKey(cases[0][0]); in TestVI5913()
2353 CollationKey key = vi_vi.getCollationKey(cases[0][j]); in TestVI5913()
[all …]
DCollationAPITest.java60 CollationKey sortk1 = col.getCollationKey(""); in TestCollationKey()
69 CollationKey sortkIgnorable = col.getCollationKey("\u0001\u034f"); in TestCollationKey()
76 sortk1 = col.getCollationKey(null); in TestCollationKey()
80 sortk1 = col.getCollationKey(test1); in TestCollationKey()
81 CollationKey sortk2 = col.getCollationKey(test2); in TestCollationKey()
104 CollationKey key1 = col.getCollationKey(test1); in TestCollationKey()
105 CollationKey key2 = col.getCollationKey(test2); in TestCollationKey()
106 CollationKey key3 = col.getCollationKey(test2); in TestCollationKey()
120 key1 = col.getCollationKey(test1); in TestCollationKey()
121 key2 = col.getCollationKey(test2); in TestCollationKey()
[all …]
DCollationFrenchTest.java182 = collator.getCollationKey("a\u0325\u2f00\u2f01b\u0325"); in TestContinuationReordering()
184 = collator.getCollationKey("a\u0325\u2f01\u2f01b\u0325"); in TestContinuationReordering()
199 sortKey1 = myCollation.getCollationKey(s); in doTest()
200 sortKey2 = myCollation.getCollationKey(t); in doTest()
DCollationKanaTest.java192 key1 = rb.getCollationKey(string1); in TestCommonCharacters()
193 key2 = rb.getCollationKey(string2); in TestCommonCharacters()
207 sortKey1 = myCollation.getCollationKey(s); in doTest()
208 sortKey2 = myCollation.getCollationKey(t); in doTest()
DCollationCreationMethodTest.java77 key1 = localeCollator.getCollationKey(randString1); in TestRuleVsLocaleCreationMonkey()
78 key2 = ruleCollator.getCollationKey(randString1); in TestRuleVsLocaleCreationMonkey()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationMonkeyTest.java64 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey()
65 collationKey2 = myCollator.getCollationKey(subt); in TestCollationKey()
71 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey()
72 collationKey2 = myCollator.getCollationKey(subt); in TestCollationKey()
78 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey()
79 collationKey2 = myCollator.getCollationKey(subt); in TestCollationKey()
87 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey()
88 collationKey2 = myCollator.getCollationKey(addOne); in TestCollationKey()
239 sortKey1 = myCollation.getCollationKey(source); in doTest()
240 sortKey2 = myCollation.getCollationKey(target); in doTest()
DCollationFrozenMonkeyTest.java78 collationKey1 = myTertiaryCollator.getCollationKey(subs); in TestCollationKey()
79 collationKey2 = myTertiaryCollator.getCollationKey(subt); in TestCollationKey()
84 collationKey1 = mySecondaryCollator.getCollationKey(subs); in TestCollationKey()
85 collationKey2 = mySecondaryCollator.getCollationKey(subt); in TestCollationKey()
90 collationKey1 = myPrimaryCollator.getCollationKey(subs); in TestCollationKey()
91 collationKey2 = myPrimaryCollator.getCollationKey(subt); in TestCollationKey()
99 collationKey1 = myPrimaryCollator.getCollationKey(subs); in TestCollationKey()
100 collationKey2 = myPrimaryCollator.getCollationKey(addOne); in TestCollationKey()
264 sortKey1 = myCollation.getCollationKey(source); in doTest()
265 sortKey2 = myCollation.getCollationKey(target); in doTest()
DCollationDummyTest.java266 sourceKeyOut = coll.getCollationKey(source); in TestJB581()
267 targetKeyOut = coll.getCollationKey(target); in TestJB581()
332 CollationKey enKey = enCollation.getCollationKey(source[3]); in TestSurrogates()
333 CollationKey newKey = newCollation.getCollationKey(source[3]); in TestSurrogates()
387 CollationKey key = enColl.getCollationKey(" "); in TestVariableTop()
400 key = myColl.getCollationKey(new String(source)); in TestVariableTop()
526 srckey = collation.getCollationKey(source); in doTestVariant()
527 tgtkey = collation.getCollationKey(target); in doTestVariant()
DCollationMiscTest.java685 CollationKey key = coll.getCollationKey(test); in TestBocsuCoverage()
1706 CollationKey prefixKey = coll.getCollationKey(prefix); in TestMergeSortKeys()
1707 CollationKey suffixKey = coll.getCollationKey(suffix); in TestMergeSortKeys()
1709 CollationKey key = coll.getCollationKey(cases[i]); in TestMergeSortKeys()
1763 CollationKey key1 = coll.getCollationKey(tokens[i]); in TestVariableTop()
1765 CollationKey key2 = coll.getCollationKey(tokens[j]); in TestVariableTop()
2335 CollationKey expectingKey = coll.getCollationKey(cases[i][0]); in TestVI5913()
2337 CollationKey key = coll.getCollationKey(cases[i][j]); in TestVI5913()
2352 CollationKey expectingKey = vi_vi.getCollationKey(cases[0][0]); in TestVI5913()
2354 CollationKey key = vi_vi.getCollationKey(cases[0][j]); in TestVI5913()
[all …]
DCollationAPITest.java61 CollationKey sortk1 = col.getCollationKey(""); in TestCollationKey()
70 CollationKey sortkIgnorable = col.getCollationKey("\u0001\u034f"); in TestCollationKey()
77 sortk1 = col.getCollationKey(null); in TestCollationKey()
81 sortk1 = col.getCollationKey(test1); in TestCollationKey()
82 CollationKey sortk2 = col.getCollationKey(test2); in TestCollationKey()
105 CollationKey key1 = col.getCollationKey(test1); in TestCollationKey()
106 CollationKey key2 = col.getCollationKey(test2); in TestCollationKey()
107 CollationKey key3 = col.getCollationKey(test2); in TestCollationKey()
121 key1 = col.getCollationKey(test1); in TestCollationKey()
122 key2 = col.getCollationKey(test2); in TestCollationKey()
[all …]
DCollationFrenchTest.java183 = collator.getCollationKey("a\u0325\u2f00\u2f01b\u0325"); in TestContinuationReordering()
185 = collator.getCollationKey("a\u0325\u2f01\u2f01b\u0325"); in TestContinuationReordering()
200 sortKey1 = myCollation.getCollationKey(s); in doTest()
201 sortKey2 = myCollation.getCollationKey(t); in doTest()
DCollationKanaTest.java193 key1 = rb.getCollationKey(string1); in TestCommonCharacters()
194 key2 = rb.getCollationKey(string2); in TestCommonCharacters()
208 sortKey1 = myCollation.getCollationKey(s); in doTest()
209 sortKey2 = myCollation.getCollationKey(t); in doTest()
DCollationCreationMethodTest.java78 key1 = localeCollator.getCollationKey(randString1); in TestRuleVsLocaleCreationMonkey()
79 key2 = ruleCollator.getCollationKey(randString1); in TestRuleVsLocaleCreationMonkey()
/external/icu/icu4c/source/test/intltest/
Dmnkytst.cpp95 myCollator->getCollationKey(subs, collationKey1, status1); in TestCollationKey()
96 myCollator->getCollationKey(subt, collationKey2, status2); in TestCollationKey()
102 myCollator->getCollationKey(subs, collationKey1, status1); in TestCollationKey()
103 myCollator->getCollationKey(subt, collationKey2, status2); in TestCollationKey()
109 myCollator->getCollationKey(subs, collationKey1, status1); in TestCollationKey()
110 myCollator->getCollationKey(subt, collationKey2, status2); in TestCollationKey()
119 myCollator->getCollationKey(subs, collationKey1, status1); in TestCollationKey()
120 myCollator->getCollationKey(addOne, collationKey2, status2); in TestCollationKey()
Dthcoll.cpp173 coll->getCollationKey(lastWord, k1, status); in TestDictionary()
174 coll->getCollationKey(word, k2, status); in TestDictionary()
292 c.getCollationKey(s1, k1, status); in compareArray()
293 c.getCollationKey(s2, k2, status); in compareArray()
305 c.getCollationKey(s1, k1, status); in compareArray()
306 c.getCollationKey(s2, k2, status); in compareArray()
Dcurrcoll.cpp120 c->getCollationKey(source, sourceKey, status); in currencyTest()
128 c->getCollationKey(target, targetKey, status); in currencyTest()
Dapicoll.cpp468 col3->getCollationKey(test1, sortk1, status); in TestHashCode()
469 col3->getCollationKey(test2, sortk2, status); in TestHashCode()
470 col3->getCollationKey(test2, sortk3, status); in TestHashCode()
508 col->getCollationKey(NULL, 0, sortkEmpty, key1Status); in TestCollationKey()
522 col->getCollationKey(UnicodeString((UChar)1).append((UChar)0x34f), sortkIgnorable, key1Status); in TestCollationKey()
531 col->getCollationKey(NULL, 0, sortk1, key1Status); in TestCollationKey()
538 col->getCollationKey(test1, sortk1, key1Status); in TestCollationKey()
543 doAssert((sortk1.compareTo(col->getCollationKey(test2, sortk2, key2Status))) in TestCollationKey()
605 doAssert(col->getCollationKey(test1, sortk1, key1Status).compareTo( in TestCollationKey()
606 col->getCollationKey(test2, sortk2, key2Status)) in TestCollationKey()
[all …]
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DCollatorTest.java119 CollationKey jdkKey1 = jdkColl.getCollationKey(text1); in checkCollation()
120 CollationKey jdkKey2 = jdkColl.getCollationKey(text2); in checkCollation()
122 com.ibm.icu.text.CollationKey icuKey1 = icuColl.getCollationKey(text1); in checkCollation()
123 com.ibm.icu.text.CollationKey icuKey2 = icuColl.getCollationKey(text2); in checkCollation()
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DCollationPerformanceTest.java226 CollationKey ck = ((com.ibm.icu.text.RuleBasedCollator)icuCol).getCollationKey(line); in doDump()
407 … com.ibm.icu.text.CollationKey sortKey1 = icuCol.getCollationKey(tests[j]); in doBinarySearch()
408 … com.ibm.icu.text.CollationKey sortKey2 = icuCol.getCollationKey(tests[guess]); in doBinarySearch()
445 java.text.CollationKey sortKey1 = javaCol.getCollationKey(tests[j]); in doBinarySearch()
446 … java.text.CollationKey sortKey2 = javaCol.getCollationKey(tests[guess]); in doBinarySearch()
502 byte[] sortKey = javaCol.getCollationKey(tests[line]).toByteArray(); in doKeyGen()
513 byte[] sortKey = icuCol.getCollationKey(tests[line]).toByteArray(); in doKeyGen()
554 accumulatedLen[len] += icuCol.getCollationKey(tests[i]).toByteArray().length; in doKeyHist()
1152 … while((low < toIndex) && (compare(c.getCollationKey(src[low]), c.getCollationKey(middle)) < 0)) { in qSortImpl_java_usekeys()
1155 …while((high > fromIndex) && (compare(c.getCollationKey(src[high]), c.getCollationKey(middle)) > 0)… in qSortImpl_java_usekeys()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DNodeSorter.java227 n1String = k.m_col.getCollationKey(r1.str()); in compare()
228 n2String = k.m_col.getCollationKey(r2.str()); in compare()
512 m_key1Value = k1.m_col.getCollationKey(r.str()); in NodeCompareElem()
540 m_key2Value = k2.m_col.getCollationKey(r2.str()); in NodeCompareElem()

123