Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/test/cintltst/
Dcdetst.c75 { UCOL_EQUAL, UCOL_LESS },
79 { UCOL_EQUAL, UCOL_LESS },
80 { UCOL_EQUAL, UCOL_EQUAL }, /*should be UCOL_GREATER for primary*/
82 { UCOL_EQUAL, UCOL_GREATER },
83 { UCOL_EQUAL, UCOL_EQUAL },
85 { UCOL_EQUAL, UCOL_GREATER }
Dencoll.c150 UCOL_EQUAL,
157 UCOL_EQUAL,
177 UCOL_EQUAL,
183 UCOL_EQUAL,
184 UCOL_EQUAL,
186 UCOL_EQUAL,
187 UCOL_EQUAL, /* 40 */
189 UCOL_EQUAL,
190 UCOL_EQUAL,
194 UCOL_EQUAL,
[all …]
Dcallcoll.c117 UCOL_EQUAL,
118 UCOL_EQUAL,
119 UCOL_EQUAL, /* 20 */
122 UCOL_EQUAL,
123 UCOL_EQUAL,
124 UCOL_EQUAL,
127 UCOL_EQUAL,
128 UCOL_EQUAL,
129 UCOL_EQUAL,
130 UCOL_EQUAL,
[all …]
Dcmsccoll.c160 UCOL_EQUAL,
161 UCOL_EQUAL,
162 UCOL_EQUAL,
164 UCOL_EQUAL,
165 UCOL_EQUAL,
167 UCOL_EQUAL,
168 UCOL_EQUAL
253 UCOL_EQUAL,
254 UCOL_EQUAL,
256 UCOL_EQUAL
[all …]
Dcestst.c71 UCOL_EQUAL,
73 UCOL_EQUAL
Dccurrtst.c109 UCollationResult expectedResult = UCOL_EQUAL; in currTest()
133 expectedResult = UCOL_EQUAL; in currTest()
Dcfrtst.c174 UCollationResult expected=UCOL_EQUAL; in TestSecondary()
194 if (i == j) expected = UCOL_EQUAL; in TestSecondary()
Dccolltst.c77 else if (result == UCOL_EQUAL) in getCompareResult()
Dcjaptst.c62 UCOL_EQUAL, /*UCOL_LESS*/ /* Katakanas and Hiraganas are equal on tertiary level(ICU 2.0)*/
/external/icu/icu4c/source/i18n/
Dcollationcompare.cpp32 if(U_FAILURE(errorCode)) { return UCOL_EQUAL; } in compareUpToQuaternary()
107 if(U_FAILURE(errorCode)) { return UCOL_EQUAL; } in compareUpToQuaternary()
250 if(CollationSettings::getStrength(options) <= UCOL_SECONDARY) { return UCOL_EQUAL; } in compareUpToQuaternary()
302 if(CollationSettings::getStrength(options) <= UCOL_TERTIARY) { return UCOL_EQUAL; } in compareUpToQuaternary()
307 return UCOL_EQUAL; in compareUpToQuaternary()
351 return UCOL_EQUAL; in compareUpToQuaternary()
Drulebasedcollator.cpp702 if(U_FAILURE(errorCode)) { return UCOL_EQUAL; } in compare()
710 if(U_FAILURE(errorCode) || length == 0) { return UCOL_EQUAL; } in compare()
713 return UCOL_EQUAL; in compare()
727 if(U_FAILURE(errorCode)) { return UCOL_EQUAL; } in compare()
730 return UCOL_EQUAL; in compare()
745 if(U_FAILURE(errorCode)) { return UCOL_EQUAL; } in compareUTF8()
750 return UCOL_EQUAL; in compareUTF8()
759 if(U_FAILURE(errorCode)) { return UCOL_EQUAL; } in internalCompareUTF8()
762 return UCOL_EQUAL; in internalCompareUTF8()
962 return UCOL_EQUAL; in compareNFDIter()
[all …]
Dsortkey.cpp190 return UCOL_EQUAL; in compareTo()
200 result = UCOL_EQUAL; in compareTo()
219 return UCOL_EQUAL; in compareTo()
Ducol.cpp418 return UCOL_EQUAL; in ucol_strcollIter()
426 UTRACE_EXIT_VALUE_STATUS(UCOL_EQUAL, *status); in ucol_strcollIter()
427 return UCOL_EQUAL; in ucol_strcollIter()
479 UTRACE_EXIT_VALUE_STATUS(UCOL_EQUAL, *status); in ucol_strcollUTF8()
480 return UCOL_EQUAL; in ucol_strcollUTF8()
523 == UCOL_EQUAL); in ucol_equal()
Dcoll.cpp525 return UCOL_EQUAL; in compare()
532 return UCOL_EQUAL; in compareUTF8()
544 return (compare(source, target, ec) == UCOL_EQUAL); in equals()
990 if(U_FAILURE(errorCode)) { return UCOL_EQUAL; } in internalCompareUTF8()
993 return UCOL_EQUAL; in internalCompareUTF8()
Dcollationfastlatin.cpp340 if(CollationSettings::getStrength(options) <= UCOL_SECONDARY) { return UCOL_EQUAL; } in compareUTF16()
399 if(CollationSettings::getStrength(options) <= UCOL_TERTIARY) { return UCOL_EQUAL; } in compareUTF16()
444 return UCOL_EQUAL; in compareUTF16()
691 if(CollationSettings::getStrength(options) <= UCOL_SECONDARY) { return UCOL_EQUAL; } in compareUTF8()
750 if(CollationSettings::getStrength(options) <= UCOL_TERTIARY) { return UCOL_EQUAL; } in compareUTF8()
795 return UCOL_EQUAL; in compareUTF8()
Dalphaindex.cpp105 if (cmp == UCOL_EQUAL) { in binarySearch()
930 emptyString_, status) == UCOL_EQUAL) { in init()
/external/icu/icu4c/source/test/intltest/
Dapicoll.cpp105 … doAssert((col->compare("","",success) == UCOL_EQUAL), "Comparison between empty strings failed"); in TestProperty()
579 …doAssert(sortk2.compareTo(sortk3, success) == UCOL_EQUAL, "Result should be \"abcda\" == \"abcda\"… in TestCollationKey()
582 …doAssert(sortkEmpty.compareTo(sortkEmpty, success) == UCOL_EQUAL, "Result should be (empty key) ==… in TestCollationKey()
996 doAssert((col->compare(test1, test2, success) == UCOL_EQUAL), "Problem"); in TestCompare()
998 doAssert((col->compare(t1, t1Len, t2, t2Len, success) == UCOL_EQUAL), "Problem"); in TestCompare()
1000 doAssert((col->compare(test1, test2, t1Len, success) == UCOL_EQUAL), "Problem"); in TestCompare()
1576 …assertEquals("empty==dollar", (int32_t)UCOL_EQUAL, (int32_t)coll->compare(UnicodeString(), dollar)… in TestVariableTopSetting()
1577 assertEquals("empty==euro", (int32_t)UCOL_EQUAL, (int32_t)coll->compare(UnicodeString(), euro)); in TestVariableTopSetting()
1613 …assertEquals("empty==dollar", (int32_t)UCOL_EQUAL, (int32_t)coll->compare(UnicodeString(), Unicode… in TestMaxVariable()
1614 …assertEquals("empty==euro", (int32_t)UCOL_EQUAL, (int32_t)coll->compare(UnicodeString(), UnicodeSt… in TestMaxVariable()
[all …]
Dcollationtest.cpp311 if(order != UCOL_EQUAL) { in TestIllegalUTF8()
1519 if(order == UCOL_EQUAL) { in getDifferenceLevel()
1701 if(order != UCOL_EQUAL && expectedLevel != Collation::NO_LEVEL) { in checkCompareTwo()
1738 if(order != UCOL_EQUAL && expectedLevel != Collation::NO_LEVEL) { in checkCompareTwo()
1774 … UCollationResult expectedOrder = (relation == Collation::ZERO_LEVEL) ? UCOL_EQUAL : UCOL_LESS; in checkCompareStrings()
Ducaconf.cpp170 return result<0 ? UCOL_LESS : result==0 ? UCOL_EQUAL : UCOL_GREATER; in normalizeResult()
Dtscoll.cpp123 return UCOL_EQUAL; in compareUsingPartials()
/external/icu/icu4c/source/i18n/unicode/
Dcoll.h220 EQUAL = UCOL_EQUAL, // 0
Ducol.h75 UCOL_EQUAL = 0, enumerator
/external/icu/icu4c/source/test/perf/collationperf/
Dcollperf.cpp530 UCollationResult r = UCOL_EQUAL; in doBinarySearch()
553 r=UCOL_GREATER; if(ri<0) {r=UCOL_LESS;} else if (ri==0) {r=UCOL_EQUAL;} in doBinarySearch()
565 if (r== UCOL_EQUAL) in doBinarySearch()
/external/icu/libandroidicu/include/unicode/
Ducol.h75 UCOL_EQUAL = 0, enumerator
/external/icu/icu4c/source/test/perf/collperf/
Dcollperf.cpp290 return ucol_strcoll(da->col, da->icu_data, -1, db->icu_data, -1) - UCOL_EQUAL; in icu_strcoll_null()
295 …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