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.c278 uint8_t *sortKey1, *sortKey2, *sortKey1a, *sortKey2a; in doTestVariant() local
408 sortKey1 =(uint8_t*)malloc(sizeof(uint8_t) * (sortklenmax+1)); in doTestVariant()
410 ucol_getSortKey(myCollation, source, sLen, sortKey1, sortklen1+1); in doTestVariant()
420 if (uprv_strcmp((const char *)sortKey1, (const char *)sortKey1a) != 0 || in doTestVariant()
426 temp= uprv_strcmp((const char *)sortKey1, (const char *)sortKey2); in doTestVariant()
427 gSortklen1 = (int)uprv_strlen((const char *)sortKey1)+1; in doTestVariant()
431 … log_verbose("Generated sortkey: %s\n", sortKeyToString(myCollation, sortKey1, buffer, &len)); in doTestVariant()
447 …reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResultIter, re… in doTestVariant()
448 free(sortKey1); in doTestVariant()
Dcapitst.c869 uint8_t *sortKey1; in TestBengaliSortKey() local
893 sortKey1 = (uint8_t*)malloc(sortKeyLen1+1); in TestBengaliSortKey()
894 ucol_getSortKey(c2,str1,-1,sortKey1, sortKeyLen1+1); in TestBengaliSortKey()
895 ucol_sortKeyToString(c2, sortKey1, sortKeyStr1, sortKeyStrLen1); in TestBengaliSortKey()
917 free(sortKey1); in TestBengaliSortKey()
941 uint8_t *sortKey1 = NULL, *sortKey2 = NULL; in TestOpenVsOpenRules() local
1030 sortKey1 = (uint8_t*)malloc(sizeof(uint8_t) * (sortKeyLen1 + 1)); in TestOpenVsOpenRules()
1032 ucol_getSortKey(c1, str, u_strlen(str), sortKey1, sortKeyLen1 + 1); in TestOpenVsOpenRules()
1033 ucol_sortKeyToString(c1, sortKey1, sortKeyStr1, sortKeyStrLen1); 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
72 sortKey1 = myCollation.getCollationKey(s); in doTest()
74 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
75 reportCResult( s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result ); in doTest()
DCollationTurkishTest.java111 CollationKey sortKey1, sortKey2; in doTest() local
112 sortKey1 = myCollation.getCollationKey(s); in doTest()
114 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
115 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationFinnishTest.java93 CollationKey sortKey1, sortKey2; in doTest() local
94 sortKey1 = myCollation.getCollationKey(s); in doTest()
96 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
97 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationSpanishTest.java105 CollationKey sortKey1, sortKey2; in doTest() local
106 sortKey1 = myCollation.getCollationKey(s); in doTest()
108 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
109 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationGermanTest.java138 CollationKey sortKey1, sortKey2; in doTest() local
139 sortKey1 = myCollation.getCollationKey(s); 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
205 sortKey1 = myCollation.getCollationKey(s); 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
338 sortKey1 = myCollation.getCollationKey(s); 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
213 sortKey1 = myCollation.getCollationKey(s); 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
216 sortKey1 = myCollation.getCollationKey(source); in doTest()
218 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
219 reportCResult(source, target, sortKey1, sortKey2, compareResult, in doTest()
DCollationMonkeyTest.java241 CollationKey sortKey1, sortKey2; in doTest() local
244 sortKey1 = myCollation.getCollationKey(source); in doTest()
250 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
251 …reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, resu… in doTest()
DCollationFrozenMonkeyTest.java266 CollationKey sortKey1, sortKey2; in doTest() local
269 sortKey1 = myCollation.getCollationKey(source); in doTest()
275 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
276 …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
69 sortKey1 = myCollation.getCollationKey(s); in doTest()
71 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
72 reportCResult( s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result ); in doTest()
DCollationSpanishTest.java102 CollationKey sortKey1, sortKey2; in doTest() local
103 sortKey1 = myCollation.getCollationKey(s); in doTest()
105 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
106 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationTurkishTest.java108 CollationKey sortKey1, sortKey2; in doTest() local
109 sortKey1 = myCollation.getCollationKey(s); 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
91 sortKey1 = myCollation.getCollationKey(s); in doTest()
93 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
94 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
DCollationGermanTest.java135 CollationKey sortKey1, sortKey2; in doTest() local
136 sortKey1 = myCollation.getCollationKey(s); 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
202 sortKey1 = myCollation.getCollationKey(s); 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
335 sortKey1 = myCollation.getCollationKey(s); 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
210 sortKey1 = myCollation.getCollationKey(s); 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
213 sortKey1 = myCollation.getCollationKey(source); 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
266 sortKey1 = myCollation.getCollationKey(source); 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
241 sortKey1 = myCollation.getCollationKey(source); in doTest()
247 int keyResult = sortKey1.compareTo(sortKey2); in doTest()
248 …reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, resu… in doTest()

12