Searched refs:prevString (Results 1 – 4 of 4) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | collationtest.cpp | 117 const UnicodeString &prevString, const UnicodeString &s, 1545 const UnicodeString &prevString, const UnicodeString &s, in checkCompareTwo() argument 1552 if(!getCollationKey(norm, prevFileLine, prevString.getBuffer(), prevString.length(), in checkCompareTwo() 1559 UCollationResult order = coll->compare(prevString, s, errorCode); in checkCompareTwo() 1570 order = coll->compare(s, prevString, errorCode); in checkCompareTwo() 1582 UBool containNUL = prevString.indexOf((UChar)0) >= 0 || s.indexOf((UChar)0) >= 0; in checkCompareTwo() 1584 order = coll->compare(prevString.getBuffer(), -1, s.getBuffer(), -1, errorCode); in checkCompareTwo() 1595 order = coll->compare(s.getBuffer(), -1, prevString.getBuffer(), -1, errorCode); in checkCompareTwo() 1614 const UnicodeString &prevValid = surrogatesToFFFD(prevString, prevBuffer); in checkCompareTwo() 1620 if(&prevValid == &prevString && &sValid == &s) { in checkCompareTwo() [all …]
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationTest.java | 1506 private boolean checkCompareTwo(String norm, String prevFileLine, String prevString, String s, 1511 if (!getCollationKey(norm, fileLine, prevString, prevKeyOut)) { 1523 int order = coll.compare(prevString, s); 1535 order = coll.compare(s, prevString); 1586 if (getMergedCollationKey(prevString, outPrevKey) | getMergedCollationKey(s, outKey)) { 1623 String prevString = ""; 1645 if (!needsNormalization(prevString) && !needsNormalization(s)) { 1647 isOk = checkCompareTwo("normalization=off", prevFileLine, prevString, s, 1652 isOk = checkCompareTwo("normalization=on", prevFileLine, prevString, s, 1655 if (isOk && (!nfd.isNormalized(prevString) || !nfd.isNormalized(s))) { [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | CollationTest.java | 1510 private boolean checkCompareTwo(String norm, String prevFileLine, String prevString, String s, 1515 if (!getCollationKey(norm, fileLine, prevString, prevKeyOut)) { 1527 int order = coll.compare(prevString, s); 1539 order = coll.compare(s, prevString); 1590 if (getMergedCollationKey(prevString, outPrevKey) | getMergedCollationKey(s, outKey)) { 1627 String prevString = ""; 1649 if (!needsNormalization(prevString) && !needsNormalization(s)) { 1651 isOk = checkCompareTwo("normalization=off", prevFileLine, prevString, s, 1656 isOk = checkCompareTwo("normalization=on", prevFileLine, prevString, s, 1659 if (isOk && (!nfd.isNormalized(prevString) || !nfd.isNormalized(s))) { [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | cucdtst.c | 3460 UChar prevString[2]; in caseFoldingLineFn() local 3464 U16_APPEND_UNSAFE(prevString, length, prev); in caseFoldingLineFn() 3467 prevString, length, in caseFoldingLineFn()
|