Home
last modified time | relevance | path

Searched refs:UCollationResult (Results 1 – 25 of 42) sorted by relevance

12

/external/icu/icu4c/source/test/cintltst/
Dcallcoll.h43 void doTest(UCollator*, const UChar* source, const UChar* target, UCollationResult result);
49 …ingTestWithResult(UCollator *coll, const char * const s[], uint32_t size, UCollationResult result);
52 …rterWithResult(const char *locale, const char * const s[], uint32_t size, UCollationResult result);
54 …UColAttribute *attrs, const UColAttributeValue *values, uint32_t attsize, UCollationResult result);
55 …arterWithResult(const char *rules, const char * const s[], uint32_t size, UCollationResult result);
57 …UColAttribute *attrs, const UColAttributeValue *values, uint32_t attsize, UCollationResult result);
Dccolltst.h31 UCollationResult compareResult,
32 UCollationResult keyResult,
33 UCollationResult incResult,
34 UCollationResult expectedResult );
36 UChar* appendCompareResult(UCollationResult result, UChar* target);
Dccurrtst.c108 UCollationResult compareResult, keyResult; in currTest()
109 UCollationResult expectedResult = UCOL_EQUAL; in currTest()
153 if (res < 0) keyResult = (UCollationResult)-1; in currTest()
154 else if (res > 0) keyResult = (UCollationResult)1; in currTest()
155 else keyResult = (UCollationResult)0; in currTest()
Dccolltst.c71 static const char *getCompareResult(UCollationResult result) in getCompareResult()
90 UCollationResult compareResult, in reportCResult()
91 UCollationResult keyResult, in reportCResult()
92 UCollationResult incResult, in reportCResult()
93 UCollationResult expectedResult ) in reportCResult()
Dcallcoll.c98 const UCollationResult results[] = {
235 static UCollationResult compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, c… in compareUsingPartials()
273 …ariant(UCollator* myCollation, const UChar source[], const UChar target[], UCollationResult result) in doTestVariant()
277 UCollationResult compareResult, compareResulta, keyResult, compareResultIter = result; in doTestVariant()
339UCollationResult compareResultUTF8Iter = result, compareResultUTF8IterNorm = result; in doTestVariant()
377 UCollationResult partialSKResult = result, partialNormalizedSKResult = result; in doTestVariant()
455 void doTest(UCollator* myCollation, const UChar source[], const UChar target[], UCollationResult re… in doTest()
599 …ngTestWithResult(UCollator *coll, const char * const s[], uint32_t size, UCollationResult result) { in genericOrderingTestWithResult()
651 …terWithResult(const char *locale, const char * const s[], uint32_t size, UCollationResult result) { in genericLocaleStarterWithResult()
669 …ColAttribute *attrs, const UColAttributeValue *values, uint32_t attsize, UCollationResult result) { in genericRulesStarterWithOptionsAndResult()
[all …]
Dcfrtst.c72 const static UCollationResult results[] =
174 UCollationResult expected=UCOL_EQUAL; in TestSecondary()
Dencoll.c144 const static UCollationResult results[] = {
268 UCollationResult expected=UCOL_EQUAL; in TestTertiary()
329 UCollationResult expected=UCOL_EQUAL; in TestSecondary()
Dcturtst.c67 const static UCollationResult results[] = {
Dcfintst.c55 const static UCollationResult results[] = {
Dcestst.c63 const static UCollationResult results[] = {
Dcdetst.c71 const static UCollationResult results[][2] =
/external/icu/icu4c/source/i18n/unicode/
Dtblcoll.h275 virtual UCollationResult compare(const UnicodeString& source,
292 virtual UCollationResult compare(const UnicodeString& source,
313 virtual UCollationResult compare(const char16_t* source, int32_t sourceLength,
328 virtual UCollationResult compare(UCharIterator &sIter,
345 virtual UCollationResult compareUTF8(const StringPiece &source,
694 virtual UCollationResult internalCompareUTF8(
830 UCollationResult doCompare(const char16_t *left, int32_t leftLength,
833 UCollationResult doCompare(const uint8_t *left, int32_t leftLength,
Dcoll.h358 virtual UCollationResult compare(const UnicodeString& source,
393 virtual UCollationResult compare(const UnicodeString& source,
453 virtual UCollationResult compare(const char16_t* source, int32_t sourceLength,
468 virtual UCollationResult compare(UCharIterator &sIter,
485 virtual UCollationResult compareUTF8(const StringPiece &source,
1168 virtual UCollationResult internalCompareUTF8(
Ducol.h80 } UCollationResult ; typedef
561 U_STABLE UCollationResult U_EXPORT2
586 U_STABLE UCollationResult U_EXPORT2
664 U_STABLE UCollationResult U_EXPORT2
Dsortkey.h212 UCollationResult compareTo(const CollationKey& target, UErrorCode &status) const;
/external/icu/icu4c/source/test/intltest/
Dtscoll.cpp93 UCollationResult
151 UCollationResult compareResultIter = (UCollationResult)result; in doTestVariant()
158 if(compareResultIter != (UCollationResult)result) { in doTestVariant()
172UCollationResult compareResultUTF8 = (UCollationResult)result, compareResultUTF8Norm = (UCollation… in doTestVariant()
210UCollationResult partialSKResult = (UCollationResult)result, partialNormalizedSKResult = (UCollati… in doTestVariant()
214 if(partialSKResult != (UCollationResult)result) { in doTestVariant()
Dtscoll.h54UCollationResult compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, const U…
Dapicoll.cpp928 UCollationResult res; in TestDuplicate()
2007 virtual UCollationResult compare(const UnicodeString& source,
2010 virtual UCollationResult compare(const UnicodeString& source,
2014 virtual UCollationResult compare(const UChar* source,
2073 UCollationResult TestCollator::compare(const UnicodeString& source, in compare()
2078 return UCollationResult(source.compare(target)); in compare()
2084 UCollationResult TestCollator::compare(const UnicodeString& source, in compare()
2090 return UCollationResult(source.compare(0, length, target)); in compare()
2096 UCollationResult TestCollator::compare(const UChar* source, in compare()
2315 UCollationResult res = coll->compare(first, second, status); in TestNULLCharTailoring()
[all …]
/external/icu/icu4c/source/i18n/
Ducol.cpp411 U_CAPI UCollationResult U_EXPORT2
430 UCollationResult result = Collator::fromUCollator(coll)->compare(*sIter, *tIter, *status); in ucol_strcollIter()
440 U_CAPI UCollationResult U_EXPORT2
455 UCollationResult returnVal = Collator::fromUCollator(coll)-> in ucol_strcoll()
461 U_CAPI UCollationResult U_EXPORT2
483 UCollationResult returnVal = Collator::fromUCollator(coll)->internalCompareUTF8( in ucol_strcollUTF8()
Dcollationcompare.h30 static UCollationResult compareUpToQuaternary(CollationIterator &left, CollationIterator &right,
Dsortkey.cpp181 UCollationResult
192 UCollationResult result; in compareTo()
Drulebasedcollator.cpp699 UCollationResult
707 UCollationResult
723 UCollationResult
742 UCollationResult
755 UCollationResult
934 UCollationResult compareNFDIter(const Normalizer2Impl &nfcImpl, in compareNFDIter()
967 UCollationResult
1064 return (UCollationResult)result; in doCompare()
1086 UCollationResult
1189 return (UCollationResult)result; in doCompare()
[all …]
/external/icu/libandroidicu/include/unicode/
Ducol.h80 } UCollationResult ; typedef
561 U_STABLE UCollationResult U_EXPORT2
586 U_STABLE UCollationResult U_EXPORT2
664 U_STABLE UCollationResult U_EXPORT2
/external/icu/icu4c/source/samples/legacy/
Dnewcol.cpp50UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1); in compare_current()
Doldcol.cpp51UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1); in compare_legacy()

12