Home
last modified time | relevance | path

Searched refs:UCOL_EQUAL (Results 1 – 25 of 27) sorted by relevance

12

/external/icu/icu4c/source/test/cintltst/
Dcdetst.c73 { UCOL_EQUAL, UCOL_LESS },
77 { UCOL_EQUAL, UCOL_LESS },
78 { UCOL_EQUAL, UCOL_EQUAL }, /*should be UCOL_GREATER for primary*/
80 { UCOL_EQUAL, UCOL_GREATER },
81 { UCOL_EQUAL, UCOL_EQUAL },
83 { UCOL_EQUAL, UCOL_GREATER }
Dencoll.c147 UCOL_EQUAL,
154 UCOL_EQUAL,
174 UCOL_EQUAL,
180 UCOL_EQUAL,
181 UCOL_EQUAL,
183 UCOL_EQUAL,
184 UCOL_EQUAL, /* 40 */
186 UCOL_EQUAL,
187 UCOL_EQUAL,
191 UCOL_EQUAL,
[all …]
Dcallcoll.c113 UCOL_EQUAL,
114 UCOL_EQUAL,
115 UCOL_EQUAL, /* 20 */
118 UCOL_EQUAL,
119 UCOL_EQUAL,
120 UCOL_EQUAL,
123 UCOL_EQUAL,
124 UCOL_EQUAL,
125 UCOL_EQUAL,
126 UCOL_EQUAL,
[all …]
Dcmsccoll.c161 UCOL_EQUAL,
162 UCOL_EQUAL,
163 UCOL_EQUAL,
165 UCOL_EQUAL,
166 UCOL_EQUAL,
168 UCOL_EQUAL,
169 UCOL_EQUAL
254 UCOL_EQUAL,
255 UCOL_EQUAL,
257 UCOL_EQUAL
[all …]
Dcestst.c69 UCOL_EQUAL,
71 UCOL_EQUAL
Dccurrtst.c109 UCollationResult expectedResult = UCOL_EQUAL; in currTest()
133 expectedResult = UCOL_EQUAL; in currTest()
Dcfrtst.c171 UCollationResult expected=UCOL_EQUAL; in TestSecondary()
191 if (i == j) expected = UCOL_EQUAL; in TestSecondary()
Dccolltst.c75 else if (result == UCOL_EQUAL) in getCompareResult()
Dcjaptst.c60 UCOL_EQUAL, /*UCOL_LESS*/ /* Katakanas and Hiraganas are equal on tertiary level(ICU 2.0)*/
/external/icu/icu4c/source/i18n/
Dcollationcompare.cpp30 if(U_FAILURE(errorCode)) { return UCOL_EQUAL; } in compareUpToQuaternary()
105 if(U_FAILURE(errorCode)) { return UCOL_EQUAL; } in compareUpToQuaternary()
248 if(CollationSettings::getStrength(options) <= UCOL_SECONDARY) { return UCOL_EQUAL; } in compareUpToQuaternary()
300 if(CollationSettings::getStrength(options) <= UCOL_TERTIARY) { return UCOL_EQUAL; } in compareUpToQuaternary()
305 return UCOL_EQUAL; in compareUpToQuaternary()
349 return UCOL_EQUAL; in compareUpToQuaternary()
Drulebasedcollator.cpp700 if(U_FAILURE(errorCode)) { return UCOL_EQUAL; } in compare()
708 if(U_FAILURE(errorCode) || length == 0) { return UCOL_EQUAL; } in compare()
711 return UCOL_EQUAL; in compare()
725 if(U_FAILURE(errorCode)) { return UCOL_EQUAL; } in compare()
728 return UCOL_EQUAL; in compare()
743 if(U_FAILURE(errorCode)) { return UCOL_EQUAL; } in compareUTF8()
748 return UCOL_EQUAL; in compareUTF8()
757 if(U_FAILURE(errorCode)) { return UCOL_EQUAL; } in internalCompareUTF8()
760 return UCOL_EQUAL; in internalCompareUTF8()
960 return UCOL_EQUAL; in compareNFDIter()
[all …]
Dsortkey.cpp188 return UCOL_EQUAL; in compareTo()
198 result = UCOL_EQUAL; in compareTo()
217 return UCOL_EQUAL; in compareTo()
Ducol.cpp415 return UCOL_EQUAL; in ucol_strcollIter()
423 UTRACE_EXIT_VALUE_STATUS(UCOL_EQUAL, *status); in ucol_strcollIter()
424 return UCOL_EQUAL; in ucol_strcollIter()
476 UTRACE_EXIT_VALUE_STATUS(UCOL_EQUAL, *status); in ucol_strcollUTF8()
477 return UCOL_EQUAL; in ucol_strcollUTF8()
520 == UCOL_EQUAL); in ucol_equal()
Dcoll.cpp514 return UCOL_EQUAL; in compare()
521 return UCOL_EQUAL; in compareUTF8()
533 return (compare(source, target, ec) == UCOL_EQUAL); in equals()
979 if(U_FAILURE(errorCode)) { return UCOL_EQUAL; } in internalCompareUTF8()
982 return UCOL_EQUAL; in internalCompareUTF8()
Dcollationfastlatin.cpp338 if(CollationSettings::getStrength(options) <= UCOL_SECONDARY) { return UCOL_EQUAL; } in compareUTF16()
397 if(CollationSettings::getStrength(options) <= UCOL_TERTIARY) { return UCOL_EQUAL; } in compareUTF16()
442 return UCOL_EQUAL; in compareUTF16()
689 if(CollationSettings::getStrength(options) <= UCOL_SECONDARY) { return UCOL_EQUAL; } in compareUTF8()
748 if(CollationSettings::getStrength(options) <= UCOL_TERTIARY) { return UCOL_EQUAL; } in compareUTF8()
793 return UCOL_EQUAL; in compareUTF8()
Dalphaindex.cpp103 if (cmp == UCOL_EQUAL) { in binarySearch()
933 emptyString_, status) == UCOL_EQUAL) { in init()
/external/icu/icu4c/source/test/intltest/
Dapicoll.cpp109 … doAssert((col->compare("","",success) == UCOL_EQUAL), "Comparison between empty strings failed"); in TestProperty()
560 …doAssert(sortk2.compareTo(sortk3, success) == UCOL_EQUAL, "Result should be \"abcda\" == \"abcda\"… in TestCollationKey()
563 …doAssert(sortkEmpty.compareTo(sortkEmpty, success) == UCOL_EQUAL, "Result should be (empty key) ==… in TestCollationKey()
977 doAssert((col->compare(test1, test2, success) == UCOL_EQUAL), "Problem"); in TestCompare()
979 doAssert((col->compare(t1, t1Len, t2, t2Len, success) == UCOL_EQUAL), "Problem"); in TestCompare()
981 doAssert((col->compare(test1, test2, t1Len, success) == UCOL_EQUAL), "Problem"); in TestCompare()
1557 assertEquals("empty==dollar", UCOL_EQUAL, coll->compare(UnicodeString(), dollar)); in TestVariableTopSetting()
1558 assertEquals("empty==euro", UCOL_EQUAL, coll->compare(UnicodeString(), euro)); in TestVariableTopSetting()
1594 …assertEquals("empty==dollar", UCOL_EQUAL, coll->compare(UnicodeString(), UnicodeString((UChar)0x24… in TestMaxVariable()
1595 …assertEquals("empty==euro", UCOL_EQUAL, coll->compare(UnicodeString(), UnicodeString((UChar)0x20AC… in TestMaxVariable()
[all …]
Dcollationtest.cpp311 if(order != UCOL_EQUAL) { in TestIllegalUTF8()
1521 if(order == UCOL_EQUAL) { in getDifferenceLevel()
1705 if(order != UCOL_EQUAL && expectedLevel != Collation::NO_LEVEL) { in checkCompareTwo()
1742 if(order != UCOL_EQUAL && expectedLevel != Collation::NO_LEVEL) { in checkCompareTwo()
1778 … UCollationResult expectedOrder = (relation == Collation::ZERO_LEVEL) ? UCOL_EQUAL : UCOL_LESS; in checkCompareStrings()
Ducaconf.cpp168 return result<0 ? UCOL_LESS : result==0 ? UCOL_EQUAL : UCOL_GREATER; in normalizeResult()
Dtscoll.cpp121 return UCOL_EQUAL; in compareUsingPartials()
Dtsmthred.cpp888 return result<0 ? UCOL_LESS : result==0 ? UCOL_EQUAL : UCOL_GREATER; in normalizeResult()
/external/icu/icu4c/source/i18n/unicode/
Dcoll.h215 EQUAL = UCOL_EQUAL, // 0
Ducol.h73 UCOL_EQUAL = 0, enumerator
/external/icu/icu4c/source/test/perf/collationperf/
Dcollperf.cpp526 UCollationResult r = UCOL_EQUAL; in doBinarySearch()
549 r=UCOL_GREATER; if(ri<0) {r=UCOL_LESS;} else if (ri==0) {r=UCOL_EQUAL;} in doBinarySearch()
561 if (r== UCOL_EQUAL) in doBinarySearch()
/external/icu/icu4c/source/test/perf/collperf/
Dcollperf.cpp284 return ucol_strcoll(da->col, da->icu_data, -1, db->icu_data, -1) - UCOL_EQUAL; in icu_strcoll_null()
289 …ucol_strcoll(da->col, da->icu_data, da->icu_data_len, db->icu_data, db->icu_data_len) - UCOL_EQUAL; in icu_strcoll_len()

12