/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 | 278 uint8_t *sortKey1, *sortKey2, *sortKey1a, *sortKey2a; 413 sortKey2 =(uint8_t*)malloc(sizeof(uint8_t) * (sortklenmax+1)); 415 ucol_getSortKey(myCollation, target, tLen, sortKey2, sortklen2+1); 421 uprv_strcmp((const char *)sortKey2, (const char *)sortKey2a) != 0 ) { 425 /*memcmp(sortKey1, sortKey2,sortklenmax);*/ 426 temp= uprv_strcmp((const char *)sortKey1, (const char *)sortKey2); 428 gSortklen2 = (int)uprv_strlen((const char *)sortKey2)+1; 435 log_verbose("Generated sortkey: %s\n", sortKeyToString(myCollation, sortKey2, buffer, &len)); 447 reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResultIter, result ); 449 free(sortKey2); [all...] |
capitst.c | [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
CollationFinnishTest.java | 93 CollationKey sortKey1, sortKey2; 95 sortKey2 = myCollation.getCollationKey(t); 96 int keyResult = sortKey1.compareTo(sortKey2); 97 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
LotusCollationKoreanTest.java | 71 CollationKey sortKey1, sortKey2; 73 sortKey2 = myCollation.getCollationKey(t); 74 int keyResult = sortKey1.compareTo(sortKey2); 75 reportCResult( s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result );
|
CollationGermanTest.java | 138 CollationKey sortKey1, sortKey2; 140 sortKey2 = myCollation.getCollationKey(t); 141 int keyResult = sortKey1.compareTo(sortKey2); 142 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
CollationKanaTest.java | 212 CollationKey sortKey1, sortKey2; 214 sortKey2 = myCollation.getCollationKey(t); 215 int keyResult = sortKey1.compareTo(sortKey2); 216 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
CollationSpanishTest.java | 105 CollationKey sortKey1, sortKey2; 107 sortKey2 = myCollation.getCollationKey(t); 108 int keyResult = sortKey1.compareTo(sortKey2); 109 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
CollationTurkishTest.java | 111 CollationKey sortKey1, sortKey2; 113 sortKey2 = myCollation.getCollationKey(t); 114 int keyResult = sortKey1.compareTo(sortKey2); 115 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
G7CollationTest.java | 215 CollationKey sortKey1, sortKey2; 217 sortKey2 = myCollation.getCollationKey(target); 218 int keyResult = sortKey1.compareTo(sortKey2); 219 reportCResult(source, target, sortKey1, sortKey2, compareResult,
|
CollationFrenchTest.java | 204 CollationKey sortKey1, sortKey2; 206 sortKey2 = myCollation.getCollationKey(t); 207 int keyResult = sortKey1.compareTo(sortKey2); 208 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
CollationFrozenMonkeyTest.java | 266 CollationKey sortKey1, sortKey2; 270 sortKey2 = myCollation.getCollationKey(target); 275 int keyResult = sortKey1.compareTo(sortKey2); 276 reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, result );
|
CollationMonkeyTest.java | 241 CollationKey sortKey1, sortKey2; 245 sortKey2 = myCollation.getCollationKey(target); 250 int keyResult = sortKey1.compareTo(sortKey2); 251 reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, result );
|
CollationEnglishTest.java | 337 CollationKey sortKey1, sortKey2; 339 sortKey2 = myCollation.getCollationKey(t); 340 int keyResult = sortKey1.compareTo(sortKey2); 341 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
CollationFinnishTest.java | 90 CollationKey sortKey1, sortKey2; 92 sortKey2 = myCollation.getCollationKey(t); 93 int keyResult = sortKey1.compareTo(sortKey2); 94 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
LotusCollationKoreanTest.java | 68 CollationKey sortKey1, sortKey2; 70 sortKey2 = myCollation.getCollationKey(t); 71 int keyResult = sortKey1.compareTo(sortKey2); 72 reportCResult( s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result );
|
CollationGermanTest.java | 135 CollationKey sortKey1, sortKey2; 137 sortKey2 = myCollation.getCollationKey(t); 138 int keyResult = sortKey1.compareTo(sortKey2); 139 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
CollationKanaTest.java | 209 CollationKey sortKey1, sortKey2; 211 sortKey2 = myCollation.getCollationKey(t); 212 int keyResult = sortKey1.compareTo(sortKey2); 213 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
CollationSpanishTest.java | 102 CollationKey sortKey1, sortKey2; 104 sortKey2 = myCollation.getCollationKey(t); 105 int keyResult = sortKey1.compareTo(sortKey2); 106 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
CollationTurkishTest.java | 108 CollationKey sortKey1, sortKey2; 110 sortKey2 = myCollation.getCollationKey(t); 111 int keyResult = sortKey1.compareTo(sortKey2); 112 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
G7CollationTest.java | 212 CollationKey sortKey1, sortKey2; 214 sortKey2 = myCollation.getCollationKey(target); 215 int keyResult = sortKey1.compareTo(sortKey2); 216 reportCResult(source, target, sortKey1, sortKey2, compareResult,
|
CollationFrenchTest.java | 201 CollationKey sortKey1, sortKey2; 203 sortKey2 = myCollation.getCollationKey(t); 204 int keyResult = sortKey1.compareTo(sortKey2); 205 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|
CollationFrozenMonkeyTest.java | 263 CollationKey sortKey1, sortKey2; 267 sortKey2 = myCollation.getCollationKey(target); 272 int keyResult = sortKey1.compareTo(sortKey2); 273 reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, result );
|
CollationMonkeyTest.java | 238 CollationKey sortKey1, sortKey2; 242 sortKey2 = myCollation.getCollationKey(target); 247 int keyResult = sortKey1.compareTo(sortKey2); 248 reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, result );
|
CollationEnglishTest.java | 334 CollationKey sortKey1, sortKey2; 336 sortKey2 = myCollation.getCollationKey(t); 337 int keyResult = sortKey1.compareTo(sortKey2); 338 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result);
|