Lines Matching refs:rightLength
716 int32_t rightLength = right.length(); in compare() local
718 if(rightLength > length) { rightLength = length; } in compare()
720 right.getBuffer(), rightLength, errorCode); in compare()
725 const UChar *right, int32_t rightLength, in compare() argument
728 if((left == NULL && leftLength != 0) || (right == NULL && rightLength != 0)) { in compare()
735 if(rightLength < 0) { rightLength = u_strlen(right); } in compare()
737 if(rightLength >= 0) { leftLength = u_strlen(left); } in compare()
739 return doCompare(left, leftLength, right, rightLength, errorCode); in compare()
757 const char *right, int32_t rightLength, in internalCompareUTF8() argument
760 if((left == NULL && leftLength != 0) || (right == NULL && rightLength != 0)) { in internalCompareUTF8()
767 if(rightLength < 0) { rightLength = static_cast<int32_t>(uprv_strlen(right)); } in internalCompareUTF8()
769 if(rightLength >= 0) { leftLength = static_cast<int32_t>(uprv_strlen(left)); } in internalCompareUTF8()
772 reinterpret_cast<const uint8_t *>(right), rightLength, errorCode); in internalCompareUTF8()
969 const UChar *right, int32_t rightLength, in doCompare() argument
972 if(left == right && leftLength == rightLength) { in doCompare()
990 rightLimit = right + rightLength; in doCompare()
993 if(equalPrefixLength == rightLength) { return UCOL_EQUAL; } in doCompare()
995 } else if(equalPrefixLength == rightLength || in doCompare()
1007 (equalPrefixLength != rightLength && in doCompare()
1027 (equalPrefixLength == rightLength || in doCompare()
1036 rightLength - equalPrefixLength); in doCompare()
1088 const uint8_t *right, int32_t rightLength, in doCompare() argument
1091 if(left == right && leftLength == rightLength) { in doCompare()
1106 if(equalPrefixLength == rightLength) { return UCOL_EQUAL; } in doCompare()
1108 } else if(equalPrefixLength == rightLength || in doCompare()
1118 (equalPrefixLength != rightLength && U8_IS_TRAIL(right[equalPrefixLength])))) { in doCompare()
1131 if(!unsafe && equalPrefixLength != rightLength) { in doCompare()
1134 U8_NEXT_OR_FFFD(right, i, rightLength, c); in doCompare()
1156 (equalPrefixLength == rightLength || in doCompare()
1165 rightLength - equalPrefixLength); in doCompare()
1180 UTF8CollationIterator rightIter(data, numeric, right, equalPrefixLength, rightLength); in doCompare()
1184 … FCDUTF8CollationIterator rightIter(data, numeric, right, equalPrefixLength, rightLength); in doCompare()
1202 rightLength -= equalPrefixLength; in doCompare()
1206 UTF8NFDIterator rightIter(right, rightLength); in doCompare()
1210 FCDUTF8NFDIterator rightIter(data, right, rightLength); in doCompare()