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.c91 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()
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/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DLotusCollationKoreanTest.java74 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()
DCollationCurrencyTest.java108 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()
DCollationTurkishTest.java114 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()
DCollationFinnishTest.java96 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()
DCollationSpanishTest.java108 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()
DCollationGermanTest.java141 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()
DCollationFrenchTest.java207 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()
DCollationEnglishTest.java340 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()
DCollationKanaTest.java215 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()
DG7CollationTest.java218 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()
257 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
DCollationMonkeyTest.java250 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()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DLotusCollationKoreanTest.java71 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()
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()
DCollationSpanishTest.java105 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()
DCollationTurkishTest.java111 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()
DCollationFinnishTest.java93 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()
DCollationGermanTest.java138 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()
DCollationFrenchTest.java204 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()
DCollationEnglishTest.java337 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()
DCollationKanaTest.java212 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()
DG7CollationTest.java215 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()
254 sResult = CollationTest.appendCompareResult(keyResult, sResult); in reportCResult()
DCollationFrozenMonkeyTest.java272 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()
DCollationMonkeyTest.java247 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()

12