Lines Matching refs:equalPrefixLength
979 int32_t equalPrefixLength = 0; in doCompare() local
984 while((c = left[equalPrefixLength]) == right[equalPrefixLength]) { in doCompare()
986 ++equalPrefixLength; in doCompare()
992 if(equalPrefixLength == leftLength) { in doCompare()
993 if(equalPrefixLength == rightLength) { return UCOL_EQUAL; } in doCompare()
995 } else if(equalPrefixLength == rightLength || in doCompare()
996 left[equalPrefixLength] != right[equalPrefixLength]) { in doCompare()
999 ++equalPrefixLength; in doCompare()
1004 if(equalPrefixLength > 0) { in doCompare()
1005 if((equalPrefixLength != leftLength && in doCompare()
1006 data->isUnsafeBackward(left[equalPrefixLength], numeric)) || in doCompare()
1007 (equalPrefixLength != rightLength && in doCompare()
1008 data->isUnsafeBackward(right[equalPrefixLength], numeric))) { in doCompare()
1010 while(--equalPrefixLength > 0 && in doCompare()
1011 data->isUnsafeBackward(left[equalPrefixLength], numeric)) {} in doCompare()
1025 (equalPrefixLength == leftLength || in doCompare()
1026 left[equalPrefixLength] <= CollationFastLatin::LATIN_MAX) && in doCompare()
1027 (equalPrefixLength == rightLength || in doCompare()
1028 right[equalPrefixLength] <= CollationFastLatin::LATIN_MAX)) { in doCompare()
1033 left + equalPrefixLength, in doCompare()
1034 leftLength - equalPrefixLength, in doCompare()
1035 right + equalPrefixLength, in doCompare()
1036 rightLength - equalPrefixLength); in doCompare()
1041 left + equalPrefixLength, -1, in doCompare()
1042 right + equalPrefixLength, -1); in doCompare()
1051 left, left + equalPrefixLength, leftLimit); in doCompare()
1053 right, right + equalPrefixLength, rightLimit); in doCompare()
1057 left, left + equalPrefixLength, leftLimit); in doCompare()
1059 right, right + equalPrefixLength, rightLimit); in doCompare()
1073 left += equalPrefixLength; in doCompare()
1074 right += equalPrefixLength; in doCompare()
1096 int32_t equalPrefixLength = 0; in doCompare() local
1099 while((c = left[equalPrefixLength]) == right[equalPrefixLength]) { in doCompare()
1101 ++equalPrefixLength; in doCompare()
1105 if(equalPrefixLength == leftLength) { in doCompare()
1106 if(equalPrefixLength == rightLength) { return UCOL_EQUAL; } in doCompare()
1108 } else if(equalPrefixLength == rightLength || in doCompare()
1109 left[equalPrefixLength] != right[equalPrefixLength]) { in doCompare()
1112 ++equalPrefixLength; in doCompare()
1116 if(equalPrefixLength > 0 && in doCompare()
1117 ((equalPrefixLength != leftLength && U8_IS_TRAIL(left[equalPrefixLength])) || in doCompare()
1118 (equalPrefixLength != rightLength && U8_IS_TRAIL(right[equalPrefixLength])))) { in doCompare()
1119 while(--equalPrefixLength > 0 && U8_IS_TRAIL(left[equalPrefixLength])) {} in doCompare()
1123 if(equalPrefixLength > 0) { in doCompare()
1125 if(equalPrefixLength != leftLength) { in doCompare()
1126 int32_t i = equalPrefixLength; in doCompare()
1131 if(!unsafe && equalPrefixLength != rightLength) { in doCompare()
1132 int32_t i = equalPrefixLength; in doCompare()
1141 U8_PREV_OR_FFFD(left, 0, equalPrefixLength, c); in doCompare()
1142 } while(equalPrefixLength > 0 && data->isUnsafeBackward(c, numeric)); in doCompare()
1154 (equalPrefixLength == leftLength || in doCompare()
1155 left[equalPrefixLength] <= CollationFastLatin::LATIN_MAX_UTF8_LEAD) && in doCompare()
1156 (equalPrefixLength == rightLength || in doCompare()
1157 right[equalPrefixLength] <= CollationFastLatin::LATIN_MAX_UTF8_LEAD)) { in doCompare()
1162 left + equalPrefixLength, in doCompare()
1163 leftLength - equalPrefixLength, in doCompare()
1164 right + equalPrefixLength, in doCompare()
1165 rightLength - equalPrefixLength); in doCompare()
1170 left + equalPrefixLength, -1, in doCompare()
1171 right + equalPrefixLength, -1); in doCompare()
1179 UTF8CollationIterator leftIter(data, numeric, left, equalPrefixLength, leftLength); in doCompare()
1180 UTF8CollationIterator rightIter(data, numeric, right, equalPrefixLength, rightLength); in doCompare()
1183 FCDUTF8CollationIterator leftIter(data, numeric, left, equalPrefixLength, leftLength); in doCompare()
1184 … FCDUTF8CollationIterator rightIter(data, numeric, right, equalPrefixLength, rightLength); in doCompare()
1198 left += equalPrefixLength; in doCompare()
1199 right += equalPrefixLength; in doCompare()
1201 leftLength -= equalPrefixLength; in doCompare()
1202 rightLength -= equalPrefixLength; in doCompare()
1222 int32_t equalPrefixLength = 0; in compare() local
1228 ++equalPrefixLength; in compare()
1235 if(equalPrefixLength > 0) { in compare()
1240 --equalPrefixLength; in compare()
1243 } while(equalPrefixLength > 0 && data->isUnsafeBackward(leftUnit, numeric)); in compare()
1255 FCDUIterCollationIterator leftIter(data, numeric, left, equalPrefixLength); in compare()
1256 FCDUIterCollationIterator rightIter(data, numeric, right, equalPrefixLength); in compare()
1264 left.move(&left, equalPrefixLength, UITER_ZERO); in compare()
1265 right.move(&right, equalPrefixLength, UITER_ZERO); in compare()
1272 FCDUIterNFDIterator leftIter(data, left, equalPrefixLength); in compare()
1273 FCDUIterNFDIterator rightIter(data, right, equalPrefixLength); in compare()