Home
last modified time | relevance | path

Searched refs:sortKey2 (Results 1 – 25 of 30) sorted by relevance

12

/external/icu/icu4c/source/test/cintltst/
Dccurrtst.c106 uint8_t *sortKey1, *sortKey2; in currTest() local
149 sortKey2=(uint8_t*)malloc(sizeof(uint8_t) * (sortklen+1)); in currTest()
150 ucol_getSortKey(c, target, u_strlen(target), sortKey2, sortklen+1); in currTest()
152 res = uprv_memcmp(sortKey1, sortKey2, sortklen); in currTest()
157 …reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, expect… in currTest()
160 free(sortKey2); in currTest()
Dcallcoll.c273 uint8_t *sortKey1, *sortKey2, *sortKey1a, *sortKey2a; in doTestVariant() local
408 sortKey2 =(uint8_t*)malloc(sizeof(uint8_t) * (sortklenmax+1)); in doTestVariant()
410 ucol_getSortKey(myCollation, target, tLen, sortKey2, sortklen2+1); in doTestVariant()
416 uprv_strcmp((const char *)sortKey2, (const char *)sortKey2a) != 0 ) { in doTestVariant()
421 temp= uprv_strcmp((const char *)sortKey1, (const char *)sortKey2); in doTestVariant()
423 gSortklen2 = uprv_strlen((const char *)sortKey2)+1; in doTestVariant()
430 … log_verbose("Generated sortkey: %s\n", sortKeyToString(myCollation, sortKey2, buffer, &len)); in doTestVariant()
442 …reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResultIter, re… in doTestVariant()
444 free(sortKey2); in doTestVariant()
Dcapitst.c869 uint8_t *sortKey2; in TestBengaliSortKey() local
897 sortKey2 = (uint8_t*)malloc(sortKeyLen2+1); in TestBengaliSortKey()
898 ucol_getSortKey(c2,str2,-1,sortKey2, sortKeyLen2+1); in TestBengaliSortKey()
900 ucol_sortKeyToString(c2, sortKey2, sortKeyStr2, sortKeyStrLen2); in TestBengaliSortKey()
916 free(sortKey2); in TestBengaliSortKey()
939 uint8_t *sortKey1 = NULL, *sortKey2 = NULL; in TestOpenVsOpenRules() local
1034 sortKey2 = (uint8_t*)malloc(sizeof(uint8_t) * (sortKeyLen2 + 1)); in TestOpenVsOpenRules()
1036 ucol_getSortKey(c2, str, u_strlen(str), sortKey2, sortKeyLen2 + 1); in TestOpenVsOpenRules()
1037 ucol_sortKeyToString(c2, sortKey2, sortKeyStr2, sortKeyStrLen2); in TestOpenVsOpenRules()
1046 if (memcmp(sortKey1, sortKey2, sortKeyLen1) != 0) { in TestOpenVsOpenRules()
[all …]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DLotusCollationKoreanTest.java60 CollationKey sortKey1, sortKey2; in doTest() local
62 sortKey2 = myCollation.getCollationKey(t); in doTest()
63 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
64 reportCResult( s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result ); in doTest()
DCollationFinnishTest.java82 CollationKey sortKey1, sortKey2; in doTest() local
84 sortKey2 = myCollation.getCollationKey(t); in doTest()
85 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
86 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationSpanishTest.java94 CollationKey sortKey1, sortKey2; in doTest() local
96 sortKey2 = myCollation.getCollationKey(t); in doTest()
97 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
98 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationTurkishTest.java100 CollationKey sortKey1, sortKey2; in doTest() local
102 sortKey2 = myCollation.getCollationKey(t); in doTest()
103 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
104 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationGermanTest.java126 CollationKey sortKey1, sortKey2; in doTest() local
128 sortKey2 = myCollation.getCollationKey(t); in doTest()
129 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
130 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationEnglishTest.java325 CollationKey sortKey1, sortKey2; in doTest() local
327 sortKey2 = myCollation.getCollationKey(t); in doTest()
328 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
329 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationFrenchTest.java192 CollationKey sortKey1, sortKey2; in doTest() local
194 sortKey2 = myCollation.getCollationKey(t); in doTest()
195 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
196 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationKanaTest.java195 CollationKey sortKey1, sortKey2; in doTest() local
197 sortKey2 = myCollation.getCollationKey(t); in doTest()
198 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
199 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DG7CollationTest.java205 CollationKey sortKey1, sortKey2; in doTest() local
207 sortKey2 = myCollation.getCollationKey(target); in doTest()
208 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
209 reportCResult(source, target, sortKey1, sortKey2, compareResult, in doTest()
DCollationMonkeyTest.java232 CollationKey sortKey1, sortKey2; in doTest() local
236 sortKey2 = myCollation.getCollationKey(target); in doTest()
241 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
242 …reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, resu… in doTest()
DCollationFrozenMonkeyTest.java257 CollationKey sortKey1, sortKey2; in doTest() local
261 sortKey2 = myCollation.getCollationKey(target); in doTest()
266 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
267 …reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, resu… in doTest()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationSpanishTest.java98 CollationKey sortKey1, sortKey2; in doTest() local
100 sortKey2 = myCollation.getCollationKey(t); in doTest()
101 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
102 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DLotusCollationKoreanTest.java64 CollationKey sortKey1, sortKey2; in doTest() local
66 sortKey2 = myCollation.getCollationKey(t); in doTest()
67 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
68 reportCResult( s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result ); in doTest()
DCollationFinnishTest.java86 CollationKey sortKey1, sortKey2; in doTest() local
88 sortKey2 = myCollation.getCollationKey(t); in doTest()
89 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
90 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationTurkishTest.java104 CollationKey sortKey1, sortKey2; in doTest() local
106 sortKey2 = myCollation.getCollationKey(t); in doTest()
107 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
108 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationGermanTest.java130 CollationKey sortKey1, sortKey2; in doTest() local
132 sortKey2 = myCollation.getCollationKey(t); in doTest()
133 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
134 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationFrenchTest.java196 CollationKey sortKey1, sortKey2; in doTest() local
198 sortKey2 = myCollation.getCollationKey(t); in doTest()
199 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
200 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationEnglishTest.java329 CollationKey sortKey1, sortKey2; in doTest() local
331 sortKey2 = myCollation.getCollationKey(t); in doTest()
332 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
333 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationKanaTest.java199 CollationKey sortKey1, sortKey2; in doTest() local
201 sortKey2 = myCollation.getCollationKey(t); in doTest()
202 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
203 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DG7CollationTest.java209 CollationKey sortKey1, sortKey2; in doTest() local
211 sortKey2 = myCollation.getCollationKey(target); in doTest()
212 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
213 reportCResult(source, target, sortKey1, sortKey2, compareResult, in doTest()
DCollationMonkeyTest.java236 CollationKey sortKey1, sortKey2; in doTest() local
240 sortKey2 = myCollation.getCollationKey(target); in doTest()
245 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
246 …reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, resu… in doTest()
DCollationFrozenMonkeyTest.java261 CollationKey sortKey1, sortKey2; in doTest() local
265 sortKey2 = myCollation.getCollationKey(target); in doTest()
270 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
271 …reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, resu… in doTest()

12