/third_party/icu/icu4c/source/test/cintltst/ |
D | ccolltst.c | 91 UCollationResult keyResult, in reportCResult() argument 113 if (keyResult != expectedResult) in reportCResult() 116 getCompareResult(keyResult), getCompareResult(expectedResult) ); in reportCResult() 119 if (keyResult != compareResult) in reportCResult() 122 getCompareResult(keyResult), getCompareResult(compareResult)); in reportCResult() 125 if(keyResult != expectedResult || keyResult != compareResult) in reportCResult()
|
D | ccurrtst.c | 108 UCollationResult compareResult, keyResult; in currTest() local 153 if (res < 0) keyResult = (UCollationResult)-1; in currTest() 154 else if (res > 0) keyResult = (UCollationResult)1; in currTest() 155 else keyResult = (UCollationResult)0; in currTest() 157 …reportCResult( source, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, expect… in currTest()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
D | LotusCollationKoreanTest.java | 74 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local 75 reportCResult( s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result ); in doTest() 79 … int compareResult, int keyResult, int incResult, int expectedResult ){ in reportCResult() argument 86 boolean ok2 = (keyResult == expectedResult); in reportCResult() 110 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
|
D | CollationCurrencyTest.java | 108 int keyResult = sourceKey.compareTo(targetKey); in TestCurrency() local 110 …reportCResult( source, target, sourceKey, targetKey, compareResult, keyResult, compareResult, expe… in TestCurrency() 116 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult() argument 123 boolean ok2 = (keyResult == expectedResult); in reportCResult() 147 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
|
D | CollationTurkishTest.java | 114 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local 115 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest() 120 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult() argument 127 boolean ok2 = (keyResult == expectedResult); in reportCResult() 151 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
|
D | CollationFinnishTest.java | 96 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local 97 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest() 101 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult() argument 108 boolean ok2 = (keyResult == expectedResult); in reportCResult() 132 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
|
D | CollationSpanishTest.java | 108 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local 109 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest() 113 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult() argument 120 boolean ok2 = (keyResult == expectedResult); in reportCResult() 144 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
|
D | CollationGermanTest.java | 141 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local 142 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest() 147 … int compareResult, int keyResult, int incResult, int expectedResult ){ in reportCResult() argument 155 boolean ok2 = (keyResult == expectedResult); in reportCResult() 179 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
|
D | CollationFrenchTest.java | 207 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local 208 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest() 212 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult() argument 219 boolean ok2 = (keyResult == expectedResult); in reportCResult() 243 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
|
D | CollationEnglishTest.java | 340 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local 341 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest() 346 … int compareResult, int keyResult, int incResult, int expectedResult ){ in reportCResult() argument 354 boolean ok2 = (keyResult == expectedResult); in reportCResult() 378 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
|
D | CollationKanaTest.java | 215 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local 216 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest() 221 … int compareResult, int keyResult, int incResult, int expectedResult ){ in reportCResult() argument 228 boolean ok2 = (keyResult == expectedResult); in reportCResult() 252 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
|
D | G7CollationTest.java | 218 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local 220 keyResult, compareResult, result); in doTest() 224 … int compareResult, int keyResult, int incResult, int expectedResult ){ in reportCResult() argument 231 boolean ok2 = (keyResult == expectedResult); in reportCResult() 255 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
|
D | CollationMonkeyTest.java | 250 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local 251 …reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, resu… in doTest() 255 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult() argument 261 boolean ok2 = (keyResult == expectedResult); in reportCResult() 282 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | LotusCollationKoreanTest.java | 71 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local 72 reportCResult( s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result ); in doTest() 76 … int compareResult, int keyResult, int incResult, int expectedResult ){ in reportCResult() argument 83 boolean ok2 = (keyResult == expectedResult); in reportCResult() 107 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
|
D | CollationCurrencyTest.java | 105 int keyResult = sourceKey.compareTo(targetKey); in TestCurrency() local 107 …reportCResult( source, target, sourceKey, targetKey, compareResult, keyResult, compareResult, expe… in TestCurrency() 113 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult() argument 120 boolean ok2 = (keyResult == expectedResult); in reportCResult() 144 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
|
D | CollationTurkishTest.java | 111 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local 112 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest() 117 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult() argument 124 boolean ok2 = (keyResult == expectedResult); in reportCResult() 148 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
|
D | CollationFinnishTest.java | 93 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local 94 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest() 98 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult() argument 105 boolean ok2 = (keyResult == expectedResult); in reportCResult() 129 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
|
D | CollationSpanishTest.java | 105 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local 106 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest() 110 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult() argument 117 boolean ok2 = (keyResult == expectedResult); in reportCResult() 141 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
|
D | CollationGermanTest.java | 138 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local 139 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest() 144 … int compareResult, int keyResult, int incResult, int expectedResult ){ in reportCResult() argument 152 boolean ok2 = (keyResult == expectedResult); in reportCResult() 176 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
|
D | CollationFrenchTest.java | 204 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local 205 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest() 209 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult() argument 216 boolean ok2 = (keyResult == expectedResult); in reportCResult() 240 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
|
D | CollationEnglishTest.java | 337 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local 338 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest() 343 … int compareResult, int keyResult, int incResult, int expectedResult ){ in reportCResult() argument 351 boolean ok2 = (keyResult == expectedResult); in reportCResult() 375 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
|
D | CollationKanaTest.java | 212 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local 213 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest() 218 … int compareResult, int keyResult, int incResult, int expectedResult ){ in reportCResult() argument 225 boolean ok2 = (keyResult == expectedResult); in reportCResult() 249 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
|
D | G7CollationTest.java | 215 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local 217 keyResult, compareResult, result); in doTest() 221 … int compareResult, int keyResult, int incResult, int expectedResult ){ in reportCResult() argument 228 boolean ok2 = (keyResult == expectedResult); in reportCResult() 252 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
|
D | CollationFrozenMonkeyTest.java | 272 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local 273 …reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, resu… in doTest() 277 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult() argument 283 boolean ok2 = (keyResult == expectedResult); in reportCResult() 304 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
|
D | CollationMonkeyTest.java | 247 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local 248 …reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, resu… in doTest() 252 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult() argument 258 boolean ok2 = (keyResult == expectedResult); in reportCResult() 279 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
|