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.c275 uint8_t *sortKey1, *sortKey2, *sortKey1a, *sortKey2a; in doTestVariant() local
410 sortKey2 =(uint8_t*)malloc(sizeof(uint8_t) * (sortklenmax+1)); in doTestVariant()
412 ucol_getSortKey(myCollation, target, tLen, sortKey2, sortklen2+1); in doTestVariant()
418 uprv_strcmp((const char *)sortKey2, (const char *)sortKey2a) != 0 ) { in doTestVariant()
423 temp= uprv_strcmp((const char *)sortKey1, (const char *)sortKey2); in doTestVariant()
425 gSortklen2 = uprv_strlen((const char *)sortKey2)+1; in doTestVariant()
432 … log_verbose("Generated sortkey: %s\n", sortKeyToString(myCollation, sortKey2, buffer, &len)); in doTestVariant()
444 …reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResultIter, re… in doTestVariant()
446 free(sortKey2); in doTestVariant()
Dcapitst.c871 uint8_t *sortKey2; in TestBengaliSortKey() local
899 sortKey2 = (uint8_t*)malloc(sortKeyLen2+1); in TestBengaliSortKey()
900 ucol_getSortKey(c2,str2,-1,sortKey2, sortKeyLen2+1); in TestBengaliSortKey()
902 ucol_sortKeyToString(c2, sortKey2, sortKeyStr2, sortKeyStrLen2); in TestBengaliSortKey()
918 free(sortKey2); in TestBengaliSortKey()
941 uint8_t *sortKey1 = NULL, *sortKey2 = NULL; in TestOpenVsOpenRules() local
1036 sortKey2 = (uint8_t*)malloc(sizeof(uint8_t) * (sortKeyLen2 + 1)); in TestOpenVsOpenRules()
1038 ucol_getSortKey(c2, str, u_strlen(str), sortKey2, sortKeyLen2 + 1); in TestOpenVsOpenRules()
1039 ucol_sortKeyToString(c2, sortKey2, sortKeyStr2, sortKeyStrLen2); in TestOpenVsOpenRules()
1048 if (memcmp(sortKey1, sortKey2, sortKeyLen1) != 0) { in TestOpenVsOpenRules()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DLotusCollationKoreanTest.java71 CollationKey sortKey1, sortKey2; in doTest() local
73 sortKey2 = myCollation.getCollationKey(t); in doTest()
74 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
75 reportCResult( s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result ); in doTest()
DCollationSpanishTest.java105 CollationKey sortKey1, sortKey2; in doTest() local
107 sortKey2 = myCollation.getCollationKey(t); in doTest()
108 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
109 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationFinnishTest.java93 CollationKey sortKey1, sortKey2; in doTest() local
95 sortKey2 = myCollation.getCollationKey(t); in doTest()
96 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
97 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationTurkishTest.java111 CollationKey sortKey1, sortKey2; in doTest() local
113 sortKey2 = myCollation.getCollationKey(t); in doTest()
114 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
115 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationGermanTest.java138 CollationKey sortKey1, sortKey2; in doTest() local
140 sortKey2 = myCollation.getCollationKey(t); in doTest()
141 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
142 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationFrenchTest.java204 CollationKey sortKey1, sortKey2; in doTest() local
206 sortKey2 = myCollation.getCollationKey(t); in doTest()
207 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
208 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationEnglishTest.java337 CollationKey sortKey1, sortKey2; in doTest() local
339 sortKey2 = myCollation.getCollationKey(t); in doTest()
340 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
341 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationKanaTest.java212 CollationKey sortKey1, sortKey2; in doTest() local
214 sortKey2 = myCollation.getCollationKey(t); in doTest()
215 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
216 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DG7CollationTest.java215 CollationKey sortKey1, sortKey2; in doTest() local
217 sortKey2 = myCollation.getCollationKey(target); in doTest()
218 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
219 reportCResult(source, target, sortKey1, sortKey2, compareResult, in doTest()
DCollationFrozenMonkeyTest.java266 CollationKey sortKey1, sortKey2; in doTest() local
270 sortKey2 = myCollation.getCollationKey(target); in doTest()
275 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
276 …reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, resu… in doTest()
DCollationMonkeyTest.java241 CollationKey sortKey1, sortKey2; in doTest() local
245 sortKey2 = myCollation.getCollationKey(target); in doTest()
250 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
251 …reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, resu… in doTest()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DLotusCollationKoreanTest.java68 CollationKey sortKey1, sortKey2; in doTest() local
70 sortKey2 = myCollation.getCollationKey(t); in doTest()
71 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
72 reportCResult( s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result ); in doTest()
DCollationTurkishTest.java108 CollationKey sortKey1, sortKey2; in doTest() local
110 sortKey2 = myCollation.getCollationKey(t); in doTest()
111 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
112 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationFinnishTest.java90 CollationKey sortKey1, sortKey2; in doTest() local
92 sortKey2 = myCollation.getCollationKey(t); in doTest()
93 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
94 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationSpanishTest.java102 CollationKey sortKey1, sortKey2; in doTest() local
104 sortKey2 = myCollation.getCollationKey(t); in doTest()
105 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
106 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationGermanTest.java135 CollationKey sortKey1, sortKey2; in doTest() local
137 sortKey2 = myCollation.getCollationKey(t); in doTest()
138 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
139 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationFrenchTest.java201 CollationKey sortKey1, sortKey2; in doTest() local
203 sortKey2 = myCollation.getCollationKey(t); in doTest()
204 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
205 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationEnglishTest.java334 CollationKey sortKey1, sortKey2; in doTest() local
336 sortKey2 = myCollation.getCollationKey(t); in doTest()
337 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
338 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationKanaTest.java209 CollationKey sortKey1, sortKey2; in doTest() local
211 sortKey2 = myCollation.getCollationKey(t); in doTest()
212 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
213 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DG7CollationTest.java212 CollationKey sortKey1, sortKey2; in doTest() local
214 sortKey2 = myCollation.getCollationKey(target); in doTest()
215 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
216 reportCResult(source, target, sortKey1, sortKey2, compareResult, in doTest()
DCollationFrozenMonkeyTest.java263 CollationKey sortKey1, sortKey2; in doTest() local
267 sortKey2 = myCollation.getCollationKey(target); in doTest()
272 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
273 …reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, resu… in doTest()
DCollationMonkeyTest.java238 CollationKey sortKey1, sortKey2; in doTest() local
242 sortKey2 = myCollation.getCollationKey(target); in doTest()
247 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
248 …reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, resu… in doTest()

12