Home
last modified time | relevance | path

Searched refs:prevKey (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dcollationtest.cpp1519 int32_t getDifferenceLevel(const CollationKey &prevKey, const CollationKey &key, in getDifferenceLevel() argument
1525 const uint8_t *prevBytes = prevKey.getByteArray(prevKeyLength); in getDifferenceLevel()
1551 CollationKey prevKey; in checkCompareTwo() local
1553 prevKey, errorCode)) { in checkCompareTwo()
1566 infoln(printCollationKey(prevKey)); in checkCompareTwo()
1577 infoln(printCollationKey(prevKey)); in checkCompareTwo()
1591 infoln(printCollationKey(prevKey)); in checkCompareTwo()
1602 infoln(printCollationKey(prevKey)); in checkCompareTwo()
1633 infoln(printCollationKey(prevKey)); in checkCompareTwo()
1644 infoln(printCollationKey(prevKey)); in checkCompareTwo()
[all …]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationTest.java1483 private static int getDifferenceLevel(CollationKey prevKey, CollationKey key,
1488 byte[] prevBytes = prevKey.toByteArray();
1510 CollationKey prevKey;
1514 prevKey = prevKeyOut.value;
1528 logln(printCollationKey(prevKey));
1540 logln(printCollationKey(prevKey));
1548 order = prevKey.compareTo(key);
1553 logln(printCollationKey(prevKey));
1561 int level = getDifferenceLevel(prevKey, key, order, collHasCaseLevel);
1567 logln(printCollationKey(prevKey));
[all …]
DCollationMiscTest.java2445 CollationKey prevKey = en.getCollationKey(cases[j-1]); in TestUCAPrecontext() local
2446 if (key.compareTo(prevKey)<0) { in TestUCAPrecontext()
2473 CollationKey prevKey = ja.getCollationKey(cases[j-1]); in TestUCAPrecontext() local
2474 if (key.compareTo(prevKey)<0) { in TestUCAPrecontext()
2499 CollationKey prevKey = coll.getCollationKey(cases[j-1]); in TestUCAPrecontext() local
2501 if (key.compareTo(prevKey)>0) { in TestUCAPrecontext()
2507 if (key.compareTo(prevKey)<0) { in TestUCAPrecontext()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationTest.java1487 private static int getDifferenceLevel(CollationKey prevKey, CollationKey key,
1492 byte[] prevBytes = prevKey.toByteArray();
1514 CollationKey prevKey;
1518 prevKey = prevKeyOut.value;
1532 logln(printCollationKey(prevKey));
1544 logln(printCollationKey(prevKey));
1552 order = prevKey.compareTo(key);
1557 logln(printCollationKey(prevKey));
1565 int level = getDifferenceLevel(prevKey, key, order, collHasCaseLevel);
1571 logln(printCollationKey(prevKey));
[all …]
DCollationMiscTest.java2449 CollationKey prevKey = en.getCollationKey(cases[j-1]); in TestUCAPrecontext() local
2450 if (key.compareTo(prevKey)<0) { in TestUCAPrecontext()
2477 CollationKey prevKey = ja.getCollationKey(cases[j-1]); in TestUCAPrecontext() local
2478 if (key.compareTo(prevKey)<0) { in TestUCAPrecontext()
2503 CollationKey prevKey = coll.getCollationKey(cases[j-1]); in TestUCAPrecontext() local
2505 if (key.compareTo(prevKey)>0) { in TestUCAPrecontext()
2511 if (key.compareTo(prevKey)<0) { in TestUCAPrecontext()