Home
last modified time | relevance | path

Searched refs:sortKey1 (Results 1 – 25 of 29) sorted by relevance

12

/external/icu/icu4c/source/test/cintltst/
Dccurrtst.c106 uint8_t *sortKey1, *sortKey2; in currTest() local
145 sortKey1=(uint8_t*)malloc(sizeof(uint8_t) * (sortklen+1)); in currTest()
146 ucol_getSortKey(c, source, u_strlen(source), sortKey1, 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()
159 free(sortKey1); in currTest()
Dcallcoll.c273 uint8_t *sortKey1, *sortKey2, *sortKey1a, *sortKey2a; in doTestVariant() local
403 sortKey1 =(uint8_t*)malloc(sizeof(uint8_t) * (sortklenmax+1)); in doTestVariant()
405 ucol_getSortKey(myCollation, source, sLen, sortKey1, sortklen1+1); in doTestVariant()
415 if (uprv_strcmp((const char *)sortKey1, (const char *)sortKey1a) != 0 || in doTestVariant()
421 temp= uprv_strcmp((const char *)sortKey1, (const char *)sortKey2); in doTestVariant()
422 gSortklen1 = uprv_strlen((const char *)sortKey1)+1; in doTestVariant()
426 … log_verbose("Generated sortkey: %s\n", sortKeyToString(myCollation, sortKey1, buffer, &len)); in doTestVariant()
442 …reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResultIter, re… in doTestVariant()
443 free(sortKey1); in doTestVariant()
Dcapitst.c867 uint8_t *sortKey1; in TestBengaliSortKey() local
891 sortKey1 = (uint8_t*)malloc(sortKeyLen1+1); in TestBengaliSortKey()
892 ucol_getSortKey(c2,str1,-1,sortKey1, sortKeyLen1+1); in TestBengaliSortKey()
893 ucol_sortKeyToString(c2, sortKey1, sortKeyStr1, sortKeyStrLen1); in TestBengaliSortKey()
915 free(sortKey1); in TestBengaliSortKey()
939 uint8_t *sortKey1 = NULL, *sortKey2 = NULL; in TestOpenVsOpenRules() local
1028 sortKey1 = (uint8_t*)malloc(sizeof(uint8_t) * (sortKeyLen1 + 1)); in TestOpenVsOpenRules()
1030 ucol_getSortKey(c1, str, u_strlen(str), sortKey1, sortKeyLen1 + 1); in TestOpenVsOpenRules()
1031 ucol_sortKeyToString(c1, sortKey1, sortKeyStr1, sortKeyStrLen1); 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
61 sortKey1 = myCollation.getCollationKey(s); in doTest()
63 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
64 reportCResult( s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result ); in doTest()
DCollationSpanishTest.java94 CollationKey sortKey1, sortKey2; in doTest() local
95 sortKey1 = myCollation.getCollationKey(s); 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
101 sortKey1 = myCollation.getCollationKey(s); in doTest()
103 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
104 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationFinnishTest.java82 CollationKey sortKey1, sortKey2; in doTest() local
83 sortKey1 = myCollation.getCollationKey(s); in doTest()
85 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
86 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationGermanTest.java126 CollationKey sortKey1, sortKey2; in doTest() local
127 sortKey1 = myCollation.getCollationKey(s); 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
326 sortKey1 = myCollation.getCollationKey(s); 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
193 sortKey1 = myCollation.getCollationKey(s); 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
196 sortKey1 = myCollation.getCollationKey(s); 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
206 sortKey1 = myCollation.getCollationKey(source); 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
235 sortKey1 = myCollation.getCollationKey(source); 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
260 sortKey1 = myCollation.getCollationKey(source); 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/
DCollationFinnishTest.java86 CollationKey sortKey1, sortKey2; in doTest() local
87 sortKey1 = myCollation.getCollationKey(s); in doTest()
89 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
90 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DLotusCollationKoreanTest.java64 CollationKey sortKey1, sortKey2; in doTest() local
65 sortKey1 = myCollation.getCollationKey(s); in doTest()
67 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
68 reportCResult( s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result ); in doTest()
DCollationSpanishTest.java98 CollationKey sortKey1, sortKey2; in doTest() local
99 sortKey1 = myCollation.getCollationKey(s); in doTest()
101 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
102 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationTurkishTest.java104 CollationKey sortKey1, sortKey2; in doTest() local
105 sortKey1 = myCollation.getCollationKey(s); 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
131 sortKey1 = myCollation.getCollationKey(s); 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
197 sortKey1 = myCollation.getCollationKey(s); 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
330 sortKey1 = myCollation.getCollationKey(s); 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
200 sortKey1 = myCollation.getCollationKey(s); 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
210 sortKey1 = myCollation.getCollationKey(source); in doTest()
212 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
213 reportCResult(source, target, sortKey1, sortKey2, compareResult, in doTest()
DCollationFrozenMonkeyTest.java261 CollationKey sortKey1, sortKey2; in doTest() local
264 sortKey1 = myCollation.getCollationKey(source); in doTest()
270 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
271 …reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, resu… in doTest()
DCollationMonkeyTest.java236 CollationKey sortKey1, sortKey2; in doTest() local
239 sortKey1 = myCollation.getCollationKey(source); in doTest()
245 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
246 …reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, resu… in doTest()

12