Home
last modified time | relevance | path

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

123

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DCollationKeyTest.java21 CollationKey k1 = c.getCollationKey("This"); in testHashCode()
22 CollationKey k2 = c.getCollationKey("this"); in testHashCode()
24 CollationKey kn = c.getCollationKey("this"); in testHashCode()
41 CollationKey k1 = c.getCollationKey("This"); in testCompareToCollationKey()
42 CollationKey k2 = c.getCollationKey("this"); in testCompareToCollationKey()
44 CollationKey k3 = c.getCollationKey("this"); in testCompareToCollationKey()
55 CollationKey k1 = c.getCollationKey("This"); in testCompareToObject()
56 CollationKey k2 = c.getCollationKey("this"); in testCompareToObject()
66 CollationKey k1 = c.getCollationKey("This"); in testEqualsObject()
67 CollationKey k2 = c.getCollationKey("this"); in testEqualsObject()
[all …]
DCollatorTest.java176 CollationKey k1 = c.getCollationKey(s1); in testGetCollationKey()
177 CollationKey k2 = c.getCollationKey(s2); in testGetCollationKey()
180 k1 = c.getCollationKey(s1); in testGetCollationKey()
181 k2 = c.getCollationKey(s2); in testGetCollationKey()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationFrozenMonkeyTest.java80 collationKey1 = myTertiaryCollator.getCollationKey(subs); in TestCollationKey()
81 collationKey2 = myTertiaryCollator.getCollationKey(subt); in TestCollationKey()
86 collationKey1 = mySecondaryCollator.getCollationKey(subs); in TestCollationKey()
87 collationKey2 = mySecondaryCollator.getCollationKey(subt); in TestCollationKey()
92 collationKey1 = myPrimaryCollator.getCollationKey(subs); in TestCollationKey()
93 collationKey2 = myPrimaryCollator.getCollationKey(subt); in TestCollationKey()
101 collationKey1 = myPrimaryCollator.getCollationKey(subs); in TestCollationKey()
102 collationKey2 = myPrimaryCollator.getCollationKey(addOne); in TestCollationKey()
264 sortKey1 = myCollation.getCollationKey(source); in doTest()
265 sortKey2 = myCollation.getCollationKey(target); in doTest()
DCollationMonkeyTest.java66 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey()
67 collationKey2 = myCollator.getCollationKey(subt); in TestCollationKey()
73 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey()
74 collationKey2 = myCollator.getCollationKey(subt); in TestCollationKey()
80 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey()
81 collationKey2 = myCollator.getCollationKey(subt); in TestCollationKey()
89 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey()
90 collationKey2 = myCollator.getCollationKey(addOne); in TestCollationKey()
239 sortKey1 = myCollation.getCollationKey(source); in doTest()
240 sortKey2 = myCollation.getCollationKey(target); in doTest()
DCollationMiscTest.java676 CollationKey key = coll.getCollationKey(test); in TestBocsuCoverage()
1671 CollationKey prefixKey = coll.getCollationKey(prefix); in TestMergeSortKeys()
1672 CollationKey suffixKey = coll.getCollationKey(suffix); in TestMergeSortKeys()
1674 CollationKey key = coll.getCollationKey(cases[i]); in TestMergeSortKeys()
1727 CollationKey key1 = coll.getCollationKey(tokens[i]); in TestVariableTop()
1729 CollationKey key2 = coll.getCollationKey(tokens[j]); in TestVariableTop()
2284 CollationKey expectingKey = coll.getCollationKey(cases[i][0]); in TestVI5913()
2286 CollationKey key = coll.getCollationKey(cases[i][j]); in TestVI5913()
2301 CollationKey expectingKey = vi_vi.getCollationKey(cases[0][0]); in TestVI5913()
2303 CollationKey key = vi_vi.getCollationKey(cases[0][j]); in TestVI5913()
[all …]
DCollationDummyTest.java261 sourceKeyOut = coll.getCollationKey(source); in TestJB581()
262 targetKeyOut = coll.getCollationKey(target); in TestJB581()
326 CollationKey enKey = enCollation.getCollationKey(source[3]); in TestSurrogates()
327 CollationKey newKey = newCollation.getCollationKey(source[3]); in TestSurrogates()
380 CollationKey key = enColl.getCollationKey(" "); in TestVariableTop()
393 key = myColl.getCollationKey(new String(source)); in TestVariableTop()
518 srckey = collation.getCollationKey(source); in doTestVariant()
519 tgtkey = collation.getCollationKey(target); in doTestVariant()
DCollationAPITest.java64 CollationKey sortk1 = col.getCollationKey(""); in TestCollationKey()
73 CollationKey sortkIgnorable = col.getCollationKey("\u0001\u034f"); in TestCollationKey()
80 sortk1 = col.getCollationKey(null); in TestCollationKey()
84 sortk1 = col.getCollationKey(test1); in TestCollationKey()
85 CollationKey sortk2 = col.getCollationKey(test2); in TestCollationKey()
108 CollationKey key1 = col.getCollationKey(test1); in TestCollationKey()
109 CollationKey key2 = col.getCollationKey(test2); in TestCollationKey()
110 CollationKey key3 = col.getCollationKey(test2); in TestCollationKey()
124 key1 = col.getCollationKey(test1); in TestCollationKey()
125 key2 = col.getCollationKey(test2); in TestCollationKey()
[all …]
DCollationFrenchTest.java180 = collator.getCollationKey("a\u0325\u2f00\u2f01b\u0325"); in TestContinuationReordering()
182 = collator.getCollationKey("a\u0325\u2f01\u2f01b\u0325"); in TestContinuationReordering()
197 sortKey1 = myCollation.getCollationKey(s); in doTest()
198 sortKey2 = myCollation.getCollationKey(t); in doTest()
DCollationKanaTest.java185 key1 = rb.getCollationKey(string1); in TestCommonCharacters()
186 key2 = rb.getCollationKey(string2); in TestCommonCharacters()
200 sortKey1 = myCollation.getCollationKey(s); in doTest()
201 sortKey2 = myCollation.getCollationKey(t); in doTest()
DCollationCreationMethodTest.java82 key1 = localeCollator.getCollationKey(randString1); in TestRuleVsLocaleCreationMonkey()
83 key2 = ruleCollator.getCollationKey(randString1); in TestRuleVsLocaleCreationMonkey()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationMonkeyTest.java62 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey()
63 collationKey2 = myCollator.getCollationKey(subt); in TestCollationKey()
69 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey()
70 collationKey2 = myCollator.getCollationKey(subt); in TestCollationKey()
76 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey()
77 collationKey2 = myCollator.getCollationKey(subt); in TestCollationKey()
85 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey()
86 collationKey2 = myCollator.getCollationKey(addOne); in TestCollationKey()
235 sortKey1 = myCollation.getCollationKey(source); in doTest()
236 sortKey2 = myCollation.getCollationKey(target); in doTest()
DCollationFrozenMonkeyTest.java76 collationKey1 = myTertiaryCollator.getCollationKey(subs); in TestCollationKey()
77 collationKey2 = myTertiaryCollator.getCollationKey(subt); in TestCollationKey()
82 collationKey1 = mySecondaryCollator.getCollationKey(subs); in TestCollationKey()
83 collationKey2 = mySecondaryCollator.getCollationKey(subt); in TestCollationKey()
88 collationKey1 = myPrimaryCollator.getCollationKey(subs); in TestCollationKey()
89 collationKey2 = myPrimaryCollator.getCollationKey(subt); in TestCollationKey()
97 collationKey1 = myPrimaryCollator.getCollationKey(subs); in TestCollationKey()
98 collationKey2 = myPrimaryCollator.getCollationKey(addOne); in TestCollationKey()
260 sortKey1 = myCollation.getCollationKey(source); in doTest()
261 sortKey2 = myCollation.getCollationKey(target); in doTest()
DCollationMiscTest.java672 CollationKey key = coll.getCollationKey(test); in TestBocsuCoverage()
1667 CollationKey prefixKey = coll.getCollationKey(prefix); in TestMergeSortKeys()
1668 CollationKey suffixKey = coll.getCollationKey(suffix); in TestMergeSortKeys()
1670 CollationKey key = coll.getCollationKey(cases[i]); in TestMergeSortKeys()
1723 CollationKey key1 = coll.getCollationKey(tokens[i]); in TestVariableTop()
1725 CollationKey key2 = coll.getCollationKey(tokens[j]); in TestVariableTop()
2280 CollationKey expectingKey = coll.getCollationKey(cases[i][0]); in TestVI5913()
2282 CollationKey key = coll.getCollationKey(cases[i][j]); in TestVI5913()
2297 CollationKey expectingKey = vi_vi.getCollationKey(cases[0][0]); in TestVI5913()
2299 CollationKey key = vi_vi.getCollationKey(cases[0][j]); in TestVI5913()
[all …]
DCollationDummyTest.java257 sourceKeyOut = coll.getCollationKey(source); in TestJB581()
258 targetKeyOut = coll.getCollationKey(target); in TestJB581()
322 CollationKey enKey = enCollation.getCollationKey(source[3]); in TestSurrogates()
323 CollationKey newKey = newCollation.getCollationKey(source[3]); in TestSurrogates()
376 CollationKey key = enColl.getCollationKey(" "); in TestVariableTop()
389 key = myColl.getCollationKey(new String(source)); in TestVariableTop()
514 srckey = collation.getCollationKey(source); in doTestVariant()
515 tgtkey = collation.getCollationKey(target); in doTestVariant()
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.java176 = collator.getCollationKey("a\u0325\u2f00\u2f01b\u0325"); in TestContinuationReordering()
178 = collator.getCollationKey("a\u0325\u2f01\u2f01b\u0325"); in TestContinuationReordering()
193 sortKey1 = myCollation.getCollationKey(s); in doTest()
194 sortKey2 = myCollation.getCollationKey(t); in doTest()
DCollationKanaTest.java181 key1 = rb.getCollationKey(string1); in TestCommonCharacters()
182 key2 = rb.getCollationKey(string2); in TestCommonCharacters()
196 sortKey1 = myCollation.getCollationKey(s); in doTest()
197 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.cpp93 myCollator->getCollationKey(subs, collationKey1, status1); in TestCollationKey()
94 myCollator->getCollationKey(subt, collationKey2, status2); in TestCollationKey()
100 myCollator->getCollationKey(subs, collationKey1, status1); in TestCollationKey()
101 myCollator->getCollationKey(subt, collationKey2, status2); in TestCollationKey()
107 myCollator->getCollationKey(subs, collationKey1, status1); in TestCollationKey()
108 myCollator->getCollationKey(subt, collationKey2, status2); in TestCollationKey()
117 myCollator->getCollationKey(subs, collationKey1, status1); in TestCollationKey()
118 myCollator->getCollationKey(addOne, collationKey2, status2); in TestCollationKey()
Dthcoll.cpp170 coll->getCollationKey(lastWord, k1, status); in TestDictionary()
171 coll->getCollationKey(word, k2, status); in TestDictionary()
289 c.getCollationKey(s1, k1, status); in compareArray()
290 c.getCollationKey(s2, k2, status); in compareArray()
302 c.getCollationKey(s1, k1, status); in compareArray()
303 c.getCollationKey(s2, k2, status); in compareArray()
Dcurrcoll.cpp119 c->getCollationKey(source, sourceKey, status); in currencyTest()
127 c->getCollationKey(target, targetKey, status); in currencyTest()
Dapicoll.cpp466 col3->getCollationKey(test1, sortk1, status); in TestHashCode()
467 col3->getCollationKey(test2, sortk2, status); in TestHashCode()
468 col3->getCollationKey(test2, sortk3, status); in TestHashCode()
506 col->getCollationKey(NULL, 0, sortkEmpty, key1Status); in TestCollationKey()
520 col->getCollationKey(UnicodeString((UChar)1).append((UChar)0x34f), sortkIgnorable, key1Status); in TestCollationKey()
529 col->getCollationKey(NULL, 0, sortk1, key1Status); in TestCollationKey()
536 col->getCollationKey(test1, sortk1, key1Status); in TestCollationKey()
541 doAssert((sortk1.compareTo(col->getCollationKey(test2, sortk2, key2Status))) in TestCollationKey()
603 doAssert(col->getCollationKey(test1, sortk1, key1Status).compareTo( in TestCollationKey()
604 col->getCollationKey(test2, sortk2, key2Status)) in TestCollationKey()
[all …]
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DCollatorTest.java117 CollationKey jdkKey1 = jdkColl.getCollationKey(text1); in checkCollation()
118 CollationKey jdkKey2 = jdkColl.getCollationKey(text2); in checkCollation()
120 com.ibm.icu.text.CollationKey icuKey1 = icuColl.getCollationKey(text1); in checkCollation()
121 com.ibm.icu.text.CollationKey icuKey2 = icuColl.getCollationKey(text2); in checkCollation()
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DCollationPerformanceTest.java224 CollationKey ck = ((com.ibm.icu.text.RuleBasedCollator)icuCol).getCollationKey(line); in doDump()
405 … com.ibm.icu.text.CollationKey sortKey1 = icuCol.getCollationKey(tests[j]); in doBinarySearch()
406 … com.ibm.icu.text.CollationKey sortKey2 = icuCol.getCollationKey(tests[guess]); in doBinarySearch()
443 java.text.CollationKey sortKey1 = javaCol.getCollationKey(tests[j]); in doBinarySearch()
444 … java.text.CollationKey sortKey2 = javaCol.getCollationKey(tests[guess]); in doBinarySearch()
500 byte[] sortKey = javaCol.getCollationKey(tests[line]).toByteArray(); in doKeyGen()
511 byte[] sortKey = icuCol.getCollationKey(tests[line]).toByteArray(); in doKeyGen()
552 accumulatedLen[len] += icuCol.getCollationKey(tests[i]).toByteArray().length; in doKeyHist()
1150 … while((low < toIndex) && (compare(c.getCollationKey(src[low]), c.getCollationKey(middle)) < 0)) { in qSortImpl_java_usekeys()
1153 …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