/external/icu/icu4c/source/test/cintltst/ |
D | ccurrtst.c | 106 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()
|
D | callcoll.c | 275 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()
|
D | capitst.c | 871 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/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | LotusCollationKoreanTest.java | 65 CollationKey sortKey1, sortKey2; in doTest() local 67 sortKey2 = myCollation.getCollationKey(t); in doTest() 68 int keyResult = sortKey1.compareTo(sortKey2); in doTest() 69 reportCResult( s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result ); in doTest()
|
D | CollationSpanishTest.java | 99 CollationKey sortKey1, sortKey2; in doTest() local 101 sortKey2 = myCollation.getCollationKey(t); in doTest() 102 int keyResult = sortKey1.compareTo(sortKey2); in doTest() 103 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
|
D | CollationTurkishTest.java | 105 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()
|
D | CollationFinnishTest.java | 87 CollationKey sortKey1, sortKey2; in doTest() local 89 sortKey2 = myCollation.getCollationKey(t); in doTest() 90 int keyResult = sortKey1.compareTo(sortKey2); in doTest() 91 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
|
D | CollationGermanTest.java | 132 CollationKey sortKey1, sortKey2; in doTest() local 134 sortKey2 = myCollation.getCollationKey(t); in doTest() 135 int keyResult = sortKey1.compareTo(sortKey2); in doTest() 136 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
|
D | CollationFrenchTest.java | 198 CollationKey sortKey1, sortKey2; in doTest() local 200 sortKey2 = myCollation.getCollationKey(t); in doTest() 201 int keyResult = sortKey1.compareTo(sortKey2); in doTest() 202 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
|
D | CollationEnglishTest.java | 331 CollationKey sortKey1, sortKey2; in doTest() local 333 sortKey2 = myCollation.getCollationKey(t); in doTest() 334 int keyResult = sortKey1.compareTo(sortKey2); in doTest() 335 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
|
D | CollationKanaTest.java | 206 CollationKey sortKey1, sortKey2; in doTest() local 208 sortKey2 = myCollation.getCollationKey(t); in doTest() 209 int keyResult = sortKey1.compareTo(sortKey2); in doTest() 210 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
|
D | G7CollationTest.java | 209 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()
|
D | CollationFrozenMonkeyTest.java | 260 CollationKey sortKey1, sortKey2; in doTest() local 264 sortKey2 = myCollation.getCollationKey(target); in doTest() 269 int keyResult = sortKey1.compareTo(sortKey2); in doTest() 270 …reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, resu… in doTest()
|
D | CollationMonkeyTest.java | 235 CollationKey sortKey1, sortKey2; in doTest() local 239 sortKey2 = myCollation.getCollationKey(target); in doTest() 244 int keyResult = sortKey1.compareTo(sortKey2); in doTest() 245 …reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, resu… in doTest()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | LotusCollationKoreanTest.java | 66 CollationKey sortKey1, sortKey2; in doTest() local 68 sortKey2 = myCollation.getCollationKey(t); in doTest() 69 int keyResult = sortKey1.compareTo(sortKey2); in doTest() 70 reportCResult( s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result ); in doTest()
|
D | CollationSpanishTest.java | 100 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()
|
D | CollationFinnishTest.java | 88 CollationKey sortKey1, sortKey2; in doTest() local 90 sortKey2 = myCollation.getCollationKey(t); in doTest() 91 int keyResult = sortKey1.compareTo(sortKey2); in doTest() 92 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
|
D | CollationTurkishTest.java | 106 CollationKey sortKey1, sortKey2; in doTest() local 108 sortKey2 = myCollation.getCollationKey(t); in doTest() 109 int keyResult = sortKey1.compareTo(sortKey2); in doTest() 110 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
|
D | CollationGermanTest.java | 133 CollationKey sortKey1, sortKey2; in doTest() local 135 sortKey2 = myCollation.getCollationKey(t); in doTest() 136 int keyResult = sortKey1.compareTo(sortKey2); in doTest() 137 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
|
D | CollationFrenchTest.java | 199 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()
|
D | CollationEnglishTest.java | 332 CollationKey sortKey1, sortKey2; in doTest() local 334 sortKey2 = myCollation.getCollationKey(t); in doTest() 335 int keyResult = sortKey1.compareTo(sortKey2); in doTest() 336 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
|
D | CollationKanaTest.java | 207 CollationKey sortKey1, sortKey2; in doTest() local 209 sortKey2 = myCollation.getCollationKey(t); in doTest() 210 int keyResult = sortKey1.compareTo(sortKey2); in doTest() 211 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
|
D | G7CollationTest.java | 210 CollationKey sortKey1, sortKey2; in doTest() local 212 sortKey2 = myCollation.getCollationKey(target); in doTest() 213 int keyResult = sortKey1.compareTo(sortKey2); in doTest() 214 reportCResult(source, target, sortKey1, sortKey2, compareResult, in doTest()
|
D | CollationMonkeyTest.java | 236 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()
|
D | CollationFrozenMonkeyTest.java | 261 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()
|