/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 | 273 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()
|
D | capitst.c | 867 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/ |
D | LotusCollationKoreanTest.java | 60 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()
|
D | CollationSpanishTest.java | 94 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()
|
D | CollationTurkishTest.java | 100 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()
|
D | CollationFinnishTest.java | 82 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()
|
D | CollationGermanTest.java | 126 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()
|
D | CollationEnglishTest.java | 325 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()
|
D | CollationFrenchTest.java | 192 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()
|
D | CollationKanaTest.java | 195 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()
|
D | G7CollationTest.java | 205 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()
|
D | CollationMonkeyTest.java | 232 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()
|
D | CollationFrozenMonkeyTest.java | 257 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/ |
D | CollationFinnishTest.java | 86 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()
|
D | LotusCollationKoreanTest.java | 64 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()
|
D | CollationSpanishTest.java | 98 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()
|
D | CollationTurkishTest.java | 104 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()
|
D | CollationGermanTest.java | 130 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()
|
D | CollationFrenchTest.java | 196 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()
|
D | CollationEnglishTest.java | 329 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()
|
D | CollationKanaTest.java | 199 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()
|
D | G7CollationTest.java | 209 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()
|
D | CollationFrozenMonkeyTest.java | 261 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()
|
D | CollationMonkeyTest.java | 236 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()
|