Lines Matching refs:prevString
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()
1677 uiter_setString(&leftIter, prevString.getBuffer(), prevString.length()); in checkCompareTwo()
1726 if((getMergedCollationKey(prevString.getBuffer(), prevString.length(), prevKey, errorCode) | in checkCompareTwo()
1762 UnicodeString prevString, s; in checkCompareStrings() local
1763 prevString.getTerminatedBuffer(); // Ensure NUL-termination. in checkCompareStrings()
1782 if(!needsNormalization(prevString, errorCode) && !needsNormalization(s, errorCode)) { in checkCompareStrings()
1784 isOk = checkCompareTwo("normalization=on", prevFileLine, prevString, s, in checkCompareStrings()
1789 isOk = checkCompareTwo("normalization=off", prevFileLine, prevString, s, in checkCompareStrings()
1792 … if(isOk && (!nfd->isNormalized(prevString, errorCode) || !nfd->isNormalized(s, errorCode))) { in checkCompareStrings()
1793 UnicodeString pn = nfd->normalize(prevString, errorCode); in checkCompareStrings()
1805 prevString = s; in checkCompareStrings()
1806 prevString.getTerminatedBuffer(); // Ensure NUL-termination. in checkCompareStrings()