Home
last modified time | relevance | path

Searched refs:compareResult (Results 1 – 25 of 55) sorted by relevance

123

/third_party/icu/icu4c/source/test/cintltst/
Dccolltst.c90 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()
Dccurrtst.c108 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/
DCollationCurrencyTest.java91 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()
DLotusCollationKoreanTest.java70 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()
DCollationFinnishTest.java92 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()
DCollationSpanishTest.java104 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()
DCollationTurkishTest.java110 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()
DCollationGermanTest.java137 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()
DCollationFrenchTest.java203 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()
DCollationEnglishTest.java336 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()
DCollationKanaTest.java211 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()
DG7CollationTest.java214 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/
DCollationCurrencyTest.java88 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()
DLotusCollationKoreanTest.java67 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()
DCollationTurkishTest.java107 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()
DCollationFinnishTest.java89 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()
DCollationSpanishTest.java101 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()
DCollationGermanTest.java134 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()
DCollationFrenchTest.java200 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()
DCollationEnglishTest.java333 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()
DCollationKanaTest.java208 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()
DG7CollationTest.java211 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/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCharsetMatch.java182 int compareResult = 0; in compareTo() local
184 compareResult = 1; in compareTo()
186 compareResult = -1; in compareTo()
188 return compareResult; in compareTo()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DCharsetMatch.java170 int compareResult = 0; in compareTo() local
172 compareResult = 1; in compareTo()
174 compareResult = -1; in compareTo()
176 return compareResult; in compareTo()
/third_party/icu/icu4c/source/test/intltest/
Dcurrcoll.cpp115 Collator::EComparisonResult compareResult = c->compare(source, target); in currencyTest() local
138 …reportCResult( source, target, sourceKey, targetKey, compareResult, keyResult, compareResult, expe… in currencyTest()

123