Home
last modified time | relevance | path

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

123

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationMonkeyTest.java69 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()
83 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey()
84 collationKey2 = myCollator.getCollationKey(subt); in TestCollationKey()
92 collationKey1 = myCollator.getCollationKey(subs); in TestCollationKey()
93 collationKey2 = myCollator.getCollationKey(addOne); in TestCollationKey()
244 sortKey1 = myCollation.getCollationKey(source); in doTest()
245 sortKey2 = myCollation.getCollationKey(target); in doTest()
DCollationFrozenMonkeyTest.java83 collationKey1 = myTertiaryCollator.getCollationKey(subs); in TestCollationKey()
84 collationKey2 = myTertiaryCollator.getCollationKey(subt); in TestCollationKey()
89 collationKey1 = mySecondaryCollator.getCollationKey(subs); in TestCollationKey()
90 collationKey2 = mySecondaryCollator.getCollationKey(subt); in TestCollationKey()
95 collationKey1 = myPrimaryCollator.getCollationKey(subs); in TestCollationKey()
96 collationKey2 = myPrimaryCollator.getCollationKey(subt); in TestCollationKey()
104 collationKey1 = myPrimaryCollator.getCollationKey(subs); in TestCollationKey()
105 collationKey2 = myPrimaryCollator.getCollationKey(addOne); in TestCollationKey()
269 sortKey1 = myCollation.getCollationKey(source); in doTest()
270 sortKey2 = myCollation.getCollationKey(target); in doTest()
DCollationDummyTest.java271 sourceKeyOut = coll.getCollationKey(source); in TestJB581()
272 targetKeyOut = coll.getCollationKey(target); in TestJB581()
337 CollationKey enKey = enCollation.getCollationKey(source[3]); in TestSurrogates()
338 CollationKey newKey = newCollation.getCollationKey(source[3]); in TestSurrogates()
392 CollationKey key = enColl.getCollationKey(" "); in TestVariableTop()
405 key = myColl.getCollationKey(new String(source)); in TestVariableTop()
531 srckey = collation.getCollationKey(source); in doTestVariant()
532 tgtkey = collation.getCollationKey(target); in doTestVariant()
DCollationMiscTest.java689 CollationKey key = coll.getCollationKey(test); in TestBocsuCoverage()
1708 CollationKey prefixKey = coll.getCollationKey(prefix); in TestMergeSortKeys()
1709 CollationKey suffixKey = coll.getCollationKey(suffix); in TestMergeSortKeys()
1711 CollationKey key = coll.getCollationKey(cases[i]); in TestMergeSortKeys()
1765 CollationKey key1 = coll.getCollationKey(tokens[i]); in TestVariableTop()
1767 CollationKey key2 = coll.getCollationKey(tokens[j]); in TestVariableTop()
2337 CollationKey expectingKey = coll.getCollationKey(cases[i][0]); in TestVI5913()
2339 CollationKey key = coll.getCollationKey(cases[i][j]); in TestVI5913()
2354 CollationKey expectingKey = vi_vi.getCollationKey(cases[0][0]); in TestVI5913()
2356 CollationKey key = vi_vi.getCollationKey(cases[0][j]); in TestVI5913()
[all …]
DCollationAPITest.java66 CollationKey sortk1 = col.getCollationKey(""); in TestCollationKey()
75 CollationKey sortkIgnorable = col.getCollationKey("\u0001\u034f"); in TestCollationKey()
82 sortk1 = col.getCollationKey(null); in TestCollationKey()
86 sortk1 = col.getCollationKey(test1); in TestCollationKey()
87 CollationKey sortk2 = col.getCollationKey(test2); in TestCollationKey()
110 CollationKey key1 = col.getCollationKey(test1); in TestCollationKey()
111 CollationKey key2 = col.getCollationKey(test2); in TestCollationKey()
112 CollationKey key3 = col.getCollationKey(test2); in TestCollationKey()
126 key1 = col.getCollationKey(test1); in TestCollationKey()
127 key2 = col.getCollationKey(test2); in TestCollationKey()
[all …]
DCollationFrenchTest.java188 = collator.getCollationKey("a\u0325\u2f00\u2f01b\u0325"); in TestContinuationReordering()
190 = collator.getCollationKey("a\u0325\u2f01\u2f01b\u0325"); in TestContinuationReordering()
205 sortKey1 = myCollation.getCollationKey(s); in doTest()
206 sortKey2 = myCollation.getCollationKey(t); in doTest()
DCollationKanaTest.java198 key1 = rb.getCollationKey(string1); in TestCommonCharacters()
199 key2 = rb.getCollationKey(string2); in TestCommonCharacters()
213 sortKey1 = myCollation.getCollationKey(s); in doTest()
214 sortKey2 = myCollation.getCollationKey(t); in doTest()
DCollationCreationMethodTest.java83 key1 = localeCollator.getCollationKey(randString1); in TestRuleVsLocaleCreationMonkey()
84 key2 = ruleCollator.getCollationKey(randString1); in TestRuleVsLocaleCreationMonkey()
DCollationRegressionTest.java202 sourceKey = c.getCollationKey(source); in compareArray()
209 targetKey = c.getCollationKey(target); in compareArray()
746 key = coll.getCollationKey(test); in Test4124632()
813 key = col.getCollationKey("Nombre De Objeto"); in Test4139572()
1163 CollationKey collKey = coll.getCollationKey(s); in Test8484()
1193 CollationKey sortk1 = col.getCollationKey(str1); in printKey()
1277 CollationKey key1 = col.getCollationKey(str1); in caseFirstCompressionSub()
1278 CollationKey key2 = col.getCollationKey(str2); in caseFirstCompressionSub()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
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()
241 sortKey1 = myCollation.getCollationKey(source); in doTest()
242 sortKey2 = myCollation.getCollationKey(target); in doTest()
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()
266 sortKey1 = myCollation.getCollationKey(source); in doTest()
267 sortKey2 = myCollation.getCollationKey(target); in doTest()
DCollationDummyTest.java268 sourceKeyOut = coll.getCollationKey(source); in TestJB581()
269 targetKeyOut = coll.getCollationKey(target); in TestJB581()
334 CollationKey enKey = enCollation.getCollationKey(source[3]); in TestSurrogates()
335 CollationKey newKey = newCollation.getCollationKey(source[3]); in TestSurrogates()
389 CollationKey key = enColl.getCollationKey(" "); in TestVariableTop()
402 key = myColl.getCollationKey(new String(source)); in TestVariableTop()
528 srckey = collation.getCollationKey(source); in doTestVariant()
529 tgtkey = collation.getCollationKey(target); in doTestVariant()
DCollationMiscTest.java686 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.java63 CollationKey sortk1 = col.getCollationKey(""); in TestCollationKey()
72 CollationKey sortkIgnorable = col.getCollationKey("\u0001\u034f"); in TestCollationKey()
79 sortk1 = col.getCollationKey(null); in TestCollationKey()
83 sortk1 = col.getCollationKey(test1); in TestCollationKey()
84 CollationKey sortk2 = col.getCollationKey(test2); in TestCollationKey()
107 CollationKey key1 = col.getCollationKey(test1); in TestCollationKey()
108 CollationKey key2 = col.getCollationKey(test2); in TestCollationKey()
109 CollationKey key3 = col.getCollationKey(test2); in TestCollationKey()
123 key1 = col.getCollationKey(test1); in TestCollationKey()
124 key2 = col.getCollationKey(test2); in TestCollationKey()
[all …]
DCollationFrenchTest.java185 = collator.getCollationKey("a\u0325\u2f00\u2f01b\u0325"); in TestContinuationReordering()
187 = collator.getCollationKey("a\u0325\u2f01\u2f01b\u0325"); in TestContinuationReordering()
202 sortKey1 = myCollation.getCollationKey(s); in doTest()
203 sortKey2 = myCollation.getCollationKey(t); in doTest()
DCollationKanaTest.java195 key1 = rb.getCollationKey(string1); in TestCommonCharacters()
196 key2 = rb.getCollationKey(string2); in TestCommonCharacters()
210 sortKey1 = myCollation.getCollationKey(s); in doTest()
211 sortKey2 = myCollation.getCollationKey(t); in doTest()
DCollationCreationMethodTest.java80 key1 = localeCollator.getCollationKey(randString1); in TestRuleVsLocaleCreationMonkey()
81 key2 = ruleCollator.getCollationKey(randString1); in TestRuleVsLocaleCreationMonkey()
DCollationRegressionTest.java199 sourceKey = c.getCollationKey(source); in compareArray()
206 targetKey = c.getCollationKey(target); in compareArray()
743 key = coll.getCollationKey(test); in Test4124632()
810 key = col.getCollationKey("Nombre De Objeto"); in Test4139572()
1160 CollationKey collKey = coll.getCollationKey(s); in Test8484()
1190 CollationKey sortk1 = col.getCollationKey(str1); in printKey()
1274 CollationKey key1 = col.getCollationKey(str1); in caseFirstCompressionSub()
1275 CollationKey key2 = col.getCollationKey(str2); in caseFirstCompressionSub()
/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.cpp485 col3->getCollationKey(test1, sortk1, status); in TestHashCode()
486 col3->getCollationKey(test2, sortk2, status); in TestHashCode()
487 col3->getCollationKey(test2, sortk3, status); in TestHashCode()
525 col->getCollationKey(NULL, 0, sortkEmpty, key1Status); in TestCollationKey()
539 col->getCollationKey(UnicodeString((UChar)1).append((UChar)0x34f), sortkIgnorable, key1Status); in TestCollationKey()
548 col->getCollationKey(NULL, 0, sortk1, key1Status); in TestCollationKey()
555 col->getCollationKey(test1, sortk1, key1Status); in TestCollationKey()
560 doAssert((sortk1.compareTo(col->getCollationKey(test2, sortk2, key2Status))) in TestCollationKey()
622 doAssert(col->getCollationKey(test1, sortk1, key1Status).compareTo( in TestCollationKey()
623 col->getCollationKey(test2, sortk2, key2Status)) in TestCollationKey()
[all …]
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DCollatorTest.java122 CollationKey jdkKey1 = jdkColl.getCollationKey(text1); in checkCollation()
123 CollationKey jdkKey2 = jdkColl.getCollationKey(text2); in checkCollation()
125 com.ibm.icu.text.CollationKey icuKey1 = icuColl.getCollationKey(text1); in checkCollation()
126 com.ibm.icu.text.CollationKey icuKey2 = icuColl.getCollationKey(text2); in checkCollation()
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DCollationPerformanceTest.java235 CollationKey ck = ((com.ibm.icu.text.RuleBasedCollator)icuCol).getCollationKey(line); in doDump()
416 … com.ibm.icu.text.CollationKey sortKey1 = icuCol.getCollationKey(tests[j]); in doBinarySearch()
417 … com.ibm.icu.text.CollationKey sortKey2 = icuCol.getCollationKey(tests[guess]); in doBinarySearch()
454 java.text.CollationKey sortKey1 = javaCol.getCollationKey(tests[j]); in doBinarySearch()
455 … java.text.CollationKey sortKey2 = javaCol.getCollationKey(tests[guess]); in doBinarySearch()
511 byte[] sortKey = javaCol.getCollationKey(tests[line]).toByteArray(); in doKeyGen()
522 byte[] sortKey = icuCol.getCollationKey(tests[line]).toByteArray(); in doKeyGen()
563 accumulatedLen[len] += icuCol.getCollationKey(tests[i]).toByteArray().length; in doKeyHist()
1161 … while((low < toIndex) && (compare(c.getCollationKey(src[low]), c.getCollationKey(middle)) < 0)) { in qSortImpl_java_usekeys()
1164 …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