Lines Matching refs:source
251 (const UnicodeString& source) const
254 CollationElementIterator *result = new CollationElementIterator(source, this,
270 (const CharacterIterator& source) const
273 CollationElementIterator *result = new CollationElementIterator(source, this,
333 const UnicodeString& source,
338 return getEComparisonResult(compare(source.getBuffer(), uprv_min(length,source.length()), target.getBuffer(), uprv_min(length,target.length()), status));
342 const UnicodeString& source,
347 return compare(source.getBuffer(), uprv_min(length,source.length()), target.getBuffer(), uprv_min(length,target.length()), status);
350 Collator::EComparisonResult RuleBasedCollator::compare(const UChar* source,
356 return getEComparisonResult(ucol_strcoll(ucollator, source, sourceLength,
360 UCollationResult RuleBasedCollator::compare(const UChar* source,
367 return ucol_strcoll(ucollator, source, sourceLength, target, targetLength);
377 const UnicodeString& source,
380 return getEComparisonResult(ucol_strcoll(ucollator, source.getBuffer(), source.length(),
385 const UnicodeString& source,
390 return ucol_strcoll(ucollator, source.getBuffer(), source.length(),
410 * the ordering of their respective source strings. This is handy when doing a
414 * character in the source string, convert them to an ASCII representation, and
441 const UnicodeString& source,
445 return getCollationKey(source.getBuffer(), source.length(), sortkey, status);
448 CollationKey& RuleBasedCollator::getCollationKey(const UChar* source,
458 if ((!source) || (sourceLen == 0)) {
464 source, sourceLen,
559 int32_t RuleBasedCollator::getSortKey(const UnicodeString& source,
563 return ucol_getSortKey(ucollator, source.getBuffer(), source.length(), result, resultLength);
566 int32_t RuleBasedCollator::getSortKey(const UChar *source,
570 return ucol_getSortKey(ucollator, source, sourceLength, result, resultLength);