/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 | 278 uint8_t *sortKey1, *sortKey2, *sortKey1a, *sortKey2a; in doTestVariant() local 413 sortKey2 =(uint8_t*)malloc(sizeof(uint8_t) * (sortklenmax+1)); in doTestVariant() 415 ucol_getSortKey(myCollation, target, tLen, sortKey2, sortklen2+1); in doTestVariant() 421 uprv_strcmp((const char *)sortKey2, (const char *)sortKey2a) != 0 ) { in doTestVariant() 426 temp= uprv_strcmp((const char *)sortKey1, (const char *)sortKey2); in doTestVariant() 428 gSortklen2 = (int)uprv_strlen((const char *)sortKey2)+1; in doTestVariant() 435 … log_verbose("Generated sortkey: %s\n", sortKeyToString(myCollation, sortKey2, buffer, &len)); in doTestVariant() 447 …reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResultIter, re… in doTestVariant() 449 free(sortKey2); in doTestVariant()
|
D | capitst.c | 872 uint8_t *sortKey2; in TestBengaliSortKey() local 900 sortKey2 = (uint8_t*)malloc(sortKeyLen2+1); in TestBengaliSortKey() 901 ucol_getSortKey(c2,str2,-1,sortKey2, sortKeyLen2+1); in TestBengaliSortKey() 903 ucol_sortKeyToString(c2, sortKey2, sortKeyStr2, sortKeyStrLen2); in TestBengaliSortKey() 919 free(sortKey2); in TestBengaliSortKey() 942 uint8_t *sortKey1 = NULL, *sortKey2 = NULL; in TestOpenVsOpenRules() local 1037 sortKey2 = (uint8_t*)malloc(sizeof(uint8_t) * (sortKeyLen2 + 1)); in TestOpenVsOpenRules() 1039 ucol_getSortKey(c2, str, u_strlen(str), sortKey2, sortKeyLen2 + 1); in TestOpenVsOpenRules() 1040 ucol_sortKeyToString(c2, sortKey2, sortKeyStr2, sortKeyStrLen2); in TestOpenVsOpenRules() 1049 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 | 68 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()
|
D | CollationTurkishTest.java | 108 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()
|
D | CollationSpanishTest.java | 102 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()
|
D | CollationFinnishTest.java | 90 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()
|
D | CollationGermanTest.java | 135 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()
|
D | CollationFrenchTest.java | 201 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()
|
D | CollationEnglishTest.java | 334 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()
|
D | CollationKanaTest.java | 209 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()
|
D | G7CollationTest.java | 212 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()
|
D | CollationMonkeyTest.java | 238 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()
|
D | CollationFrozenMonkeyTest.java | 263 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()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | LotusCollationKoreanTest.java | 71 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()
|
D | CollationFinnishTest.java | 93 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()
|
D | CollationSpanishTest.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 | CollationTurkishTest.java | 111 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()
|
D | CollationGermanTest.java | 138 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()
|
D | CollationFrenchTest.java | 204 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()
|
D | CollationEnglishTest.java | 337 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()
|
D | CollationKanaTest.java | 212 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()
|
D | G7CollationTest.java | 215 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()
|
D | CollationMonkeyTest.java | 241 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()
|
D | CollationFrozenMonkeyTest.java | 266 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()
|