/external/icu/icu4c/source/test/cintltst/ |
D | ccurrtst.c | 106 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()
|
D | callcoll.c | 278 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()
|
D | capitst.c | 869 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/ |
D | LotusCollationKoreanTest.java | 71 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()
|
D | CollationTurkishTest.java | 111 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()
|
D | CollationFinnishTest.java | 93 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()
|
D | CollationSpanishTest.java | 105 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()
|
D | CollationGermanTest.java | 138 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()
|
D | CollationFrenchTest.java | 204 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()
|
D | CollationEnglishTest.java | 337 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()
|
D | CollationKanaTest.java | 212 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()
|
D | G7CollationTest.java | 215 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()
|
D | CollationMonkeyTest.java | 241 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()
|
D | CollationFrozenMonkeyTest.java | 266 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/ |
D | LotusCollationKoreanTest.java | 68 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()
|
D | CollationSpanishTest.java | 102 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()
|
D | CollationTurkishTest.java | 108 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()
|
D | CollationFinnishTest.java | 90 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()
|
D | CollationGermanTest.java | 135 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()
|
D | CollationFrenchTest.java | 201 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()
|
D | CollationEnglishTest.java | 334 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()
|
D | CollationKanaTest.java | 209 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()
|
D | G7CollationTest.java | 212 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()
|
D | CollationFrozenMonkeyTest.java | 263 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()
|
D | CollationMonkeyTest.java | 238 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()
|