Home
last modified time | relevance | path

Searched refs:sourceKey (Results 1 – 25 of 34) sorted by relevance

12

/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationCurrencyTest.java89 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()
DLotusCollationKoreanTest.java75 …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()
DCollationSpanishTest.java109 …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()
DCollationTurkishTest.java116 …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()
DCollationFinnishTest.java97 …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()
DCollationGermanTest.java143 …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()
DCollationFrenchTest.java208 …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()
DCollationRegressionTest.java197 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()
DCollationEnglishTest.java342 …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()
DCollationKanaTest.java217 …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()
DG7CollationTest.java220 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult() argument
264 … logln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationCurrencyTest.java92 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()
DLotusCollationKoreanTest.java78 …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()
DCollationTurkishTest.java119 …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()
DCollationFinnishTest.java100 …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()
DCollationSpanishTest.java112 …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()
DCollationGermanTest.java146 …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()
DCollationFrenchTest.java211 …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()
DCollationRegressionTest.java200 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()
DCollationEnglishTest.java345 …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()
DCollationKanaTest.java220 …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()
DG7CollationTest.java223 …private void reportCResult( String source, String target, CollationKey sourceKey, CollationKey tar… in reportCResult() argument
267 … logln(msg1 + CollationTest.prettify(sourceKey) + msg2 + CollationTest.prettify(targetKey)); in reportCResult()
/external/icu/icu4c/source/test/cintltst/
Dccolltst.c59 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()
Dccolltst.h30 uint8_t *sourceKey, uint8_t *targetKey,
/external/icu/icu4c/source/test/intltest/
Dcurrcoll.cpp117 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()

12