/external/icu/icu4c/source/test/cintltst/ |
ccurrtst.c | 106 uint8_t *sortKey1, *sortKey2; 149 sortKey2=(uint8_t*)malloc(sizeof(uint8_t) * (sortklen+1)); 150 ucol_getSortKey(c, target, u_strlen(target), sortKey2, sortklen+1); 152 res = uprv_memcmp(sortKey1, sortKey2, sortklen); 157 reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, expectedResult ); 160 free(sortKey2);
|
callcoll.c | 273 uint8_t *sortKey1, *sortKey2, *sortKey1a, *sortKey2a; 408 sortKey2 =(uint8_t*)malloc(sizeof(uint8_t) * (sortklenmax+1)); 410 ucol_getSortKey(myCollation, target, tLen, sortKey2, sortklen2+1); 416 uprv_strcmp((const char *)sortKey2, (const char *)sortKey2a) != 0 ) { 420 /*memcmp(sortKey1, sortKey2,sortklenmax);*/ 421 temp= uprv_strcmp((const char *)sortKey1, (const char *)sortKey2); 423 gSortklen2 = uprv_strlen((const char *)sortKey2)+1; 430 log_verbose("Generated sortkey: %s\n", sortKeyToString(myCollation, sortKey2, buffer, &len)); 442 reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResultIter, result ); 444 free(sortKey2); [all...] |
capitst.c | [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
CollationFinnishTest.java | 86 CollationKey sortKey1, sortKey2; 88 sortKey2 = myCollation.getCollationKey(t); 89 int keyResult = sortKey1.compareTo(sortKey2); 90 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
LotusCollationKoreanTest.java | 64 CollationKey sortKey1, sortKey2; 66 sortKey2 = myCollation.getCollationKey(t); 67 int keyResult = sortKey1.compareTo(sortKey2); 68 reportCResult( s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result );
|
CollationGermanTest.java | 130 CollationKey sortKey1, sortKey2; 132 sortKey2 = myCollation.getCollationKey(t); 133 int keyResult = sortKey1.compareTo(sortKey2); 134 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
CollationKanaTest.java | 199 CollationKey sortKey1, sortKey2; 201 sortKey2 = myCollation.getCollationKey(t); 202 int keyResult = sortKey1.compareTo(sortKey2); 203 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
CollationSpanishTest.java | 98 CollationKey sortKey1, sortKey2; 100 sortKey2 = myCollation.getCollationKey(t); 101 int keyResult = sortKey1.compareTo(sortKey2); 102 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
CollationTurkishTest.java | 104 CollationKey sortKey1, sortKey2; 106 sortKey2 = myCollation.getCollationKey(t); 107 int keyResult = sortKey1.compareTo(sortKey2); 108 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
G7CollationTest.java | 209 CollationKey sortKey1, sortKey2; 211 sortKey2 = myCollation.getCollationKey(target); 212 int keyResult = sortKey1.compareTo(sortKey2); 213 reportCResult(source, target, sortKey1, sortKey2, compareResult,
|
CollationFrenchTest.java | 196 CollationKey sortKey1, sortKey2; 198 sortKey2 = myCollation.getCollationKey(t); 199 int keyResult = sortKey1.compareTo(sortKey2); 200 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
CollationFrozenMonkeyTest.java | 261 CollationKey sortKey1, sortKey2; 265 sortKey2 = myCollation.getCollationKey(target); 270 int keyResult = sortKey1.compareTo(sortKey2); 271 reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, result );
|
CollationMonkeyTest.java | 236 CollationKey sortKey1, sortKey2; 240 sortKey2 = myCollation.getCollationKey(target); 245 int keyResult = sortKey1.compareTo(sortKey2); 246 reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, result );
|
CollationEnglishTest.java | 329 CollationKey sortKey1, sortKey2; 331 sortKey2 = myCollation.getCollationKey(t); 332 int keyResult = sortKey1.compareTo(sortKey2); 333 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
CollationFinnishTest.java | 82 CollationKey sortKey1, sortKey2; 84 sortKey2 = myCollation.getCollationKey(t); 85 int keyResult = sortKey1.compareTo(sortKey2); 86 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
LotusCollationKoreanTest.java | 60 CollationKey sortKey1, sortKey2; 62 sortKey2 = myCollation.getCollationKey(t); 63 int keyResult = sortKey1.compareTo(sortKey2); 64 reportCResult( s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result );
|
CollationGermanTest.java | 126 CollationKey sortKey1, sortKey2; 128 sortKey2 = myCollation.getCollationKey(t); 129 int keyResult = sortKey1.compareTo(sortKey2); 130 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
CollationKanaTest.java | 195 CollationKey sortKey1, sortKey2; 197 sortKey2 = myCollation.getCollationKey(t); 198 int keyResult = sortKey1.compareTo(sortKey2); 199 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
CollationSpanishTest.java | 94 CollationKey sortKey1, sortKey2; 96 sortKey2 = myCollation.getCollationKey(t); 97 int keyResult = sortKey1.compareTo(sortKey2); 98 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
CollationTurkishTest.java | 100 CollationKey sortKey1, sortKey2; 102 sortKey2 = myCollation.getCollationKey(t); 103 int keyResult = sortKey1.compareTo(sortKey2); 104 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
G7CollationTest.java | 205 CollationKey sortKey1, sortKey2; 207 sortKey2 = myCollation.getCollationKey(target); 208 int keyResult = sortKey1.compareTo(sortKey2); 209 reportCResult(source, target, sortKey1, sortKey2, compareResult,
|
CollationFrenchTest.java | 192 CollationKey sortKey1, sortKey2; 194 sortKey2 = myCollation.getCollationKey(t); 195 int keyResult = sortKey1.compareTo(sortKey2); 196 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
CollationFrozenMonkeyTest.java | 257 CollationKey sortKey1, sortKey2; 261 sortKey2 = myCollation.getCollationKey(target); 266 int keyResult = sortKey1.compareTo(sortKey2); 267 reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, result );
|
CollationMonkeyTest.java | 232 CollationKey sortKey1, sortKey2; 236 sortKey2 = myCollation.getCollationKey(target); 241 int keyResult = sortKey1.compareTo(sortKey2); 242 reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, result );
|
CollationEnglishTest.java | 325 CollationKey sortKey1, sortKey2; 327 sortKey2 = myCollation.getCollationKey(t); 328 int keyResult = sortKey1.compareTo(sortKey2); 329 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|