Home
last modified time | relevance | path

Searched refs:UCollationResult (Results 1 – 25 of 40) 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);
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()
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()
Dcallcoll.c96 const UCollationResult results[] = {
232 static UCollationResult compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, c… in compareUsingPartials()
270 …ariant(UCollator* myCollation, const UChar source[], const UChar target[], UCollationResult result) in doTestVariant()
274 UCollationResult compareResult, compareResulta, keyResult, compareResultIter = result; in doTestVariant()
336UCollationResult compareResultUTF8Iter = result, compareResultUTF8IterNorm = result; in doTestVariant()
374 UCollationResult partialSKResult = result, partialNormalizedSKResult = result; in doTestVariant()
452 void doTest(UCollator* myCollation, const UChar source[], const UChar target[], UCollationResult re… in doTest()
596 …ngTestWithResult(UCollator *coll, const char * const s[], uint32_t size, UCollationResult result) { in genericOrderingTestWithResult()
648 …terWithResult(const char *locale, const char * const s[], uint32_t size, UCollationResult result) { in genericLocaleStarterWithResult()
666 …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[] = {
Dcestst.c63 const static UCollationResult results[] = {
Dcfintst.c55 const static UCollationResult results[] = {
Dcdetst.c71 const static UCollationResult results[][2] =
/external/icu/icu4c/source/i18n/unicode/
Dtblcoll.h273 virtual UCollationResult compare(const UnicodeString& source,
290 virtual UCollationResult compare(const UnicodeString& source,
311 virtual UCollationResult compare(const char16_t* source, int32_t sourceLength,
326 virtual UCollationResult compare(UCharIterator &sIter,
343 virtual UCollationResult compareUTF8(const StringPiece &source,
688 virtual UCollationResult internalCompareUTF8(
824 UCollationResult doCompare(const char16_t *left, int32_t leftLength,
827 UCollationResult doCompare(const uint8_t *left, int32_t leftLength,
Dcoll.h352 virtual UCollationResult compare(const UnicodeString& source,
385 virtual UCollationResult compare(const UnicodeString& source,
443 virtual UCollationResult compare(const char16_t* source, int32_t sourceLength,
458 virtual UCollationResult compare(UCharIterator &sIter,
475 virtual UCollationResult compareUTF8(const StringPiece &source,
1150 virtual UCollationResult internalCompareUTF8(
Ducol.h80 } UCollationResult ; typedef
559 U_STABLE UCollationResult U_EXPORT2
584 U_STABLE UCollationResult U_EXPORT2
662 U_STABLE UCollationResult U_EXPORT2
Dsortkey.h210 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.cpp410 U_CAPI UCollationResult U_EXPORT2
429 UCollationResult result = Collator::fromUCollator(coll)->compare(*sIter, *tIter, *status); in ucol_strcollIter()
439 U_CAPI UCollationResult U_EXPORT2
454 UCollationResult returnVal = Collator::fromUCollator(coll)-> in ucol_strcoll()
460 U_CAPI UCollationResult U_EXPORT2
482 UCollationResult returnVal = Collator::fromUCollator(coll)->internalCompareUTF8( in ucol_strcollUTF8()
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 …]
Dsortkey.cpp181 UCollationResult
192 UCollationResult result; in compareTo()
Dcollationcompare.h30 static UCollationResult compareUpToQuaternary(CollationIterator &left, CollationIterator &right,
/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()
/external/sqlite/android/
Dsqlite3_android.cpp43 UCollationResult result = ucol_strcoll(coll, (const UChar *) v1, n1, in collate16()
64 UCollationResult result = ucol_strcollIter(coll, &i1, &i2, &status); in collate8()

12