Home
last modified time | relevance | path

Searched refs:keyResult (Results 1 – 25 of 38) sorted by relevance

12

/external/icu/icu4c/source/test/cintltst/
Dccolltst.c89 UCollationResult keyResult, in reportCResult() argument
111 if (keyResult != expectedResult) in reportCResult()
114 getCompareResult(keyResult), getCompareResult(expectedResult) ); in reportCResult()
117 if (keyResult != compareResult) in reportCResult()
120 getCompareResult(keyResult), getCompareResult(compareResult)); in reportCResult()
123 if(keyResult != expectedResult || keyResult != compareResult) in reportCResult()
Dccurrtst.c108 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()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DLotusCollationKoreanTest.java63 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local
64 reportCResult( s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result ); in doTest()
68 … int compareResult, int keyResult, int incResult, int expectedResult ){ in reportCResult() argument
75 boolean ok2 = (keyResult == expectedResult); in reportCResult()
99 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
DCollationTurkishTest.java103 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local
104 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
109 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult() argument
116 boolean ok2 = (keyResult == expectedResult); in reportCResult()
140 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
DCollationSpanishTest.java97 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local
98 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
102 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult() argument
109 boolean ok2 = (keyResult == expectedResult); in reportCResult()
133 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
DCollationFinnishTest.java85 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local
86 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
90 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult() argument
97 boolean ok2 = (keyResult == expectedResult); in reportCResult()
121 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
DCollationCurrencyTest.java101 int keyResult = sourceKey.compareTo(targetKey); in TestCurrency() local
103 …reportCResult( source, target, sourceKey, targetKey, compareResult, keyResult, compareResult, expe… in TestCurrency()
109 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult() argument
116 boolean ok2 = (keyResult == expectedResult); in reportCResult()
140 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
DCollationGermanTest.java129 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local
130 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
135 … int compareResult, int keyResult, int incResult, int expectedResult ){ in reportCResult() argument
143 boolean ok2 = (keyResult == expectedResult); in reportCResult()
167 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
DCollationEnglishTest.java328 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local
329 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
334 … int compareResult, int keyResult, int incResult, int expectedResult ){ in reportCResult() argument
342 boolean ok2 = (keyResult == expectedResult); in reportCResult()
366 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
DCollationFrenchTest.java195 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local
196 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
200 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult() argument
207 boolean ok2 = (keyResult == expectedResult); in reportCResult()
231 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
DCollationKanaTest.java198 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local
199 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
204 … int compareResult, int keyResult, int incResult, int expectedResult ){ in reportCResult() argument
211 boolean ok2 = (keyResult == expectedResult); in reportCResult()
235 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
DG7CollationTest.java208 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local
210 keyResult, compareResult, result); in doTest()
214 … int compareResult, int keyResult, int incResult, int expectedResult ){ in reportCResult() argument
221 boolean ok2 = (keyResult == expectedResult); in reportCResult()
247 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
DCollationMonkeyTest.java241 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local
242 …reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, resu… in doTest()
246 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult() argument
252 boolean ok2 = (keyResult == expectedResult); in reportCResult()
273 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
DCollationFrozenMonkeyTest.java266 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local
267 …reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, resu… in doTest()
271 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult() argument
277 boolean ok2 = (keyResult == expectedResult); in reportCResult()
298 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationTurkishTest.java107 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local
108 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()
DLotusCollationKoreanTest.java67 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local
68 reportCResult( s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result ); in doTest()
72 … int compareResult, int keyResult, int incResult, int expectedResult ){ in reportCResult() argument
79 boolean ok2 = (keyResult == expectedResult); in reportCResult()
103 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
DCollationSpanishTest.java101 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local
102 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
106 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult() argument
113 boolean ok2 = (keyResult == expectedResult); in reportCResult()
137 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
DCollationFinnishTest.java89 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local
90 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
94 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult() argument
101 boolean ok2 = (keyResult == expectedResult); in reportCResult()
125 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
DCollationCurrencyTest.java105 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()
DCollationGermanTest.java133 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local
134 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
139 … int compareResult, int keyResult, int incResult, int expectedResult ){ in reportCResult() argument
147 boolean ok2 = (keyResult == expectedResult); in reportCResult()
171 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
DCollationFrenchTest.java199 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local
200 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
204 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult() argument
211 boolean ok2 = (keyResult == expectedResult); in reportCResult()
235 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
DCollationEnglishTest.java332 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local
333 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
338 … int compareResult, int keyResult, int incResult, int expectedResult ){ in reportCResult() argument
346 boolean ok2 = (keyResult == expectedResult); in reportCResult()
370 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
DCollationKanaTest.java202 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local
203 reportCResult(s, t, sortKey1, sortKey2, compareResult, keyResult, compareResult, result); in doTest()
208 … int compareResult, int keyResult, int incResult, int expectedResult ){ in reportCResult() argument
215 boolean ok2 = (keyResult == expectedResult); in reportCResult()
239 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
DG7CollationTest.java212 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local
214 keyResult, compareResult, result); in doTest()
218 … int compareResult, int keyResult, int incResult, int expectedResult ){ in reportCResult() argument
225 boolean ok2 = (keyResult == expectedResult); in reportCResult()
251 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
DCollationFrozenMonkeyTest.java270 int keyResult = sortKey1.compareTo(sortKey2); in doTest() local
271 …reportCResult( mysource, target, sortKey1, sortKey2, compareResult, keyResult, compareResult, resu… in doTest()
275 … int compareResult, int keyResult, int incResult, int expectedResult ) { in reportCResult() argument
281 boolean ok2 = (keyResult == expectedResult); in reportCResult()
302 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()

12