/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
D | CollationCurrencyTest.java | 92 CollationKey sourceKey = null; in TestCurrency() local 94 sourceKey = c.getCollationKey(source); in TestCurrency() 96 if (sourceKey == null) { in TestCurrency() 108 int keyResult = sourceKey.compareTo(targetKey); in TestCurrency() 110 …reportCResult( source, target, sourceKey, targetKey, compareResult, keyResult, compareResult, expe… in TestCurrency() 115 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult() argument 154 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
|
D | LotusCollationKoreanTest.java | 78 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult() argument 117 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
|
D | CollationFinnishTest.java | 100 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult() argument 139 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
|
D | CollationSpanishTest.java | 112 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult() argument 151 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
|
D | CollationTurkishTest.java | 119 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult() argument 158 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
|
D | CollationGermanTest.java | 146 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult() argument 186 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
|
D | CollationRegressionTest.java | 200 CollationKey sourceKey = null, targetKey = null; in compareArray() local 202 sourceKey = c.getCollationKey(source); in compareArray() 215 int keyResult = sourceKey.compareTo(targetKey); in compareArray() 216 …reportCResult( source, target, sourceKey, targetKey, compareResult, keyResult, compareResult, expe… in compareArray() 220 … void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult() argument 260 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
|
D | CollationFrenchTest.java | 211 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult() argument 250 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
|
D | CollationEnglishTest.java | 345 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult() argument 385 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
|
D | CollationKanaTest.java | 220 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult() argument 259 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
|
D | G7CollationTest.java | 223 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult() argument 262 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationCurrencyTest.java | 89 CollationKey sourceKey = null; in TestCurrency() local 91 sourceKey = c.getCollationKey(source); in TestCurrency() 93 if (sourceKey == null) { in TestCurrency() 105 int keyResult = sourceKey.compareTo(targetKey); in TestCurrency() 107 …reportCResult( source, target, sourceKey, targetKey, compareResult, keyResult, compareResult, expe… in TestCurrency() 112 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult() argument 151 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
|
D | LotusCollationKoreanTest.java | 75 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult() argument 114 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
|
D | CollationTurkishTest.java | 116 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult() argument 155 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
|
D | CollationFinnishTest.java | 97 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult() argument 136 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
|
D | CollationSpanishTest.java | 109 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult() argument 148 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
|
D | CollationGermanTest.java | 143 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult() argument 183 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
|
D | CollationRegressionTest.java | 197 CollationKey sourceKey = null, targetKey = null; in compareArray() local 199 sourceKey = c.getCollationKey(source); in compareArray() 212 int keyResult = sourceKey.compareTo(targetKey); in compareArray() 213 …reportCResult( source, target, sourceKey, targetKey, compareResult, keyResult, compareResult, expe… in compareArray() 217 … void reportCResult( String source, String target, CollationKey sourceKey, CollationKey targetKey, in reportCResult() argument 257 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
|
D | CollationFrenchTest.java | 208 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult() argument 247 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
|
D | CollationEnglishTest.java | 342 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult() argument 382 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
|
D | CollationKanaTest.java | 217 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult() argument 256 … errln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | ccolltst.c | 59 static char* dumpSk(uint8_t *sourceKey, char *sk) { in dumpSk() argument 60 uint32_t kLen = (uint32_t)strlen((const char *)sourceKey); in dumpSk() 66 sprintf(sk+2*i, "%02X", sourceKey[i]); in dumpSk() 89 uint8_t *sourceKey, uint8_t *targetKey, in reportCResult() argument 128 log_verbose("SortKey1: %s\n", dumpSk(sourceKey, sk)); in reportCResult()
|
D | ccolltst.h | 30 uint8_t *sourceKey, uint8_t *targetKey,
|
/third_party/icu/icu4c/source/test/intltest/ |
D | currcoll.cpp | 117 CollationKey sourceKey, targetKey; in currencyTest() local 120 c->getCollationKey(source, sourceKey, status); in currencyTest() 136 Collator::EComparisonResult keyResult = sourceKey.compareTo(targetKey); in currencyTest() 138 …reportCResult( source, target, sourceKey, targetKey, compareResult, keyResult, compareResult, expe… in currencyTest()
|
/third_party/icu/docs/userguide/collation/ |
D | examples.md | 120 CollationKey sourceKey; 154 myCollator->getCollationKey(source, sourceKey, status); 158 result = sourceKey.compareTo(targetKey); 250 CollationKey sourceKey = myCollator.getCollationKey(source); 252 result = sourceKey.compareTo(targetKey);
|