/third_party/icu/icu4c/source/test/cintltst/ |
D | ccolltst.c | 90 UCollationResult compareResult, in reportCResult() argument 101 if (compareResult != expectedResult) in reportCResult() 104 getCompareResult(compareResult), 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 140 compareResult = ucol_strcoll(c, source, u_strlen(source), target, u_strlen(target)); 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 | 70 int compareResult = myCollation.compare(s, t); 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 85 boolean ok1 = (compareResult == expectedResult); in reportCResult() 99 sResult = CollationTest.appendCompareResult(compareResult, sResult); in reportCResult()
|
D | CollationCurrencyTest.java | 91 int compareResult = c.compare(source, target); 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 122 boolean ok1 = (compareResult == expectedResult); in reportCResult() 136 sResult = CollationTest.appendCompareResult(compareResult, sResult); in reportCResult()
|
D | CollationTurkishTest.java | 110 int compareResult = myCollation.compare(s, t); 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 126 boolean ok1 = (compareResult == expectedResult); in reportCResult() 140 sResult = CollationTest.appendCompareResult(compareResult, sResult); in reportCResult()
|
D | CollationFinnishTest.java | 92 int compareResult = myCollation.compare(s, t); 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 107 boolean ok1 = (compareResult == expectedResult); in reportCResult() 121 sResult = CollationTest.appendCompareResult(compareResult, sResult); in reportCResult()
|
D | CollationSpanishTest.java | 104 int compareResult = myCollation.compare(s, t); 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 119 boolean ok1 = (compareResult == expectedResult); in reportCResult() 133 sResult = CollationTest.appendCompareResult(compareResult, sResult); in reportCResult()
|
D | CollationGermanTest.java | 137 int compareResult = myCollation.compare(s, t); 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 154 boolean ok1 = (compareResult == expectedResult); in reportCResult() 168 sResult = CollationTest.appendCompareResult(compareResult, sResult); in reportCResult()
|
D | CollationFrenchTest.java | 203 int compareResult = myCollation.compare(s, t); 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 218 boolean ok1 = (compareResult == expectedResult); in reportCResult() 232 sResult = CollationTest.appendCompareResult(compareResult, sResult); in reportCResult()
|
D | CollationEnglishTest.java | 336 int compareResult = myCollation.compare(s, t); 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 353 boolean ok1 = (compareResult == expectedResult); in reportCResult() 367 sResult = CollationTest.appendCompareResult(compareResult, sResult); in reportCResult()
|
D | CollationKanaTest.java | 211 int compareResult = myCollation.compare(s, t); 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 227 boolean ok1 = (compareResult == expectedResult); in reportCResult() 241 sResult = CollationTest.appendCompareResult(compareResult, sResult); in reportCResult()
|
D | G7CollationTest.java | 214 int compareResult = myCollation.compare(source, target); in doTest() local 219 reportCResult(source, target, sortKey1, sortKey2, compareResult, in doTest() 220 keyResult, compareResult, result); in doTest() 224 … int compareResult, int keyResult, int incResult, int expectedResult ){ in reportCResult() argument 230 boolean ok1 = (compareResult == expectedResult); in reportCResult() 244 sResult = CollationTest.appendCompareResult(compareResult, sResult); in reportCResult()
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | LotusCollationKoreanTest.java | 67 int compareResult = myCollation.compare(s, t); 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 82 boolean ok1 = (compareResult == expectedResult); in reportCResult() 96 sResult = CollationTest.appendCompareResult(compareResult, sResult); in reportCResult()
|
D | CollationCurrencyTest.java | 88 int compareResult = c.compare(source, target); 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 119 boolean ok1 = (compareResult == expectedResult); in reportCResult() 133 sResult = CollationTest.appendCompareResult(compareResult, sResult); in reportCResult()
|
D | CollationTurkishTest.java | 107 int compareResult = myCollation.compare(s, t); 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 123 boolean ok1 = (compareResult == expectedResult); in reportCResult() 137 sResult = CollationTest.appendCompareResult(compareResult, sResult); in reportCResult()
|
D | CollationFinnishTest.java | 89 int compareResult = myCollation.compare(s, t); 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 104 boolean ok1 = (compareResult == expectedResult); in reportCResult() 118 sResult = CollationTest.appendCompareResult(compareResult, sResult); in reportCResult()
|
D | CollationSpanishTest.java | 101 int compareResult = myCollation.compare(s, t); 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 116 boolean ok1 = (compareResult == expectedResult); in reportCResult() 130 sResult = CollationTest.appendCompareResult(compareResult, sResult); in reportCResult()
|
D | CollationGermanTest.java | 134 int compareResult = myCollation.compare(s, t); 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 151 boolean ok1 = (compareResult == expectedResult); in reportCResult() 165 sResult = CollationTest.appendCompareResult(compareResult, sResult); in reportCResult()
|
D | CollationFrenchTest.java | 200 int compareResult = myCollation.compare(s, t); 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 215 boolean ok1 = (compareResult == expectedResult); in reportCResult() 229 sResult = CollationTest.appendCompareResult(compareResult, sResult); in reportCResult()
|
D | CollationEnglishTest.java | 333 int compareResult = myCollation.compare(s, t); 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 350 boolean ok1 = (compareResult == expectedResult); in reportCResult() 364 sResult = CollationTest.appendCompareResult(compareResult, sResult); in reportCResult()
|
D | CollationKanaTest.java | 208 int compareResult = myCollation.compare(s, t); 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 224 boolean ok1 = (compareResult == expectedResult); in reportCResult() 238 sResult = CollationTest.appendCompareResult(compareResult, sResult); in reportCResult()
|
D | G7CollationTest.java | 211 int compareResult = myCollation.compare(source, target); in doTest() local 216 reportCResult(source, target, sortKey1, sortKey2, compareResult, in doTest() 217 keyResult, compareResult, result); in doTest() 221 … int compareResult, int keyResult, int incResult, int expectedResult ){ in reportCResult() argument 227 boolean ok1 = (compareResult == expectedResult); in reportCResult() 241 sResult = CollationTest.appendCompareResult(compareResult, sResult); in reportCResult()
|
/third_party/lzma/CPP/7zip/UI/Common/ |
D | UpdatePair.cpp | 205 int compareResult = -1; in GetUpdatePairInfoList() local 218 compareResult = 1; in GetUpdatePairInfoList() 221 compareResult = CompareFileNames(dirNames[(unsigned)dirIndex2], ai->Name); in GetUpdatePairInfoList() 222 if (compareResult == 0) in GetUpdatePairInfoList() 225 compareResult = (ai->IsDir ? 1 : -1); in GetUpdatePairInfoList() 230 if (compareResult < 0) in GetUpdatePairInfoList() 237 else if (compareResult > 0) in GetUpdatePairInfoList()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | CharsetMatch.java | 170 int compareResult = 0; in compareTo() local 172 compareResult = 1; in compareTo() 174 compareResult = -1; in compareTo() 176 return compareResult; in compareTo()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CharsetMatch.java | 182 int compareResult = 0; in compareTo() local 184 compareResult = 1; in compareTo() 186 compareResult = -1; in compareTo() 188 return compareResult; in compareTo()
|