Lines Matching refs:equalPrefixLength
977 int32_t equalPrefixLength = 0; in doCompare() local
982 while((c = left[equalPrefixLength]) == right[equalPrefixLength]) { in doCompare()
984 ++equalPrefixLength; in doCompare()
990 if(equalPrefixLength == leftLength) { in doCompare()
991 if(equalPrefixLength == rightLength) { return UCOL_EQUAL; } in doCompare()
993 } else if(equalPrefixLength == rightLength || in doCompare()
994 left[equalPrefixLength] != right[equalPrefixLength]) { in doCompare()
997 ++equalPrefixLength; in doCompare()
1002 if(equalPrefixLength > 0) { in doCompare()
1003 if((equalPrefixLength != leftLength && in doCompare()
1004 data->isUnsafeBackward(left[equalPrefixLength], numeric)) || in doCompare()
1005 (equalPrefixLength != rightLength && in doCompare()
1006 data->isUnsafeBackward(right[equalPrefixLength], numeric))) { in doCompare()
1008 while(--equalPrefixLength > 0 && in doCompare()
1009 data->isUnsafeBackward(left[equalPrefixLength], numeric)) {} in doCompare()
1023 (equalPrefixLength == leftLength || in doCompare()
1024 left[equalPrefixLength] <= CollationFastLatin::LATIN_MAX) && in doCompare()
1025 (equalPrefixLength == rightLength || in doCompare()
1026 right[equalPrefixLength] <= CollationFastLatin::LATIN_MAX)) { in doCompare()
1031 left + equalPrefixLength, in doCompare()
1032 leftLength - equalPrefixLength, in doCompare()
1033 right + equalPrefixLength, in doCompare()
1034 rightLength - equalPrefixLength); in doCompare()
1039 left + equalPrefixLength, -1, in doCompare()
1040 right + equalPrefixLength, -1); in doCompare()
1049 left, left + equalPrefixLength, leftLimit); in doCompare()
1051 right, right + equalPrefixLength, rightLimit); in doCompare()
1055 left, left + equalPrefixLength, leftLimit); in doCompare()
1057 right, right + equalPrefixLength, rightLimit); in doCompare()
1071 left += equalPrefixLength; in doCompare()
1072 right += equalPrefixLength; in doCompare()
1094 int32_t equalPrefixLength = 0; in doCompare() local
1097 while((c = left[equalPrefixLength]) == right[equalPrefixLength]) { in doCompare()
1099 ++equalPrefixLength; in doCompare()
1103 if(equalPrefixLength == leftLength) { in doCompare()
1104 if(equalPrefixLength == rightLength) { return UCOL_EQUAL; } in doCompare()
1106 } else if(equalPrefixLength == rightLength || in doCompare()
1107 left[equalPrefixLength] != right[equalPrefixLength]) { in doCompare()
1110 ++equalPrefixLength; in doCompare()
1114 if(equalPrefixLength > 0 && in doCompare()
1115 ((equalPrefixLength != leftLength && U8_IS_TRAIL(left[equalPrefixLength])) || in doCompare()
1116 (equalPrefixLength != rightLength && U8_IS_TRAIL(right[equalPrefixLength])))) { in doCompare()
1117 while(--equalPrefixLength > 0 && U8_IS_TRAIL(left[equalPrefixLength])) {} in doCompare()
1121 if(equalPrefixLength > 0) { in doCompare()
1123 if(equalPrefixLength != leftLength) { in doCompare()
1124 int32_t i = equalPrefixLength; in doCompare()
1129 if(!unsafe && equalPrefixLength != rightLength) { in doCompare()
1130 int32_t i = equalPrefixLength; in doCompare()
1139 U8_PREV_OR_FFFD(left, 0, equalPrefixLength, c); in doCompare()
1140 } while(equalPrefixLength > 0 && data->isUnsafeBackward(c, numeric)); in doCompare()
1152 (equalPrefixLength == leftLength || in doCompare()
1153 left[equalPrefixLength] <= CollationFastLatin::LATIN_MAX_UTF8_LEAD) && in doCompare()
1154 (equalPrefixLength == rightLength || in doCompare()
1155 right[equalPrefixLength] <= CollationFastLatin::LATIN_MAX_UTF8_LEAD)) { in doCompare()
1160 left + equalPrefixLength, in doCompare()
1161 leftLength - equalPrefixLength, in doCompare()
1162 right + equalPrefixLength, in doCompare()
1163 rightLength - equalPrefixLength); in doCompare()
1168 left + equalPrefixLength, -1, in doCompare()
1169 right + equalPrefixLength, -1); in doCompare()
1177 UTF8CollationIterator leftIter(data, numeric, left, equalPrefixLength, leftLength); in doCompare()
1178 UTF8CollationIterator rightIter(data, numeric, right, equalPrefixLength, rightLength); in doCompare()
1181 FCDUTF8CollationIterator leftIter(data, numeric, left, equalPrefixLength, leftLength); in doCompare()
1182 … FCDUTF8CollationIterator rightIter(data, numeric, right, equalPrefixLength, rightLength); in doCompare()
1196 left += equalPrefixLength; in doCompare()
1197 right += equalPrefixLength; in doCompare()
1199 leftLength -= equalPrefixLength; in doCompare()
1200 rightLength -= equalPrefixLength; in doCompare()
1220 int32_t equalPrefixLength = 0; in compare() local
1226 ++equalPrefixLength; in compare()
1233 if(equalPrefixLength > 0) { in compare()
1238 --equalPrefixLength; in compare()
1241 } while(equalPrefixLength > 0 && data->isUnsafeBackward(leftUnit, numeric)); in compare()
1253 FCDUIterCollationIterator leftIter(data, numeric, left, equalPrefixLength); in compare()
1254 FCDUIterCollationIterator rightIter(data, numeric, right, equalPrefixLength); in compare()
1262 left.move(&left, equalPrefixLength, UITER_ZERO); in compare()
1263 right.move(&right, equalPrefixLength, UITER_ZERO); in compare()
1270 FCDUIterNFDIterator leftIter(data, left, equalPrefixLength); in compare()
1271 FCDUIterNFDIterator rightIter(data, right, equalPrefixLength); in compare()