Searched refs:prevString (Results 1 – 4 of 4) sorted by relevance
/external/icu/icu4c/source/test/intltest/ |
D | collationtest.cpp | 120 const UnicodeString &prevString, const UnicodeString &s, 1544 const UnicodeString &prevString, const UnicodeString &s, in checkCompareTwo() argument 1551 if(!getCollationKey(norm, prevFileLine, prevString.getBuffer(), prevString.length(), in checkCompareTwo() 1558 UCollationResult order = coll->compare(prevString, s, errorCode); in checkCompareTwo() 1569 order = coll->compare(s, prevString, errorCode); in checkCompareTwo() 1581 UBool containNUL = prevString.indexOf((UChar)0) >= 0 || s.indexOf((UChar)0) >= 0; in checkCompareTwo() 1583 order = coll->compare(prevString.getBuffer(), -1, s.getBuffer(), -1, errorCode); in checkCompareTwo() 1594 order = coll->compare(s.getBuffer(), -1, prevString.getBuffer(), -1, errorCode); in checkCompareTwo() 1612 const UnicodeString &prevValid = surrogatesToFFFD(prevString, prevBuffer); in checkCompareTwo() 1618 if(&prevValid == &prevString && &sValid == &s) { in checkCompareTwo() [all …]
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationTest.java | 1493 private boolean checkCompareTwo(String norm, String prevFileLine, String prevString, String s, 1498 if (!getCollationKey(norm, fileLine, prevString, prevKeyOut)) { 1510 int order = coll.compare(prevString, s); 1522 order = coll.compare(s, prevString); 1573 if (getMergedCollationKey(prevString, outPrevKey) | getMergedCollationKey(s, outKey)) { 1610 String prevString = ""; 1632 if (!needsNormalization(prevString) && !needsNormalization(s)) { 1634 isOk = checkCompareTwo("normalization=off", prevFileLine, prevString, s, 1639 isOk = checkCompareTwo("normalization=on", prevFileLine, prevString, s, 1642 if (isOk && (!nfd.isNormalized(prevString) || !nfd.isNormalized(s))) { [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | CollationTest.java | 1496 private boolean checkCompareTwo(String norm, String prevFileLine, String prevString, String s, 1501 if (!getCollationKey(norm, fileLine, prevString, prevKeyOut)) { 1513 int order = coll.compare(prevString, s); 1525 order = coll.compare(s, prevString); 1576 if (getMergedCollationKey(prevString, outPrevKey) | getMergedCollationKey(s, outKey)) { 1613 String prevString = ""; 1635 if (!needsNormalization(prevString) && !needsNormalization(s)) { 1637 isOk = checkCompareTwo("normalization=off", prevFileLine, prevString, s, 1642 isOk = checkCompareTwo("normalization=on", prevFileLine, prevString, s, 1645 if (isOk && (!nfd.isNormalized(prevString) || !nfd.isNormalized(s))) { [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | cucdtst.c | 3479 UChar prevString[2]; in caseFoldingLineFn() local 3483 U16_APPEND_UNSAFE(prevString, length, prev); in caseFoldingLineFn() 3486 prevString, length, in caseFoldingLineFn()
|