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.h41 void doTest(UCollator*, const UChar* source, const UChar* target, UCollationResult result);
47 …ingTestWithResult(UCollator *coll, const char * const s[], uint32_t size, UCollationResult result);
50 …rterWithResult(const char *locale, const char * const s[], uint32_t size, UCollationResult result);
52 …UColAttribute *attrs, const UColAttributeValue *values, uint32_t attsize, UCollationResult result);
53 …arterWithResult(const char *rules, const char * const s[], uint32_t size, UCollationResult result);
55 …UColAttribute *attrs, const UColAttributeValue *values, uint32_t attsize, UCollationResult result);
Dccolltst.h29 UCollationResult compareResult,
30 UCollationResult keyResult,
31 UCollationResult incResult,
32 UCollationResult expectedResult );
34 UChar* appendCompareResult(UCollationResult result, UChar* target);
Dccolltst.c69 static const char *getCompareResult(UCollationResult result) in getCompareResult()
88 UCollationResult compareResult, in reportCResult()
89 UCollationResult keyResult, in reportCResult()
90 UCollationResult incResult, in reportCResult()
91 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.c94 const UCollationResult results[] = {
230 static UCollationResult compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, c… in compareUsingPartials()
268 …ariant(UCollator* myCollation, const UChar source[], const UChar target[], UCollationResult result) in doTestVariant()
272 UCollationResult compareResult, compareResulta, keyResult, compareResultIter = result; in doTestVariant()
334UCollationResult compareResultUTF8Iter = result, compareResultUTF8IterNorm = result; in doTestVariant()
372 UCollationResult partialSKResult = result, partialNormalizedSKResult = result; in doTestVariant()
450 void doTest(UCollator* myCollation, const UChar source[], const UChar target[], UCollationResult re… in doTest()
594 …ngTestWithResult(UCollator *coll, const char * const s[], uint32_t size, UCollationResult result) { in genericOrderingTestWithResult()
646 …terWithResult(const char *locale, const char * const s[], uint32_t size, UCollationResult result) { in genericLocaleStarterWithResult()
664 …ColAttribute *attrs, const UColAttributeValue *values, uint32_t attsize, UCollationResult result) { in genericRulesStarterWithOptionsAndResult()
[all …]
Dcfrtst.c69 const static UCollationResult results[] =
171 UCollationResult expected=UCOL_EQUAL; in TestSecondary()
Dencoll.c141 const static UCollationResult results[] = {
265 UCollationResult expected=UCOL_EQUAL; in TestTertiary()
326 UCollationResult expected=UCOL_EQUAL; in TestSecondary()
Dcestst.c61 const static UCollationResult results[] = {
Dcturtst.c65 const static UCollationResult results[] = {
Dcfintst.c53 const static UCollationResult results[] = {
Dcdetst.c69 const static UCollationResult results[][2] =
/external/icu/icu4c/source/i18n/unicode/
Dtblcoll.h271 virtual UCollationResult compare(const UnicodeString& source,
288 virtual UCollationResult compare(const UnicodeString& source,
309 virtual UCollationResult compare(const UChar* source, int32_t sourceLength,
324 virtual UCollationResult compare(UCharIterator &sIter,
341 virtual UCollationResult compareUTF8(const StringPiece &source,
686 virtual UCollationResult internalCompareUTF8(
821 UCollationResult doCompare(const UChar *left, int32_t leftLength,
824 UCollationResult doCompare(const uint8_t *left, int32_t leftLength,
Dcoll.h347 virtual UCollationResult compare(const UnicodeString& source,
380 virtual UCollationResult compare(const UnicodeString& source,
438 virtual UCollationResult compare(const UChar* source, int32_t sourceLength,
453 virtual UCollationResult compare(UCharIterator &sIter,
470 virtual UCollationResult compareUTF8(const StringPiece &source,
1145 virtual UCollationResult internalCompareUTF8(
Ducol.h78 } UCollationResult ; typedef
548 U_STABLE UCollationResult U_EXPORT2
573 U_STABLE UCollationResult U_EXPORT2
651 U_STABLE UCollationResult U_EXPORT2
Dsortkey.h208 UCollationResult compareTo(const CollationKey& target, UErrorCode &status) const;
/external/icu/icu4c/source/test/intltest/
Dtscoll.cpp91 UCollationResult
149 UCollationResult compareResultIter = (UCollationResult)result; in doTestVariant()
156 if(compareResultIter != (UCollationResult)result) { in doTestVariant()
170UCollationResult compareResultUTF8 = (UCollationResult)result, compareResultUTF8Norm = (UCollation… in doTestVariant()
208UCollationResult partialSKResult = (UCollationResult)result, partialNormalizedSKResult = (UCollati… in doTestVariant()
212 if(partialSKResult != (UCollationResult)result) { in doTestVariant()
Dtscoll.h52UCollationResult compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, const U…
Dapicoll.cpp909 UCollationResult res; in TestDuplicate()
1976 virtual UCollationResult compare(const UnicodeString& source,
1979 virtual UCollationResult compare(const UnicodeString& source,
1983 virtual UCollationResult compare(const UChar* source,
2042 UCollationResult TestCollator::compare(const UnicodeString& source, in compare()
2047 return UCollationResult(source.compare(target)); in compare()
2053 UCollationResult TestCollator::compare(const UnicodeString& source, in compare()
2059 return UCollationResult(source.compare(0, length, target)); in compare()
2065 UCollationResult TestCollator::compare(const UChar* source, in compare()
2284 UCollationResult res = coll->compare(first, second, status); in TestNULLCharTailoring()
[all …]
/external/icu/icu4c/source/i18n/
Ducol.cpp408 U_CAPI UCollationResult U_EXPORT2
427 UCollationResult result = Collator::fromUCollator(coll)->compare(*sIter, *tIter, *status); in ucol_strcollIter()
437 U_CAPI UCollationResult U_EXPORT2
452 UCollationResult returnVal = Collator::fromUCollator(coll)-> in ucol_strcoll()
458 U_CAPI UCollationResult U_EXPORT2
480 UCollationResult returnVal = Collator::fromUCollator(coll)->internalCompareUTF8( in ucol_strcollUTF8()
Dcollationcompare.h28 static UCollationResult compareUpToQuaternary(CollationIterator &left, CollationIterator &right,
Drulebasedcollator.cpp697 UCollationResult
705 UCollationResult
721 UCollationResult
740 UCollationResult
753 UCollationResult
932 UCollationResult compareNFDIter(const Normalizer2Impl &nfcImpl, in compareNFDIter()
965 UCollationResult
1062 return (UCollationResult)result; in doCompare()
1084 UCollationResult
1187 return (UCollationResult)result; in doCompare()
[all …]
Dsortkey.cpp179 UCollationResult
190 UCollationResult result; in compareTo()
/external/icu/icu4c/source/samples/legacy/
Dnewcol.cpp44UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1); in compare_current()
Doldcol.cpp45UCollationResult res = ucol_strcoll(compareCollator, (UChar *) string1, -1, (UChar *) string2, -1); in compare_legacy()
/external/sqlite/android/
Dsqlite3_android.cpp40 UCollationResult result = ucol_strcoll(coll, (const UChar *) v1, n1, in collate16()
61 UCollationResult result = ucol_strcollIter(coll, &i1, &i2, &status); in collate8()

12